1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/dns/nslint/Makefile
2013-10-22 21:30:14 +00:00

32 lines
710 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
PLIST_FILES= bin/nslint man/man8/nslint.8.gz
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}/${PORTNAME}.8
.include <bsd.port.mk>