mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Changed REINPLACE_CMD with SED since it needed to modify a file in files/
Noticed on: bento
This commit is contained in:
parent
e28de47a8b
commit
bb340c1e0e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70085
@ -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 <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user