diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-04 13:46:38 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-04 13:46:38 +0800 |
commit | 7dd6805c44bf98d4d64a54313e9f622fd7cb2656 (patch) | |
tree | 753b016f246dce9957c268962733d34c7e3eb7b7 /chinese | |
parent | c4fd09e68bc5c2ee1078b7b21b2ac0601f34aead (diff) | |
download | freebsd-ports-graphics-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.tar.gz freebsd-ports-graphics-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.tar.zst freebsd-ports-graphics-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.zip |
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/big5con/Makefile | 3 | ||||
-rw-r--r-- | chinese/cce/Makefile | 6 | ||||
-rw-r--r-- | chinese/hc/Makefile | 3 | ||||
-rw-r--r-- | chinese/zhcon/Makefile | 3 |
4 files changed, 10 insertions, 5 deletions
diff --git a/chinese/big5con/Makefile b/chinese/big5con/Makefile index e69f0040a9f..ee198857291 100644 --- a/chinese/big5con/Makefile +++ b/chinese/big5con/Makefile @@ -18,6 +18,7 @@ MAINTAINER= woju@freebsd.ee.ntu.edu.tw ONLY_FOR_ARCHS= i386 EXTRACT_ONLY= ${DISTNAME}.tgz +USE_REINPLACE= yes # With the help from pa@freebsd.ee.ntu.edu.tw # +0.92d use kc-fonts, whcih can be included in cdrom, instead of taipei-fonts. @@ -30,7 +31,7 @@ EXTRACT_ONLY= ${DISTNAME}.tgz .include <bsd.port.pre.mk> post-patch: .if ${OSVERSION} > 500012 - @${PERL} -pi -e 's,machine/console.h>,sys/consio.h>\n#include\t<sys/kbio.h>\n,' ${WRKSRC}/include/* ${WRKSRC}/src/* + @${REINPLACE_CMD} -e 's,machine/console.h>,sys/consio.h>\n#include\t<sys/kbio.h>\n,' ${WRKSRC}/include/* ${WRKSRC}/src/* .endif pre-install: @if [ ! -f ${PREFIX}/lib/fonts/kc16.smf ]; then \ diff --git a/chinese/cce/Makefile b/chinese/cce/Makefile index 0aab9d9bc1d..4a475bd7c2f 100644 --- a/chinese/cce/Makefile +++ b/chinese/cce/Makefile @@ -18,8 +18,10 @@ PATCH_DIST_ARGS= -d ${WRKSRC} -p1 MAINTAINER= statue@freebsd.sinica.edu.tw -MAN1= cce.1 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_REINPLACE= yes + +MAN1= cce.1 pre-configure: (cd ${WRKSRC} && ${LN} -fs Makefile.FreeBSD Makefile ) @@ -27,6 +29,6 @@ pre-configure: .include <bsd.port.pre.mk> post-patch: .if ${OSVERSION} > 500012 - @${FIND} ${WRKSRC}/src/ -name "*.c" | ${XARGS} ${PERL} -pi.bak -e 's,machine/console.h>,sys/consio.h>\n#include <sys/fbio.h>\n#include <sys/kbio.h>\n,' + @${FIND} ${WRKSRC}/src/ -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e 's,machine/console.h>,sys/consio.h>\n#include <sys/fbio.h>\n#include <sys/kbio.h>\n,' .endif .include <bsd.port.post.mk> diff --git a/chinese/hc/Makefile b/chinese/hc/Makefile index 7e737ac6b68..dc210192f17 100644 --- a/chinese/hc/Makefile +++ b/chinese/hc/Makefile @@ -16,13 +16,14 @@ DISTFILES= hc-30.tar.gz hc-supp.tab MAINTAINER= obrien@FreeBSD.org +USE_REINPLACE= yes WRKSRC= ${WRKDIR}/hc3 EXTRACT_ONLY= hc-30.tar.gz ALL_TARGET= hc b2g g2b MAN1= hc.1 pre-patch: - @${PERL} -pi -e 's|malloc.h|stdlib.h|' ${WRKSRC}/hclib.c + @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/hclib.c do-install: @${MKDIR} ${PREFIX}/share/chinese diff --git a/chinese/zhcon/Makefile b/chinese/zhcon/Makefile index 29db3c3bc81..0df5a24c7ae 100644 --- a/chinese/zhcon/Makefile +++ b/chinese/zhcon/Makefile @@ -19,6 +19,7 @@ LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-included-gettext=${LOCALBASE} USE_GMAKE= yes +USE_REINPLACE= yes MAN1= zhcon.1 @@ -26,7 +27,7 @@ MAN1= zhcon.1 post-patch: .if ${OSVERSION} > 500012 - @${FIND} ${WRKSRC}/src/ -name "*.cpp" | ${XARGS} ${PERL} -pi.bak -e 's,machine/console.h>,sys/consio.h>\n#include <sys/fbio.h>\n#include <sys/kbio.h>\n,' + @${FIND} ${WRKSRC}/src/ -name "*.cpp" | ${XARGS} ${REINPLACE_CMD} -e 's,machine/console.h>,sys/consio.h>\n#include <sys/fbio.h>\n#include <sys/kbio.h>\n,' .endif .include <bsd.port.post.mk> |