summaryrefslogtreecommitdiffstats
path: root/devel/cvsweb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cvsweb/Makefile')
-rw-r--r--devel/cvsweb/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/devel/cvsweb/Makefile b/devel/cvsweb/Makefile
index 0fd25a7..7d56762 100644
--- a/devel/cvsweb/Makefile
+++ b/devel/cvsweb/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: cvsweb
-# Date created: 27 Jun 1999
-# Whom: SADA Kenji <sada@FreeBSD.org>
-#
+# Created by: SADA Kenji <sada@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= cvsweb
PORTVERSION= 2.0.6
@@ -55,14 +51,12 @@ SUB_FILES= pkg-message
SUB_LIST= PREFIX="${PREFIX}" DOCSDIR="${DOCSDIR}"
post-patch:
- ${PERL} -i -pe "\
- s'!!PERL!!'${PERL}'g; \
- s'!!PREFIX!!'${PREFIX}'g;" \
+ @${REINPLACE_CMD} -i '' -e 's,!!PERL!!,${PERL},' \
+ -e 's,!!PREFIX!!,${PREFIX},' \
${WRKSRC}/cvsweb.cgi
- ${PERL} -i -pe "\
- s'!!PREFIX!!'${PREFIX}'g; \
- s'!!CVSROOT!!'${CVSROOT}'g; \
- s'!!TITLE!!'${TITLE}'g;" \
+ @${REINPLACE_CMD} -i '' -e 's,!!PREFIX!!,${PREFIX},' \
+ -e 's,!!CVSROOT!!,${CVSROOT},' \
+ -e 's,!!TITLE!!,${TITLE},' \
${WRKSRC}/cvsweb.conf
do-install:
OpenPOWER on IntegriCloud