1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/dns/nslint/Makefile
2013-07-24 08:19:07 +00:00

33 lines
699 B
Makefile

# Created by: dglo@ssec.wisc.edu
# $FreeBSD$
PORTNAME= nslint
PORTVERSION= 3.1
CATEGORIES= dns
MASTER_SITES= ftp://ftp.ee.lbl.gov/ \
CRITICAL
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a/a/}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Perform consistency checks on DNS zone files
GNU_CONFIGURE= yes
ALL_TARGET= ${PORTNAME}
INSTALL_TARGET= install
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>