diff options
author | perky <perky@FreeBSD.org> | 2002-06-28 07:52:18 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2002-06-28 07:52:18 +0800 |
commit | 4eed417e8628539ccdb5d6b6d07941f87049b083 (patch) | |
tree | d5fbb2fe8db4749eaa3a7dd730be467925c4b2b2 | |
parent | 6f6e5d734c11305b6e53945e264c11172841839f (diff) | |
download | freebsd-ports-gnome-4eed417e8628539ccdb5d6b6d07941f87049b083.tar.gz freebsd-ports-gnome-4eed417e8628539ccdb5d6b6d07941f87049b083.tar.zst freebsd-ports-gnome-4eed417e8628539ccdb5d6b6d07941f87049b083.zip |
PERL -> REINPLACE_CMD
PR: 39706 39708 39709 39710
Submitted by: Scott Flatman <sf@dsinw.com>
-rw-r--r-- | print/ghostscript-afpl/Makefile | 9 | ||||
-rw-r--r-- | print/ghostscript-gnu/Makefile | 9 | ||||
-rw-r--r-- | print/ghostscript-gpl/Makefile | 9 | ||||
-rw-r--r-- | print/ghostscript7/Makefile | 9 | ||||
-rw-r--r-- | print/ghostscript8/Makefile | 9 | ||||
-rw-r--r-- | print/guitartex/Makefile | 3 | ||||
-rw-r--r-- | print/hpijs/Makefile | 7 |
7 files changed, 31 insertions, 24 deletions
diff --git a/print/ghostscript-afpl/Makefile b/print/ghostscript-afpl/Makefile index 5515938a93d2..9d58bf146a5c 100644 --- a/print/ghostscript-afpl/Makefile +++ b/print/ghostscript-afpl/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 diff --git a/print/ghostscript-gnu/Makefile b/print/ghostscript-gnu/Makefile index 355c51064254..da7d37385248 100644 --- a/print/ghostscript-gnu/Makefile +++ b/print/ghostscript-gnu/Makefile @@ -51,6 +51,7 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png +USE_REINPLACE= yes USE_BZIP2= yes USE_GMAKE= yes MAKE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS_STANDARD="${CFLAGS}" \ @@ -279,14 +280,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 diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile index 5515938a93d2..9d58bf146a5c 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 diff --git a/print/ghostscript7/Makefile b/print/ghostscript7/Makefile index 355c51064254..da7d37385248 100644 --- a/print/ghostscript7/Makefile +++ b/print/ghostscript7/Makefile @@ -51,6 +51,7 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png +USE_REINPLACE= yes USE_BZIP2= yes USE_GMAKE= yes MAKE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS_STANDARD="${CFLAGS}" \ @@ -279,14 +280,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 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 diff --git a/print/guitartex/Makefile b/print/guitartex/Makefile index bad03fece1ce..69bd377ddaba 100644 --- a/print/guitartex/Makefile +++ b/print/guitartex/Makefile @@ -17,11 +17,12 @@ MAINTAINER= ports@FreeBSD.org RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk \ latex:${PORTSDIR}/print/latex +USE_REINPLACE= yes USE_PERL5= yes NO_BUILD= yes post-patch: - @${PERL} -pi -e "s,\"(.*\.gif)\",\"${DATADIR}/\1\",g" ${WRKSRC}/guitartex + @${REINPLACE_CMD} -e "s,\"\(.*\.gif\)\",\"${DATADIR}/\1\",g" ${WRKSRC}/guitartex do-install: ${INSTALL_SCRIPT} ${WRKSRC}/guitartex ${PREFIX}/bin diff --git a/print/hpijs/Makefile b/print/hpijs/Makefile index 9083990d7708..37acda593b4d 100644 --- a/print/hpijs/Makefile +++ b/print/hpijs/Makefile @@ -18,6 +18,7 @@ LIB_DEPENDS= ijs.1:${PORTSDIR}/print/libijs IJS_CONFIG?= ${LOCALBASE}/bin/ijs-config +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" @@ -25,14 +26,14 @@ CPPFLAGS= `${IJS_CONFIG} --cflags` LDFLAGS= `${IJS_CONFIG} --libs` post-patch: - @${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \ + @${REINPLACE_CMD} -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \ s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS"|g' \ ${WRKSRC}/configure - @${PERL} -pi -e 's| ijs.[cho]||g ; \ + @${REINPLACE_CMD} -e 's| ijs.[cho]||g ; \ s| ijs_client.h||g ; \ s| ijs_server.[cho]||g ; \ s| ijs_exec_unix.[co]||g' ${WRKSRC}/Makefile.in - @${PERL} -pi -e 's|#include <malloc.h>||g' ${WRKSRC}/platform.h + @${REINPLACE_CMD} -e 's|#include <malloc.h>||g' ${WRKSRC}/platform.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hpijs ${PREFIX}/bin |