summaryrefslogtreecommitdiff
path: root/print/ghostscript-gnu/Makefile.common
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-13 22:27:11 +0000
committerjlam <jlam@pkgsrc.org>2002-09-13 22:27:11 +0000
commit389380f9aa854e4c6438a129145e5a1991cad7a3 (patch)
tree5750cb8ed9ef01467f2ed87d034a062c62fb7338 /print/ghostscript-gnu/Makefile.common
parent3591ad5b5469414b865a9d3c6662349cf535bf43 (diff)
downloadpkgsrc-389380f9aa854e4c6438a129145e5a1991cad7a3.tar.gz
Adjust ghostscript-gnu to find Resources in
${PREFIX}/share/ghostscript/Resources instead of in /Resources. Bump the PKGREVISION of all ghostscript-gnu packages.
Diffstat (limited to 'print/ghostscript-gnu/Makefile.common')
-rw-r--r--print/ghostscript-gnu/Makefile.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/print/ghostscript-gnu/Makefile.common b/print/ghostscript-gnu/Makefile.common
index eb6cff0dcf7..3ba85ef0706 100644
--- a/print/ghostscript-gnu/Makefile.common
+++ b/print/ghostscript-gnu/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2002/09/13 20:14:18 jlam Exp $
+# $NetBSD: Makefile.common,v 1.3 2002/09/13 22:27:11 jlam Exp $
DISTNAME= ghostscript-${GS_VERS}
GS_VERS= 7.05
@@ -67,6 +67,11 @@ post-extract:
${MKDIR} ${WRKSRC}/obj
${RM} -f ${WRKSRC}/jpeg
${LN} -s ${JPEG_WRKSRC} ${WRKSRC}/jpeg
+ cd ${WRKSRC}/lib; for file in gs_res.ps; do \
+ ${SED} -e "s|/Resource/|${RESOURCEDIR}/|g" \
+ $${file} > $${file}.fixed; \
+ ${MV} -f $${file}.fixed $${file}; \
+ done
# Reinstall the gs binary so that it's properly stripped.
post-install: