aboutsummaryrefslogtreecommitdiff
path: root/devel/cvsweb3
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-07-27 16:06:25 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-07-27 16:06:25 +0000
commitb47325edb2d93a726b151ae81f7ecd3c183f0565 (patch)
treeaf6266e338105f6caa968f90afd0c4e98288d6f5 /devel/cvsweb3
parent413424ee99f55dc8d1d442dfc594daa157055a7b (diff)
- switch simple inline replacement from perl to sed
and remove where is no need in this anymore. - trim Makefile header Approved by: bapt@ (portmrg@)
Notes
Notes: svn path=/head/; revision=323795
Diffstat (limited to 'devel/cvsweb3')
-rw-r--r--devel/cvsweb3/Makefile18
-rw-r--r--devel/cvsweb3/pkg-descr2
2 files changed, 7 insertions, 13 deletions
diff --git a/devel/cvsweb3/Makefile b/devel/cvsweb3/Makefile
index 41f1bd03770b..69e64068294b 100644
--- a/devel/cvsweb3/Makefile
+++ b/devel/cvsweb3/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= 3.0.6
@@ -79,14 +75,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:
diff --git a/devel/cvsweb3/pkg-descr b/devel/cvsweb3/pkg-descr
index 8eb3cce32ffc..37e0c506eead 100644
--- a/devel/cvsweb3/pkg-descr
+++ b/devel/cvsweb3/pkg-descr
@@ -11,4 +11,4 @@ brought it back to the FreeBSD community and made further
improvements. FreeBSD-CVSweb is currently maintained by Ville Skytta.
Author: The FreeBSD Project <freebsd-cvsweb at FreeBSD dot org>
-WWW: http://www.FreeBSD.org/projects/cvsweb.html
+WWW: http://www.FreeBSD.org/projects/cvsweb.html