aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authoryoichi <yoichi@FreeBSD.org>2002-06-26 02:43:49 +0800
committeryoichi <yoichi@FreeBSD.org>2002-06-26 02:43:49 +0800
commit310f696eb6b0a098d3c58e66cd8ff9dc0571b525 (patch)
treebddd9fba1643947d83721adf2897d2f6c3eb4f6a /japanese
parent2e24cb013a4dff5e119d355c91b2622a00311b14 (diff)
downloadfreebsd-ports-gnome-310f696eb6b0a098d3c58e66cd8ff9dc0571b525.tar.gz
freebsd-ports-gnome-310f696eb6b0a098d3c58e66cd8ff9dc0571b525.tar.zst
freebsd-ports-gnome-310f696eb6b0a098d3c58e66cd8ff9dc0571b525.zip
Use REINPLACE_CMD
Diffstat (limited to 'japanese')
-rw-r--r--japanese/jyuroku/Makefile5
-rw-r--r--japanese/jyuroku/pkg-descr2
-rw-r--r--japanese/kpcal/Makefile3
3 files changed, 6 insertions, 4 deletions
diff --git a/japanese/jyuroku/Makefile b/japanese/jyuroku/Makefile
index d1ff43b3822d..77a21712fa93 100644
--- a/japanese/jyuroku/Makefile
+++ b/japanese/jyuroku/Makefile
@@ -17,9 +17,10 @@ MAINTAINER= yoichi@FreeBSD.org
ALL_TARGET=
USE_X_PREFIX= yes
USE_GTK= yes
+USE_REINPLACE= yes
-pre-build:
- ${PERL} -pi -e "s@gcc@${CC}@g; \
+post-patch:
+ ${REINPLACE_CMD} -e "s@gcc@${CC}@g; \
s@-g@${CFLAGS}@g; \
s@gtk-config@${GTK_CONFIG}@g" ${WRKSRC}/Makefile
diff --git a/japanese/jyuroku/pkg-descr b/japanese/jyuroku/pkg-descr
index a5c3d7abb942..3d1b19d4b054 100644
--- a/japanese/jyuroku/pkg-descr
+++ b/japanese/jyuroku/pkg-descr
@@ -1,3 +1,3 @@
Japanese address book software for X.
-WWW: http://member.nifty.ne.jp/seto-yoneji/ \ No newline at end of file
+WWW: http://member.nifty.ne.jp/seto-yoneji/
diff --git a/japanese/kpcal/Makefile b/japanese/kpcal/Makefile
index 098bcf7cc4f6..b3389bcad19e 100644
--- a/japanese/kpcal/Makefile
+++ b/japanese/kpcal/Makefile
@@ -19,11 +19,12 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= yoichi@FreeBSD.org
+USE_REINPLACE= yes
ALL_TARGET= kpcal
MAN1= kpcal.1
post-patch:
- ${PERL} -pi -e 's/long/time_t/' ${WRKSRC}/kpcal.c
+ ${REINPLACE_CMD} -e 's/long/time_t/' ${WRKSRC}/kpcal.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/kpcal ${LOCALBASE}/bin
${INSTALL_MAN} ${WRKSRC}/kpcal.1 ${LOCALBASE}/man/man1