summaryrefslogtreecommitdiffstats
path: root/net/ddup
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-03 04:21:10 +0000
committeredwin <edwin@FreeBSD.org>2002-11-03 04:21:10 +0000
commit792264e4c8889a39351d2ac67b49dd1a1c4879b3 (patch)
tree1aa1be6b0d61ef617cf2f2037d3205354dbf2a26 /net/ddup
parenta39e3e70d1ae69874252f8c6a311a072ce79afd3 (diff)
downloadFreeBSD-ports-792264e4c8889a39351d2ac67b49dd1a1c4879b3.zip
FreeBSD-ports-792264e4c8889a39351d2ac67b49dd1a1c4879b3.tar.gz
use USE_REINPLACE instead of perl
Diffstat (limited to 'net/ddup')
-rw-r--r--net/ddup/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/ddup/Makefile b/net/ddup/Makefile
index ff14387..a6fd72c 100644
--- a/net/ddup/Makefile
+++ b/net/ddup/Makefile
@@ -13,6 +13,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-unix
MAINTAINER= ports@FreeBSD.Org
+USE_REINPLACE= yes
+
MAN1= ddup.1
MANCOMPRESSED= maybe
@@ -27,8 +29,8 @@ post-extract:
cd ${WRKSRC}; ${GUNZIP_CMD} ddup.1.gz
post-patch:
- ${PERL} -i -pe 's,!!PREFIX!!,${PREFIX},' ${WRKSRC}/ddupcron.sh
- ${PERL} -i -pe 's,/etc\b,${PREFIX}$$&,' ${WRKSRC}/ddup.1
+ @${REINPLACE_CMD} -e 's,!!PREFIX!!,${PREFIX},' ${WRKSRC}/ddupcron.sh
+ @${REINPLACE_CMD} -e 's,/etc\b,${PREFIX}$$&,' ${WRKSRC}/ddup.1
pre-build:
${CP} ${FILESDIR}/Makefile ${WRKSRC}/
OpenPOWER on IntegriCloud