Index: print/ghostscript/MESSAGE =================================================================== RCS file: print/ghostscript/MESSAGE diff -N print/ghostscript/MESSAGE --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ print/ghostscript/MESSAGE 19 Jan 2011 14:13:23 -0000 @@ -0,0 +1,12 @@ +=========================================================================== +$NetBSD$ +To customize cidfmap, copy + ${GS_RESOURCEDIR}/Init/cidfmap.dist +to + ${GS_RESOURCEDIR}/Init/cidfmap +and modify it. + +Please note that the above statement only applies when the option +disable-compile-inits selected while build time. Otherwise you may +set GS_LIB environment variable to give search path for setup files. +=========================================================================== Index: print/ghostscript/Makefile =================================================================== RCS file: /e/cvsync/cvsync/pkgsrc/print/ghostscript/Makefile,v retrieving revision 1.83 diff -u -r1.83 Makefile --- print/ghostscript/Makefile 13 Jan 2011 13:36:06 -0000 1.83 +++ print/ghostscript/Makefile 19 Jan 2011 14:09:23 -0000 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.83 2011/01/13 13:36:06 wiz Exp $ +# $NetBSD: Makefile,v 1.82 2010/11/23 11:10:15 tron Exp $ DISTNAME= ghostscript-8.71 -PKGREVISION= 7 +PKGREVISION= 8 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/} MASTER_SITES+= http://ghostscript.com/releases/ @@ -32,6 +32,8 @@ REPLACE_PERL+= lib/fixmswrd.pl GS_RESOURCEDIR= ${PREFIX}/share/ghostscript/${PKGVERSION}/Resource +# to substitute in MESSAGE filed +MESSAGE_SUBST+= GS_RESOURCEDIR=${GS_RESOURCEDIR} # XXX make sure the local jpeg headers are found before those pulled # in indirectly by cups bl3 @@ -78,6 +80,8 @@ ${RM} -rf ${WRKSRC}/libpng ${RM} -rf ${WRKSRC}/tiff # ${RM} -rf ${WRKSRC}/zlib +# To arrow outside customization, rename (logically empty) cidfmap + (cd ${WRKSRC}/Resource/Init/; ${MV} cidfmap cidfmap.dist) post-install: ${LN} -sf gsc ${DESTDIR}${PREFIX}/bin/gs Index: print/ghostscript/PLIST =================================================================== RCS file: /e/cvsync/cvsync/pkgsrc/print/ghostscript/PLIST,v retrieving revision 1.16 diff -u -r1.16 PLIST --- print/ghostscript/PLIST 23 Feb 2010 20:31:26 -0000 1.16 +++ print/ghostscript/PLIST 19 Jan 2011 07:56:52 -0000 @@ -378,7 +378,7 @@ share/ghostscript/${PKGVERSION}/Resource/Init/FCOfontmap-PCLPS2 share/ghostscript/${PKGVERSION}/Resource/Init/Fontmap share/ghostscript/${PKGVERSION}/Resource/Init/Fontmap.GS -share/ghostscript/${PKGVERSION}/Resource/Init/cidfmap +share/ghostscript/${PKGVERSION}/Resource/Init/cidfmap.dist share/ghostscript/${PKGVERSION}/Resource/Init/gs_agl.ps share/ghostscript/${PKGVERSION}/Resource/Init/gs_btokn.ps share/ghostscript/${PKGVERSION}/Resource/Init/gs_cet.ps Index: print/ghostscript/options.mk =================================================================== RCS file: /e/cvsync/cvsync/pkgsrc/print/ghostscript/options.mk,v retrieving revision 1.11 diff -u -r1.11 options.mk --- print/ghostscript/options.mk 23 Dec 2010 11:44:54 -0000 1.11 +++ print/ghostscript/options.mk 19 Jan 2011 07:56:21 -0000 @@ -1,7 +1,7 @@ # $NetBSD: options.mk,v 1.11 2010/12/23 11:44:54 dsainty Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.ghostscript -PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig +PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig disable-compile-inits PKG_SUGGESTED_OPTIONS= x11 fontconfig .include "../../mk/bsd.options.mk" @@ -46,3 +46,7 @@ .else CONFIGURE_ARGS+= --disable-fontconfig .endif + +.if !empty(PKG_OPTIONS:Mdisable-compile-inits) +CONFIGURE_ARGS+= --disable-compile-inits +.endif