summaryrefslogtreecommitdiff
path: root/dns/getdns/Makefile
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2016-01-29 03:22:27 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2016-01-29 03:22:27 +0000
commit17e5446e06a4982645b8fc4b4cf8c9711c4e31c1 (patch)
treeaf31185477f7ce9822fca4490af835f5fe75c261 /dns/getdns/Makefile
parentff5011faa248f65f1504a3188f818363a36e63c2 (diff)
downloadfreebsd-ports-17e5446e06a4982645b8fc4b4cf8c9711c4e31c1.zip
- Update to 0.9.0
Diffstat (limited to 'dns/getdns/Makefile')
-rw-r--r--dns/getdns/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/dns/getdns/Makefile b/dns/getdns/Makefile
index 9181b8c4be43..9bc64b19321c 100644
--- a/dns/getdns/Makefile
+++ b/dns/getdns/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= getdns
-PORTVERSION= 0.3.3
+PORTVERSION= 0.9.0
CATEGORIES= dns ipv6
MASTER_SITES= https://getdnsapi.net/dist/ \
https://mirrors.rit.edu/zi/ \
@@ -46,17 +46,14 @@ LIBEVENT_CONFIGURE_WITH=libevent
.include <bsd.port.options.mk>
post-patch:
+ ${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|' \
+ ${WRKSRC}/Makefile.in
${REINPLACE_CMD} -Ee 's,^(sharedoc = ).*,\1${WRKDIR}/doc,' \
-e '/echo .\*\*\*/d' ${WRKSRC}/Makefile.in
post-install:
-.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES}
- ${MKDIR} ${WRKDIR}/examples
- ${MV} ${WRKSRC}/spec/${PORTNAME}*gz ${WRKDIR}/examples/${PORTNAME}.tgz
-.endif
.if ${PORT_OPTIONS:MEXAMPLES}
- (cd ${WRKDIR}/examples && ${TAR} --strip-components=1 -xf ${PORTNAME}.tgz)
- (cd ${WRKDIR}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
+ (cd ${WRKSRC}/spec/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
.endif
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgetdns.so.*