aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript8
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2002-06-27 23:52:18 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2002-06-27 23:52:18 +0000
commita927175f9c36ef6ef678caa065493f9b5dfcfad2 (patch)
tree98793d6bebce109fb40126f0b05ab189819ce2bc /print/ghostscript8
parent9a3122ce1196572692bc26da8340eeeb1435fe38 (diff)
downloadports-a927175f9c36ef6ef678caa065493f9b5dfcfad2.tar.gz
ports-a927175f9c36ef6ef678caa065493f9b5dfcfad2.zip
PERL -> REINPLACE_CMD
PR: 39706 39708 39709 39710 Submitted by: Scott Flatman <sf@dsinw.com>
Notes
Notes: svn path=/head/; revision=62122
Diffstat (limited to 'print/ghostscript8')
-rw-r--r--print/ghostscript8/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index 5515938a93d2..9d58bf146a5c 100644
--- a/print/ghostscript8/Makefile
+++ b/print/ghostscript8/Makefile
@@ -54,6 +54,7 @@ NO_CDROM= "Can only be distributed for free"
WRKSRC= ${WRKDIR}/gs${PORTVERSION}
+USE_REINPLACE= yes
USE_BZIP2= yes
USE_GMAKE= yes
MAKE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS_STANDARD="${CFLAGS}" \
@@ -284,14 +285,14 @@ post-extract:
${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/${GDI_SRCS}
post-patch:
- ${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
+ ${REINPLACE_CMD} -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
${WRKSRC}/src/unix-gcc.mak
- ${PERL} -pi -e 's|\. de|\.|g' \
+ ${REINPLACE_CMD} -e 's|\. de|\.|g' \
${WRKSRC}/src/unixinst.mak
- ${PERL} -pi -e 's|%%DATADIR%%|${DATADIR}|g' \
+ ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' \
${WRKSRC}/lib/gs_res.ps
# for DMPRT driver
- ${PERL} -pi -e 's|%%DATADIR%%|${DATADIR}|g ; \
+ ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g ; \
s|%%GS_VERSION%%|${PORTVERSION}|g' \
${WRKSRC}/src/dmp_site.ps