diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2002-10-10 21:54:39 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2002-10-10 21:54:39 +0000 |
commit | d5abb91dd6d337fa95d0d22c968658e5de667173 (patch) | |
tree | badb11243dadfb87f08dc61ddc6b6b5b4a89fe8e /textproc | |
parent | Update modules: servers, mysql, lpadmin, usermin. (diff) |
Use ${PERL5} instead of hard-coded /usr/bin/perl.
Notes
Notes:
svn path=/head/; revision=67781
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/diffsplit/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/diffsplit/Makefile b/textproc/diffsplit/Makefile index 810f8d8a1c4b..6350866b2bc3 100644 --- a/textproc/diffsplit/Makefile +++ b/textproc/diffsplit/Makefile @@ -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> |