From bb340c1e0e17a58966b3d5f5a019acad0cec1b3e Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Thu, 14 Nov 2002 07:56:53 +0000 Subject: [PATCH] Changed REINPLACE_CMD with SED since it needed to modify a file in files/ Noticed on: bento --- www/knowledgekit/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/www/knowledgekit/Makefile b/www/knowledgekit/Makefile index 9383d9659151..9287dea9074a 100644 --- a/www/knowledgekit/Makefile +++ b/www/knowledgekit/Makefile @@ -16,8 +16,6 @@ MAINTAINER= nbm@FreeBSD.org RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope -USE_REINPLACE= yes -USE_PERL5= yes NO_BUILD= YES PKGMESSAGE= ${WRKDIR}/.MESSAGE @@ -36,7 +34,8 @@ PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} do-install: @${CP} ${WRKSRC}/* \ ${ZOPEBASEDIR}/import - @${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#; s#%%VER%%#${PORTVERSION}#' ${FILESDIR}/MESSAGE > ${PKGMESSAGE} + @${SED} -e 's#%%PREFIX%%#${PREFIX}#; s#%%VER%%#${PORTVERSION}#' \ + ${FILESDIR}/MESSAGE > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} .include