summaryrefslogtreecommitdiff
path: root/print/ghostscript-esp
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2004-07-13 13:40:35 +0000
committermarkd <markd@pkgsrc.org>2004-07-13 13:40:35 +0000
commitfb8ec2c95539041b4865466754df3d089a6497eb (patch)
tree340713ae260a69d5efca8e6d3fb53104ad644417 /print/ghostscript-esp
parent42a6ac4c163b43d7c1c96262e39a12754d886c5c (diff)
downloadpkgsrc-fb8ec2c95539041b4865466754df3d089a6497eb.tar.gz
ps2epsi needs to use "test -e" so substitute ${SH} for /bin/sh.
Fixes use on Solaris, no change on most other systems.
Diffstat (limited to 'print/ghostscript-esp')
-rw-r--r--print/ghostscript-esp/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/print/ghostscript-esp/Makefile.common b/print/ghostscript-esp/Makefile.common
index cf9605a0b97..7cf17556f47 100644
--- a/print/ghostscript-esp/Makefile.common
+++ b/print/ghostscript-esp/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.17 2004/06/26 20:51:19 recht Exp $
+# $NetBSD: Makefile.common,v 1.18 2004/07/13 13:40:35 markd Exp $
DISTNAME= espgs-${GS_VERS}-source
BASEGS_VERS= 7.07
@@ -90,6 +90,12 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/pstoraster/pxlmono.ppd ${CUPS_MODEL_DIR}
${INSTALL_DATA} ${WRKSRC}/pstoraster/pstoraster.convs ${CUPS_EGDIR}
+SUBST_CLASSES+= ps2epsi-sh
+SUBST_MESSAGE.ps2epsi-sh= "Fixing ps2epsi shell."
+SUBST_FILES.ps2epsi-sh= lib/ps2epsi
+SUBST_SED.ps2epsi-sh= -e 's|/bin/sh|${SH}|'
+SUBST_STAGE.ps2epsi-sh= post-patch
+
.include "../../security/openssl/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"