From d5abb91dd6d337fa95d0d22c968658e5de667173 Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Thu, 10 Oct 2002 21:54:39 +0000 Subject: Use ${PERL5} instead of hard-coded /usr/bin/perl. --- textproc/diffsplit/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'textproc/diffsplit') 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 -- cgit v1.2.3