Lines 8-14
Link Here
|
8 |
PORTNAME= powerdns |
8 |
PORTNAME= powerdns |
9 |
PORTVERSION= 2.9.19 |
9 |
PORTVERSION= 2.9.19 |
10 |
CATEGORIES= dns ipv6 |
10 |
CATEGORIES= dns ipv6 |
11 |
MASTER_SITES= http://downloads.powerdns.com/releases/ |
11 |
MASTER_SITES= http://downloads.powerdns.com/releases/ \ |
|
|
12 |
http://mirrors.evolva.ro/powerdns.com/releases/ |
12 |
DISTNAME= pdns-${PORTVERSION} |
13 |
DISTNAME= pdns-${PORTVERSION} |
13 |
|
14 |
|
14 |
MAINTAINER= tremere@cainites.net |
15 |
MAINTAINER= tremere@cainites.net |
Lines 18-27
Link Here
|
18 |
|
19 |
|
19 |
USE_GMAKE= YES |
20 |
USE_GMAKE= YES |
20 |
USE_SUBMAKE= YES |
21 |
USE_SUBMAKE= YES |
21 |
USE_REINPLACE= YES |
|
|
22 |
USE_AUTOTOOLS= libtool:15 |
22 |
USE_AUTOTOOLS= libtool:15 |
23 |
INSTALLS_SHLIB= YES |
23 |
INSTALLS_SHLIB= YES |
24 |
CXXFLAGS+= -I${LOCALBASE}/include |
24 |
CXXFLAGS+= -I${LOCALBASE}/include |
25 |
LDFLAGS+= -L${LOCALBASE}/lib |
25 |
LDFLAGS+= -L${LOCALBASE}/lib |
26 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
26 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
27 |
CONFIGURE_ARGS+= --with-modules="${CONFIGURE_MODULES} pipe" \ |
27 |
CONFIGURE_ARGS+= --with-modules="${CONFIGURE_MODULES} pipe" \ |
Lines 38-55
Link Here
|
38 |
|
38 |
|
39 |
.include <bsd.port.pre.mk> |
39 |
.include <bsd.port.pre.mk> |
40 |
|
40 |
|
41 |
.if ${OSVERSION} >= 500037 |
41 |
USE_RC_SUBR+= pdns |
42 |
USE_RCORDER= pdns.sh |
|
|
43 |
RC_DIR= /etc/rc.d |
44 |
RC_SUFX= |
45 |
.else |
46 |
USE_RC_SUBR+= pdns.sh |
47 |
RC_DIR= ${PREFIX}/etc/rc.d |
48 |
RC_SUFX= .sh |
49 |
.endif |
50 |
|
51 |
PLIST_SUB+= RC_DIR=${RC_DIR} \ |
52 |
RC_SUFX=${RC_SUFX} |
53 |
|
42 |
|
54 |
# use user config if possible |
43 |
# use user config if possible |
55 |
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) |
44 |
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) |
Lines 102-112
Link Here
|
102 |
.endif |
91 |
.endif |
103 |
|
92 |
|
104 |
.if defined(POWERDNS_WITH_RECURSOR) |
93 |
.if defined(POWERDNS_WITH_RECURSOR) |
105 |
.if ${OSVERSION} >= 500037 |
94 |
USE_RC_SUBR+= pdns_recursor |
106 |
USE_RCORDER+= pdns_recursor.sh |
|
|
107 |
.else |
108 |
USE_RC_SUBR+= pdns_recursor.sh |
109 |
.endif |
110 |
CONFIGURE_ARGS+= --enable-recursor |
95 |
CONFIGURE_ARGS+= --enable-recursor |
111 |
PLIST_SUB+= RECURSOR="" |
96 |
PLIST_SUB+= RECURSOR="" |
112 |
.else |
97 |
.else |
Lines 118-124
Link Here
|
118 |
UCONTEXT!= ${AWK} '/setcontext/ { print "YES" }' \ |
103 |
UCONTEXT!= ${AWK} '/setcontext/ { print "YES" }' \ |
119 |
/usr/include/ucontext.h |
104 |
/usr/include/ucontext.h |
120 |
.if ${UCONTEXT} == "" |
105 |
.if ${UCONTEXT} == "" |
121 |
BROKEN= "setcontext for recursor not found or FreeBSD version lower than 5.0" |
106 |
BROKEN= setcontext for recursor not found or FreeBSD version lower than 5.0 |
122 |
.endif |
107 |
.endif |
123 |
.endif |
108 |
.endif |
124 |
.endif |
109 |
.endif |