svn commit: r365145 - in head/devel/cvsweb3: . files
John Marino
marino at FreeBSD.org
Sun Aug 17 00:30:19 UTC 2014
Author: marino
Date: Sun Aug 17 00:30:18 2014
New Revision: 365145
URL: http://svnweb.freebsd.org/changeset/ports/365145
QAT: https://qat.redports.org/buildarchive/r365145/
Log:
devel/cvsweb3: Update cvsweb3.cgi for newer versions of perl
Remove patch to cvsweb3.cgi and implement all the necessary changes
only with sed which is already being used and shebangfix. This change to
the qw line is needed for the recent versions of perl.
PR: 192712
Submitted by: Dennis Glatting
Approved by: Just Fix It
Deleted:
head/devel/cvsweb3/files/patch-cvsweb.cgi
Modified:
head/devel/cvsweb3/Makefile
Modified: head/devel/cvsweb3/Makefile
==============================================================================
--- head/devel/cvsweb3/Makefile Sun Aug 17 00:03:32 2014 (r365144)
+++ head/devel/cvsweb3/Makefile Sun Aug 17 00:30:18 2014 (r365145)
@@ -3,7 +3,7 @@
PORTNAME= cvsweb
PORTVERSION= 3.0.6
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel www
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://people.FreeBSD.org/~scop/cvsweb/
@@ -30,7 +30,8 @@ RUN_DEPENDS+= enscript:${PORTSDIR}/print
CONFLICTS= cvsweb-2.*
-USES= perl5
+USES= perl5 shebangfix
+SHEBANG_FILES= cvsweb.cgi
NO_BUILD= yes
.include <bsd.port.pre.mk>
@@ -75,9 +76,8 @@ SUB_FILES= pkg-message
SUB_LIST= PREFIX="${PREFIX}" DOCSDIR="${DOCSDIR}"
post-patch:
- @${REINPLACE_CMD} -i '' -e 's,!!PERL!!,${PERL},' \
- -e 's,!!PREFIX!!,${PREFIX},' \
- ${WRKSRC}/cvsweb.cgi
+ @${SED} -i '' -e 's,/usr/local/etc/,${PREFIX}/etc/,' \
+ -e 's,\(qw(hi.*)\),(\1),' ${WRKSRC}/cvsweb.cgi
@${REINPLACE_CMD} -i '' -e 's,!!PREFIX!!,${PREFIX},' \
-e 's,!!CVSROOT!!,${CVSROOT},' \
-e 's,!!TITLE!!,${TITLE},' \
More information about the svn-ports-all
mailing list