aboutsummaryrefslogtreecommitdiffstats
path: root/dns/ldns
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-01-29 01:49:34 +0800
committermiwi <miwi@FreeBSD.org>2012-01-29 01:49:34 +0800
commit67210c63dde648d94aae9d7e35a391262d1aa1e0 (patch)
tree36398e665ce02c4dc2a9e1aeb6ca5d4c5a3daa3b /dns/ldns
parent1d2de8065faf232765638fec736ffb34f847670f (diff)
downloadfreebsd-ports-graphics-67210c63dde648d94aae9d7e35a391262d1aa1e0.tar.gz
freebsd-ports-graphics-67210c63dde648d94aae9d7e35a391262d1aa1e0.tar.zst
freebsd-ports-graphics-67210c63dde648d94aae9d7e35a391262d1aa1e0.zip
- Update to 1.6.12
PR: 164224 Submitted by: Jaap Akkerhuis <jaap@NLnetLabs.nl>
Diffstat (limited to 'dns/ldns')
-rw-r--r--dns/ldns/Makefile23
-rw-r--r--dns/ldns/distinfo4
2 files changed, 15 insertions, 12 deletions
diff --git a/dns/ldns/Makefile b/dns/ldns/Makefile
index 300bf18687b..d2d0303c336 100644
--- a/dns/ldns/Makefile
+++ b/dns/ldns/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= ldns
-PORTVERSION= 1.6.11
-PORTREVISION= 1
+PORTVERSION= 1.6.12
CATEGORIES= dns
MASTER_SITES= http://www.nlnetlabs.nl/downloads/ldns/ \
CRITICAL
@@ -33,15 +32,10 @@ OPTIONS= DOCS "With documentation" Off \
.if defined(WITH_PYLDNS)
USE_PYTHON= yes
-.include "${PORTSDIR}/Mk/bsd.python.mk"
-CONFIGURE_ARGS+=--with-pyldns
-BUILD_DEPENDS+= ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
-INSTALL_TARGET+=install-pyldns
-PLIST_SUB+= PYLDNS=""
-.else
-PLIST_SUB+= PYLDNS="@comment "
.endif
+.include <bsd.port.pre.mk>
+
ALL_TARGET= all
INSTALL_TARGET= install-lib install-h
@@ -271,6 +265,15 @@ PLIST_SUB+= EXAMPLES="@comment "
CONFIGURE_ARGS+=--enable-ecdsa
.endif
+.if defined(WITH_PYLDNS)
+CONFIGURE_ARGS+=--with-pyldns
+BUILD_DEPENDS+= ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
+INSTALL_TARGET+=install-pyldns
+PLIST_SUB+= PYLDNS=""
+.else
+PLIST_SUB+= PYLDNS="@comment "
+.endif
+
post-configure:
.if defined(WITH_EXAMPLES)
@(cd ${WRKSRC}/examples; ./configure --prefix=${PREFIX} \
@@ -299,4 +302,4 @@ post-install:
@(cd ${WRKSRC}/drill; ${GMAKE} install)
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/dns/ldns/distinfo b/dns/ldns/distinfo
index 8a2633d06dd..859585f8bbd 100644
--- a/dns/ldns/distinfo
+++ b/dns/ldns/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ldns-1.6.11.tar.gz) = 6891b8ea8e9ded3e7d2caaaf494a8c2459bab729cdd1716f6db2ba375f628888
-SIZE (ldns-1.6.11.tar.gz) = 1018369
+SHA256 (ldns-1.6.12.tar.gz) = b966787510a169ca0ed78f9a8a5de01fb309909575e721ead92095d4677aa51c
+SIZE (ldns-1.6.12.tar.gz) = 1057607