# $NetBSD: Makefile,v 1.53 2020/05/22 10:56:30 adam Exp $
PKGREVISION= 3
.include "Makefile.common"
PKGNAME= ${DISTNAME:S/pdns/powerdns/}
COMMENT= Modern, advanced and high performance nameserver
.include "options.mk"
CONFIGURE_ARGS+= --with-dynmodules=no
CONFIGURE_ARGS+= --with-modules="${PDNS_MODULES}"
RCD_SCRIPTS= pdns
SMF_NAME= pdns
EGDIR= ${PREFIX}/share/examples/pdns
CONF_FILES+= ${EGDIR}/pdns.conf-dist ${PKG_SYSCONFDIR}/pdns.conf
LDFLAGS.SunOS+= -lsocket -lnsl
INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR}
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>