aboutsummaryrefslogtreecommitdiff
path: root/devel/cvsweb
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/cvsweb
parent413424ee99f55dc8d1d442dfc594daa157055a7b (diff)
downloadports-b47325edb2d93a726b151ae81f7ecd3c183f0565.tar.gz
ports-b47325edb2d93a726b151ae81f7ecd3c183f0565.zip
- 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/cvsweb')
-rw-r--r--devel/cvsweb/Makefile18
-rw-r--r--devel/cvsweb/pkg-descr2
2 files changed, 7 insertions, 13 deletions
diff --git a/devel/cvsweb/Makefile b/devel/cvsweb/Makefile
index 0fd25a760e19..7d567623576d 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:
diff --git a/devel/cvsweb/pkg-descr b/devel/cvsweb/pkg-descr
index e529dbba570c..22ac5a46e92b 100644
--- a/devel/cvsweb/pkg-descr
+++ b/devel/cvsweb/pkg-descr
@@ -11,4 +11,4 @@ brought it back to the FreeBSD community and made further
improvements.
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