summaryrefslogtreecommitdiff
path: root/dns/nslint/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2006-04-15 00:20:12 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2006-04-15 00:20:12 +0000
commit9678ac98669db37961dd335816b1bc41b233cf03 (patch)
treeb6ab825263226cc59a7f1810879fd36f720f6938 /dns/nslint/Makefile
parentMark as BROKEN on 4.x. (diff)
- Update to 2.1.a6
- Let the user define BOOTFILE (default: /etc/namedb/named.boot) - Let the user define CONFFILE (default: /etc/namedb/named.conf) - Fully respect CFLAGS - Remove two patches - Add an additional master site - Adopt this port
Notes
Notes: svn path=/head/; revision=159530
Diffstat (limited to 'dns/nslint/Makefile')
-rw-r--r--dns/nslint/Makefile21
1 files changed, 17 insertions, 4 deletions
diff --git a/dns/nslint/Makefile b/dns/nslint/Makefile
index 37ad53c26da9..3782160db054 100644
--- a/dns/nslint/Makefile
+++ b/dns/nslint/Makefile
@@ -6,18 +6,31 @@
#
PORTNAME= nslint
-PORTVERSION= 2.1.a3
+PORTVERSION= 2.1.a6
CATEGORIES= dns
-MASTER_SITES= ftp://ftp.ee.lbl.gov/
+MASTER_SITES= ftp://ftp.ee.lbl.gov/ \
+ http://critical.ch/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a/a/}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Perform consistency checks on DNS zone files
GNU_CONFIGURE= yes
-ALL_TARGET= nslint
+
+ALL_TARGET= ${PORTNAME}
INSTALL_TARGET= install install-man
+
+BOOTFILE?= /etc/namedb/named.boot
+CONFFILE?= /etc/namedb/named.conf
+
MAN8= nslint.8
PLIST_FILES= bin/nslint
+post-patch:
+ ${REINPLACE_CMD} -e '/^\ \{4\}V_CCOPT/d' ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's|/etc/named.boot|${BOOTFILE}|; \
+ s|/etc/named.conf|${CONFFILE}|' \
+ ${WRKSRC}/${PORTNAME}.c \
+ ${WRKSRC}/${MAN8}
+
.include <bsd.port.mk>