mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
34 lines
713 B
Makefile
34 lines
713 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
|
|
|
|
NO_STAGE= yes
|
|
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>
|