mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Use ${PERL5} instead of hard-coded /usr/bin/perl.
This commit is contained in:
parent
f82eb43524
commit
d5abb91dd6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67781
@ -20,10 +20,17 @@ NO_WRKSUBDIR= YES
|
||||
PLIST= ${WRKDIR}/pkg-plist
|
||||
USE_PERL5= YES
|
||||
|
||||
do-extract:
|
||||
${MKDIR} ${WRKDIR}
|
||||
${CP} ${DISTDIR}/${DIST_SUBDIR}/diffsplit ${WRKDIR}
|
||||
|
||||
do-patch:
|
||||
${PERL} -pi -e "s:/usr/bin/perl:${PERL5}:g" ${WRKDIR}/diffsplit
|
||||
|
||||
pre-install:
|
||||
${ECHO_CMD} bin/diffsplit > ${PLIST}
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${DISTDIR}/${DIST_SUBDIR}/diffsplit ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/diffsplit ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user