PERL -> REINPLACE_CMD

PR:		ports/40505
Submitted by:	Scott Flatman <sf@dsinw.com>
Approved by:	maintainer
This commit is contained in:
Patrick Li 2002-07-13 02:39:28 +00:00
parent 6fb4074dab
commit 800d9c4c60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62886

View file

@ -13,6 +13,7 @@ MASTER_SITES= http://gladstone.uoregon.edu/~eanholt/dri/
MAINTAINER= eanholt@gladstone.uoregon.edu
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PKGMESSAGE= ${WRKSRC}/.MESSAGE
@ -36,7 +37,7 @@ pre-extract:
.endif
pre-patch:
${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/drm.sh
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/drm.sh
pre-install:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > \