summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
commit37f2224fa6a14520df830ae1daeba9b877daa347 (patch)
tree13d3d367b0967ab3adcc2ce528bfe1e770b4d48e /chinese
parent- reorder patches (diff)
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
Notes
Notes: svn path=/head/; revision=69436
Diffstat (limited to 'chinese')
-rw-r--r--chinese/big5con/Makefile3
-rw-r--r--chinese/cce/Makefile6
-rw-r--r--chinese/hc/Makefile3
-rw-r--r--chinese/zhcon/Makefile3
4 files changed, 10 insertions, 5 deletions
diff --git a/chinese/big5con/Makefile b/chinese/big5con/Makefile
index e69f0040a9fe..ee198857291a 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 0aab9d9bc1d1..4a475bd7c2ff 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 7e737ac6b68f..dc210192f17a 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 29db3c3bc81e..0df5a24c7ae6 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>