pkgsrc/net/nsd/Makefile

43 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.19 2004/02/16 22:51:23 wiz Exp $
2002-03-28 03:17:18 +01:00
DISTNAME= nsd-2.0.0
PKGREVISION= 1
2002-03-28 03:17:18 +01:00
CATEGORIES= net
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/
2002-03-28 03:17:18 +01:00
2003-07-18 00:50:55 +02:00
MAINTAINER= tech-pkg@NetBSD.org
2003-06-11 07:53:06 +02:00
HOMEPAGE= http://www.nlnetlabs.nl/nsd/index.html
COMMENT= Authoritative-only DNS server
BUILD_DEFS+= USE_INET6
.include "../../mk/bsd.prefs.mk"
GNU_CONFIGURE= yes
USE_BUILDLINK2= yes
CONFIGURE_ARGS= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=--enable-bind8-stats
CONFIGURE_ARGS+=--with-libwrap=${BUILDLINK_PREFIX.tcp_wrappers}
.if !defined(USE_INET6)
CONFIGURE_ARGS+=--disable-ipv6
.endif
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+=--with-pidfile=/var/run/nsd.pid
CONFIGURE_ARGS+=--with-user=named
CONFIGURE_ARGS+=--with-namedxfer=/usr/libexec/named-xfer
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/nsd
${INSTALL_DATA_DIR} ${PREFIX}/share/nsd/contrib
.for FILE in README RELNOTES DIFFERENCES LICENSE NSD-DATABASE TODO
${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/nsd
.endfor
.for FILE in README build-nsdzones.pl build-nsdzones.pl.README example-plugin.c
${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/nsd/contrib
.endfor
.include "../../security/tcp_wrappers/buildlink2.mk"
2002-03-28 03:17:18 +01:00
.include "../../mk/bsd.pkg.mk"