Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= unbound |
8 |
PORTNAME= unbound |
9 |
PORTVERSION= 0.11 |
9 |
PORTVERSION= 1.0.0 |
10 |
PORTREVISION= 2 |
|
|
11 |
CATEGORIES= dns |
10 |
CATEGORIES= dns |
12 |
MASTER_SITES= http://unbound.net/downloads/ |
11 |
MASTER_SITES= http://unbound.net/downloads/ |
13 |
|
12 |
|
Lines 15-24
Link Here
|
15 |
COMMENT= A validating, recursive, and caching DNS resolver |
14 |
COMMENT= A validating, recursive, and caching DNS resolver |
16 |
|
15 |
|
17 |
USE_GMAKE= yes |
16 |
USE_GMAKE= yes |
|
|
17 |
USE_OPENSSL= yes |
18 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
|
|
19 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
20 |
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} |
19 |
USE_LDCONFIG= yes |
21 |
USE_LDCONFIG= yes |
20 |
|
22 |
|
21 |
USE_RC_SUBR= unbound |
23 |
USE_RC_SUBR= unbound |
|
|
24 |
PORTDOCS= CREDITS Changelog FEATURES LICENSE README README.svn \ |
25 |
README.tests TODO plan requirements.txt |
22 |
|
26 |
|
23 |
MAN1= unbound-host.1 |
27 |
MAN1= unbound-host.1 |
24 |
MAN3= libunbound.3 |
28 |
MAN3= libunbound.3 |
Lines 35-43
Link Here
|
35 |
|
39 |
|
36 |
.if defined(WITH_LIBEVENT) |
40 |
.if defined(WITH_LIBEVENT) |
37 |
LIB_DEPENDS+= event:${PORTSDIR}/devel/libevent |
41 |
LIB_DEPENDS+= event:${PORTSDIR}/devel/libevent |
38 |
CONFIGURE_ARGS+= --with-libevent=${PREFIX} |
42 |
CONFIGURE_ARGS+= --with-libevent=${LOCALBASE} |
|
|
43 |
.else |
44 |
CONFIGURE_ARGS+= --with-libevent=no |
39 |
.endif |
45 |
.endif |
40 |
|
46 |
|
|
|
47 |
# XXX broken, ldns in ports doesn't have ldns_buffer_copy() |
48 |
# XXX use bundled ldns for now |
49 |
# .if defined(WITH_LDNS) |
50 |
# LIB_DEPENDS+= ldns:${PORTSDIR}/dns/ldns |
51 |
# CONFIGURE_ARGS+= --with-ldns=${LOCALBASE} |
52 |
# .else |
53 |
# CONFIGURE_ARGS+= --without-ldns |
54 |
# .endif |
41 |
post-patch: |
55 |
post-patch: |
42 |
@${REINPLACE_CMD} -e 's#/usr/local/etc/unbound/unbound.pid#/var/run/unbound/unbound.pid#' ${WRKSRC}/doc/example.conf ${WRKSRC}/doc/unbound.conf.5 |
56 |
@${REINPLACE_CMD} -e 's#/usr/local/etc/unbound/unbound.pid#/var/run/unbound/unbound.pid#' ${WRKSRC}/doc/example.conf ${WRKSRC}/doc/unbound.conf.5 |
43 |
|
57 |
|
Lines 46-50
Link Here
|
46 |
|
60 |
|
47 |
post-install: |
61 |
post-install: |
48 |
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
62 |
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
|
|
63 |
.if !defined(NOPORTDOCS) |
64 |
${MKDIR} ${DOCSDIR} |
65 |
.for F in ${PORTDOCS} |
66 |
( cd ${WRKSRC}/doc && ${INSTALL_DATA} ${F} ${DOCSDIR}/ ) |
67 |
.endfor |
68 |
.endif |
49 |
|
69 |
|
50 |
.include <bsd.port.post.mk> |
70 |
.include <bsd.port.post.mk> |