aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ssync
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 13:46:38 +0800
committeredwin <edwin@FreeBSD.org>2002-11-04 13:46:38 +0800
commit7dd6805c44bf98d4d64a54313e9f622fd7cb2656 (patch)
tree753b016f246dce9957c268962733d34c7e3eb7b7 /sysutils/ssync
parentc4fd09e68bc5c2ee1078b7b21b2ac0601f34aead (diff)
downloadfreebsd-ports-gnome-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.tar.gz
freebsd-ports-gnome-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.tar.zst
freebsd-ports-gnome-7dd6805c44bf98d4d64a54313e9f622fd7cb2656.zip
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
Diffstat (limited to 'sysutils/ssync')
-rw-r--r--sysutils/ssync/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/ssync/Makefile b/sysutils/ssync/Makefile
index e067ce9bf137..1129058a2b2b 100644
--- a/sysutils/ssync/Makefile
+++ b/sysutils/ssync/Makefile
@@ -15,14 +15,15 @@ MAINTAINER= nyxo@dnuc.polyn.kiae.su
ALL_TARGET= default
USE_GMAKE= yes
MAKEFILE= makefile
+USE_REINPLACE= yes
MAN1= ssync.1
post-patch:
- @${PERL} -pi -e 's@/etc/init.d/ssyncd@\$$0@g' ${WRKSRC}/ssyncd.init
- @${PERL} -pi -e "s@/etc@${PREFIX}/etc@g;s@/usr/sbin@${PREFIX}/sbin@g;" \
+ @${REINPLACE_CMD} -e 's@/etc/init.d/ssyncd@\$$0@g' ${WRKSRC}/ssyncd.init
+ @${REINPLACE_CMD} -e "s@/etc@${PREFIX}/etc@g;s@/usr/sbin@${PREFIX}/sbin@g;" \
${WRKSRC}/ssyncd.init ${WRKSRC}/ssyncd.conf ${WRKSRC}/daemon.c
- @${PERL} -pi -e "s@ +CFLAGS.+@@g; s@ +LDFLAGS.+@@g;" ${WRKSRC}/makefile
+ @${REINPLACE_CMD} -e "s@ +CFLAGS.+@@g; s@ +LDFLAGS.+@@g;" ${WRKSRC}/makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/ssync ${PREFIX}/bin/ssync