Date: Sun, 17 Aug 2014 00:30:19 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365145 - in head/devel/cvsweb3: . files Message-ID: <201408170030.s7H0UJYU055012@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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},' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408170030.s7H0UJYU055012>