diff options
Diffstat (limited to 'dns/getdns')
-rw-r--r-- | dns/getdns/Makefile | 16 |
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> |