blob: 190b0266212ea09cade3f9ab13ccdb32533b9030 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.10 2014/12/10 14:50:08 fhajny Exp $
.include "Makefile.common"
PKGNAME= ${DISTNAME:S/pdns/powerdns/}
COMMENT= Modern, advanced and high performance nameserver
.include "options.mk"
CONFIGURE_ARGS+= --with-modules="geo"
CONFIGURE_ARGS+= --with-dynmodules="${PDNS_MODULES}"
RCD_SCRIPTS= pdns
SMF_NAME= 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},'
LDFLAGS.SunOS+= -lsocket -lnsl
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|