1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

PERL -> REINPLACE

Noticed on: bento
This commit is contained in:
Edwin Groothuis 2002-11-04 01:27:07 +00:00
parent 1c4ae2ac0e
commit 6eea723866
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69413

View File

@ -16,11 +16,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ENV= IRCLIB="${IRCLIB}"
USE_REINPLACE= yes
IRCLIB= ${PREFIX}/share/ninja
post-patch:
@${PERL} -e "s|%%IRCLIB%%|${IRCLIB}|g" ${WRKSRC}/include/config.h.dist
@${REINPLACE_CMD} -e "s|%%IRCLIB%%|${IRCLIB}|g" \
${WRKSRC}/include/config.h.dist
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ninja ${PREFIX}/bin