aboutsummaryrefslogtreecommitdiffstats
path: root/dns/getdns
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-01-05 19:00:49 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-01-05 19:00:49 +0800
commitdf6fffc0f9b0d0a31a8f1f5158fc5be14c9f64c9 (patch)
treeddff58c3454f1e52edefc64841d48182b8a7ecac /dns/getdns
parentc81a1897fd396b1413a730faa436106ddef388a1 (diff)
downloadfreebsd-ports-gnome-df6fffc0f9b0d0a31a8f1f5158fc5be14c9f64c9.tar.gz
freebsd-ports-gnome-df6fffc0f9b0d0a31a8f1f5158fc5be14c9f64c9.tar.zst
freebsd-ports-gnome-df6fffc0f9b0d0a31a8f1f5158fc5be14c9f64c9.zip
Remove always-true/false conditions after 9.x, 10.[12] EOL
While here, couple minor fixes portmgr blanket
Diffstat (limited to 'dns/getdns')
-rw-r--r--dns/getdns/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/dns/getdns/Makefile b/dns/getdns/Makefile
index 4219764bb667..4ae98b6d9bf8 100644
--- a/dns/getdns/Makefile
+++ b/dns/getdns/Makefile
@@ -44,22 +44,14 @@ LIBUV_CONFIGURE_WITH= libuv
LIBEVENT_LIB_DEPENDS= libevent.so:devel/libevent2
LIBEVENT_CONFIGURE_WITH=libevent
-.include <bsd.port.options.mk>
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} <= 1000000
-CONFIGURE_ARGS+= --disable-gost
-.endif
-
post-patch:
${REINPLACE_CMD} -Ee 's,^(sharedoc = ).*,\1${WRKDIR}/doc,' \
-e '/echo .\*\*\*/d' ${WRKSRC}/Makefile.in
post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
- (cd ${WRKSRC}/spec/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
-.endif
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgetdns.so.*
-.include <bsd.port.post.mk>
+post-install-EXAMPLES-on:
+ (cd ${WRKSRC}/spec/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
+
+.include <bsd.port.mk>