diff options
author | perky <perky@FreeBSD.org> | 2002-06-27 23:52:18 +0000 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2002-06-27 23:52:18 +0000 |
commit | 4eed417e8628539ccdb5d6b6d07941f87049b083 (patch) | |
tree | d5fbb2fe8db4749eaa3a7dd730be467925c4b2b2 /print/ghostscript-gpl | |
parent | 6f6e5d734c11305b6e53945e264c11172841839f (diff) | |
download | FreeBSD-ports-4eed417e8628539ccdb5d6b6d07941f87049b083.zip FreeBSD-ports-4eed417e8628539ccdb5d6b6d07941f87049b083.tar.gz |
PERL -> REINPLACE_CMD
PR: 39706 39708 39709 39710
Submitted by: Scott Flatman <sf@dsinw.com>
Diffstat (limited to 'print/ghostscript-gpl')
-rw-r--r-- | print/ghostscript-gpl/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile index 5515938..9d58bf1 100644 --- a/print/ghostscript-gpl/Makefile +++ b/print/ghostscript-gpl/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 |