summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-13 22:27:11 +0000
committerjlam <jlam>2002-09-13 22:27:11 +0000
commit264683ac6b0df4af3c9568c530cb7c52f3ed4d82 (patch)
tree5750cb8ed9ef01467f2ed87d034a062c62fb7338 /print
parentbec1e176c06051107eec6c9239b9715181816d65 (diff)
downloadpkgsrc-264683ac6b0df4af3c9568c530cb7c52f3ed4d82.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')
-rw-r--r--print/ghostscript-gnu-nox11/Makefile3
-rw-r--r--print/ghostscript-gnu-x11/Makefile3
-rw-r--r--print/ghostscript-gnu/Makefile3
-rw-r--r--print/ghostscript-gnu/Makefile.common7
4 files changed, 12 insertions, 4 deletions
diff --git a/print/ghostscript-gnu-nox11/Makefile b/print/ghostscript-gnu-nox11/Makefile
index f1bcc355b48..da0085bdf83 100644
--- a/print/ghostscript-gnu-nox11/Makefile
+++ b/print/ghostscript-gnu-nox11/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/09/13 05:44:40 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2002/09/13 22:27:12 jlam Exp $
PKGNAME= ghostscript-gnu-nox11-${GS_VERS}
+PKGREVISION= 1
COMMENT= GNU Postscript interpreter without X11 drivers
CONFIGURE_ARGS+= --without-x
diff --git a/print/ghostscript-gnu-x11/Makefile b/print/ghostscript-gnu-x11/Makefile
index 98fb2f36908..919b6c12ef1 100644
--- a/print/ghostscript-gnu-x11/Makefile
+++ b/print/ghostscript-gnu-x11/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/09/13 20:11:06 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2002/09/13 22:27:12 jlam Exp $
PKGNAME= ghostscript-gnu-x11-${GS_VERS}
+PKGREVISION= 1
COMMENT= GNU Postscript interpreter with X11 and image drivers
USE_X11= # defined
diff --git a/print/ghostscript-gnu/Makefile b/print/ghostscript-gnu/Makefile
index 8c4155dd040..80aafcba121 100644
--- a/print/ghostscript-gnu/Makefile
+++ b/print/ghostscript-gnu/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/09/13 05:43:26 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2002/09/13 22:27:11 jlam Exp $
PKGNAME= ghostscript-gnu-${GS_VERS}
+PKGREVISION= 1
COMMENT= GNU Postscript interpreter
USE_X11= # defined
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: