aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1999-06-17 16:09:09 +0000
committerBill Fumerola <billf@FreeBSD.org>1999-06-17 16:09:09 +0000
commit18a505adb8c7561235872155a9b302ef968a4a37 (patch)
tree66fda677de6757265a5111e2e5b8af68c35b8dba /dns
parent6b7509ec768fd055e81e3c560637cd3d0da49c59 (diff)
downloadports-18a505adb8c7561235872155a9b302ef968a4a37.tar.gz
ports-18a505adb8c7561235872155a9b302ef968a4a37.zip
1. Make this port easier to upgrade later on.
2. Use the correct location of perl5
Notes
Notes: svn path=/head/; revision=19536
Diffstat (limited to 'dns')
-rw-r--r--dns/domtools/Makefile20
1 files changed, 15 insertions, 5 deletions
diff --git a/dns/domtools/Makefile b/dns/domtools/Makefile
index 5a7f14988f2c..7596d7dd8791 100644
--- a/dns/domtools/Makefile
+++ b/dns/domtools/Makefile
@@ -3,23 +3,33 @@
# Date created: 12 Jun 1999
# Whom: alexp
#
-# $Id: Makefile,v 1.1.1.1 1999/06/12 04:45:52 jmg Exp $
+# $Id: Makefile,v 1.1.1.1 1999/06/17 10:00:27 jmg Exp $
#
-DISTNAME= domtools1.4.0
-PKGNAME= domtools-1.4.0
+DISTNAME= domtools${VERSION}
+PKGNAME= domtools-${VERSION}
CATEGORIES= net
MASTER_SITES= http://www.domtools.com/pub/
MAINTAINER= veers@disturbed.net
-WRKSRC= ${WRKDIR}/domtools1.4.0/
-
USE_PERL5= YES
NO_BUILD= YES
+WRKSRC= ${WRKDIR}/domtools${VERSION}/
+VERSION= 1.4.0
+
+# XXX - patches/patch-aa modifies Makefile
+# and so does the post-patch target
+
+post-patch:
+
+ ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old
+ ${SED} -e 's#/usr/bin/perl#${PERL5}#' \
+ < ${WRKSRC}/Makefile.old > ${WRKSRC}/Makefile
post-install:
+
${MKDIR} ${PREFIX}/domtools/lib/zonecache
.include <bsd.port.mk>