aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ssync
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 /sysutils/ssync
parent3ff37e385bb15e608586b24278ba3dde9ea57151 (diff)
downloadports-37f2224fa6a14520df830ae1daeba9b877daa347.tar.gz
ports-37f2224fa6a14520df830ae1daeba9b877daa347.zip
Notes
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