aboutsummaryrefslogtreecommitdiff
path: root/dns/dnscap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dns/dnscap/Makefile')
-rw-r--r--dns/dnscap/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/dns/dnscap/Makefile b/dns/dnscap/Makefile
index 0fcac211e3c3..31425db6885f 100644
--- a/dns/dnscap/Makefile
+++ b/dns/dnscap/Makefile
@@ -3,10 +3,9 @@
PORTNAME= dnscap
PORTVERSION= 1.8.0
+DISTVERSIONPREFIX= v
PORTEPOCH= 1
CATEGORIES= dns
-MASTER_SITES= https://www.dns-oarc.net/files/dnscap/ \
- LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= DNS network traffic capture utility
@@ -20,14 +19,18 @@ OPTIONS_DEFAULT=THREADS
CONFIGURE_ARGS= --enable-shared --enable-static
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-USES= libtool
+USES= autoreconf libtool
+
+GH_ACCOUNT= DNS-OARC
+GH_TUPLE= DNS-OARC:pcap-thread:v3.1.0:pcap/src/pcap-thread
+USE_GITHUB= yes
THREADS_CONFIGURE_ENABLE= threads
post-patch-DOCS-off:
- @${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.am
post-patch-DOCS-on:
- @${REINPLACE_CMD} -e '/^dist_doc_DATA = / s| LICENSE||' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e '/^dist_doc_DATA = / s| LICENSE||' ${WRKSRC}/Makefile.am
.include <bsd.port.mk>