blob: c86739d5320f3065cbbf1ff4f55c905453964dec (
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
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.1.1.1 2009/04/21 14:16:47 roy Exp $
#
DISTNAME= pdns-recursor-3.1.7
CATEGORIES= net
LICENSE= gnu-gpl-v2
MASTER_SITES= http://downloads.powerdns.com/releases/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= roy@NetBSD.org
HOMEPAGE= http://www.powerdns.com/
COMMENT= PowerDNS resolver/recursing nameserver
USE_TOOLS= gmake
USE_LANGUAGES= c c++
PKG_DESTDIR_SUPPORT= user-destdir
RCD_SCRIPTS+= pdns_recursor
EGDIR= ${PREFIX}/share/examples/pdns-recursor
BUILD_MAKE_FLAGS+= CONFIGDIR=${PKG_SYSCONFDIR} OPTFLAGS=
INSTALL_MAKE_FLAGS+= BINDIR=${PREFIX}/bin SBINDIR=${PREFIX}/sbin
INSTALL_MAKE_FLAGS+= CONFIGDIR=${EGDIR} MANDIR=${PREFIX}/${PKGMANDIR}
CONF_FILES+= ${EGDIR}/recursor.conf-dist \
${PKG_SYSCONFDIR}/recursor.conf
post-patch:
${SED} -e "s:/etc/powerdns:${PKG_SYSCONFDIR}:" \
${WRKSRC}/config.h >${WRKSRC}/config.h.new
${MV} ${WRKSRC}/config.h.new ${WRKSRC}/config.h
@# TODO Make kqueue work
@#${LN} -s FreeBSD.inc ${WRKSRC}/sysdeps/NetBSD.inc
${MV} ${WRKSRC}/pdns_recursor.1 ${WRKSRC}/pdns_recursor.8
${MV} ${WRKSRC}/rec_control.1 ${WRKSRC}/rec_control.8
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|