aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2002-10-10 21:54:39 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2002-10-10 21:54:39 +0000
commitd5abb91dd6d337fa95d0d22c968658e5de667173 (patch)
treebadb11243dadfb87f08dc61ddc6b6b5b4a89fe8e /textproc
parentf82eb43524353411b3ed148514c38249d17584c8 (diff)
downloadports-d5abb91dd6d337fa95d0d22c968658e5de667173.tar.gz
ports-d5abb91dd6d337fa95d0d22c968658e5de667173.zip
Notes
Diffstat (limited to 'textproc')
-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>