pkgsrc/net/powerdns/Makefile
ghen 8fabc7f19f Import net/powerdns, based on wip/pdns2 from pkgsrc-wip.
The PowerDNS nameserver is a modern, advanced and high performance
authoritative-only nameserver.  It is written from scratch and conforms
to all the relevant DNS standards documents.  PowerDNS is open source.

The PowerDNS nameserver utilizes a flexible backend architecture that
can access DNS information from any data source.  This includes file
formats, Bind zone files, relational databases or LDAP directories.

See the net/powerdns-* packages for additional backend modules.
2006-08-13 09:34:21 +00:00

24 lines
650 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2006/08/13 09:34:21 ghen Exp $
.include "Makefile.common"
PKGNAME= ${DISTNAME:S/pdns/powerdns/}
COMMENT= Modern, advanced and high performance nameserver
CONFIGURE_ARGS+= --with-modules="geo"
CONFIGURE_ARGS+= --with-dynmodules="pipe"
RCD_SCRIPTS= pdns
EGDIR= ${PREFIX}/share/examples/pdns
MAKE_ENV+= EGDIR=${EGDIR}
CONF_FILES+= ${EGDIR}/pdns.conf-dist ${PKG_SYSCONFDIR}/pdns.conf
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-install
SUBST_FILES.conf= pdns/pdns.conf-dist
SUBST_SED.conf= -e 's,@PREFIX@,${PREFIX},'
SUBST_SED.conf+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},'
.include "../../mk/bsd.pkg.mk"