From 0a9e5efb9de6b8811964b263c03b83ec89719f71 Mon Sep 17 00:00:00 2001 From: az Date: Sat, 27 Jul 2013 16:06:25 +0000 Subject: - switch simple inline replacement from perl to sed and remove where is no need in this anymore. - trim Makefile header Approved by: bapt@ (portmrg@) --- devel/cvsweb/Makefile | 18 ++++++------------ devel/cvsweb/pkg-descr | 2 +- 2 files changed, 7 insertions(+), 13 deletions(-) (limited to 'devel/cvsweb') 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 -# +# Created by: SADA Kenji # $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 -WWW: http://www.FreeBSD.org/projects/cvsweb.html +WWW: http://www.FreeBSD.org/projects/cvsweb.html -- cgit