Mon Jan 6 07:23:26 2020 UTC ()
(print/ghostscript-agpl) Delete garbage from DESTDIR


(mef)
diff -r1.49 -r1.50 pkgsrc/print/ghostscript-agpl/Makefile

cvs diff -r1.49 -r1.50 pkgsrc/print/ghostscript-agpl/Makefile (expand / switch to unified diff)

--- pkgsrc/print/ghostscript-agpl/Makefile 2020/01/03 23:56:09 1.49
+++ pkgsrc/print/ghostscript-agpl/Makefile 2020/01/06 07:23:26 1.50
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.49 2020/01/03 23:56:09 sevan Exp $ 1# $NetBSD: Makefile,v 1.50 2020/01/06 07:23:26 mef Exp $
2 2
3DISTNAME= ghostscript-${GS_VERSION} 3DISTNAME= ghostscript-${GS_VERSION}
4PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-agpl/} 4PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-agpl/}
5PKGREVISION= 2 5PKGREVISION= 2
6CATEGORIES= print 6CATEGORIES= print
7MASTER_SITES= ${MASTER_SITE_GITHUB:=ArtifexSoftware/} 7MASTER_SITES= ${MASTER_SITE_GITHUB:=ArtifexSoftware/}
8GITHUB_PROJECT= ghostpdl-downloads 8GITHUB_PROJECT= ghostpdl-downloads
9GITHUB_RELEASE= gs${GS_VERSION:S/.//} 9GITHUB_RELEASE= gs${GS_VERSION:S/.//}
10EXTRACT_SUFX= .tar.xz 10EXTRACT_SUFX= .tar.xz
11 11
12MAINTAINER= pkgsrc-users@NetBSD.org 12MAINTAINER= pkgsrc-users@NetBSD.org
13HOMEPAGE= https://ghostscript.com/ 13HOMEPAGE= https://ghostscript.com/
14COMMENT= Postscript interpreter 14COMMENT= Postscript interpreter
@@ -95,26 +95,27 @@ post-extract: @@ -95,26 +95,27 @@ post-extract:
95 ${RM} -rf ${WRKSRC}/libpng 95 ${RM} -rf ${WRKSRC}/libpng
96 ${RM} -rf ${WRKSRC}/openjpeg 96 ${RM} -rf ${WRKSRC}/openjpeg
97 ${RM} -rf ${WRKSRC}/tiff 97 ${RM} -rf ${WRKSRC}/tiff
98 ${RM} -rf ${WRKSRC}/zlib 98 ${RM} -rf ${WRKSRC}/zlib
99 99
100# To allow outside customization, rename cidfmap 100# To allow outside customization, rename cidfmap
101# (if you look at inside of the file, it is logically empty) 101# (if you look at inside of the file, it is logically empty)
102.if !empty(PKG_OPTIONS:Mdisable-compile-inits) 102.if !empty(PKG_OPTIONS:Mdisable-compile-inits)
103 (cd ${WRKSRC}/Resource/Init/; ${MV} cidfmap cidfmap.dist) 103 (cd ${WRKSRC}/Resource/Init/; ${MV} cidfmap cidfmap.dist)
104.endif 104.endif
105 105
106post-install: 106post-install:
107 ${LN} -sf gsc ${DESTDIR}${PREFIX}/bin/gs 107 ${LN} -sf gsc ${DESTDIR}${PREFIX}/bin/gs
 108 ${RM} -f ${DESTDIR}${PREFIX}/share/ghostscript/${PKGVERSION_NOREV}/Resource/Init/gs_ttf.ps.orig
108 109
109.include "../../devel/libidn/buildlink3.mk" 110.include "../../devel/libidn/buildlink3.mk"
110.include "../../devel/zlib/buildlink3.mk" 111.include "../../devel/zlib/buildlink3.mk"
111BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.10.0 112BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.10.0
112.include "../../graphics/freetype2/buildlink3.mk" 113.include "../../graphics/freetype2/buildlink3.mk"
113# XXX: Strictly speaking jbig2dec>=0.16, however now jbig2dec is only checked 114# XXX: Strictly speaking jbig2dec>=0.16, however now jbig2dec is only checked
114# XXX: via pkg-config and jbig2dec-0.17 is the first version that provides a 115# XXX: via pkg-config and jbig2dec-0.17 is the first version that provides a
115# XXX: .pc file. 116# XXX: .pc file.
116BUILDLINK_API_DEPENDS.jbig2dec+= jbig2dec>=0.17 117BUILDLINK_API_DEPENDS.jbig2dec+= jbig2dec>=0.17
117.include "../../graphics/jbig2dec/buildlink3.mk" 118.include "../../graphics/jbig2dec/buildlink3.mk"
118.include "../../graphics/lcms2/buildlink3.mk" 119.include "../../graphics/lcms2/buildlink3.mk"
119.include "../../graphics/openjpeg/buildlink3.mk" 120.include "../../graphics/openjpeg/buildlink3.mk"
120.include "../../graphics/png/buildlink3.mk" 121.include "../../graphics/png/buildlink3.mk"