aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/diffsplit
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-10-11 05:54:39 +0800
committertrevor <trevor@FreeBSD.org>2002-10-11 05:54:39 +0800
commit7a3545edfad02a243d0065145500d21e3162e3e8 (patch)
tree4111062c5114fa358f0abe1d5e4a97a075395ad0 /textproc/diffsplit
parent544fb37b6a6cdc9cac8db1261981baff1c206b0f (diff)
downloadfreebsd-ports-gnome-7a3545edfad02a243d0065145500d21e3162e3e8.tar.gz
freebsd-ports-gnome-7a3545edfad02a243d0065145500d21e3162e3e8.tar.zst
freebsd-ports-gnome-7a3545edfad02a243d0065145500d21e3162e3e8.zip
Use ${PERL5} instead of hard-coded /usr/bin/perl.
Diffstat (limited to 'textproc/diffsplit')
-rw-r--r--textproc/diffsplit/Makefile9
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>