aboutsummaryrefslogtreecommitdiff
path: root/dns/dnscap
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-08 12:28:41 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-08 12:28:41 +0000
commitc178eb6771565d62cdf7c2a7821d3257d81537c2 (patch)
treea59b0ba6e37f8d6083bb26f7c24918f33a2dfe29 /dns/dnscap
parent784d2a623e1d810bf348094e06268533dfad2c47 (diff)
downloadports-c178eb6771565d62cdf7c2a7821d3257d81537c2.tar.gz
ports-c178eb6771565d62cdf7c2a7821d3257d81537c2.zip
Do not install LICENSE to DOCSDIR
- Convert PORTDOCS=* to PLIST entries - Bump PORTREVISION for package change
Notes
Notes: svn path=/head/; revision=461215
Diffstat (limited to 'dns/dnscap')
-rw-r--r--dns/dnscap/Makefile6
-rw-r--r--dns/dnscap/pkg-plist2
2 files changed, 6 insertions, 2 deletions
diff --git a/dns/dnscap/Makefile b/dns/dnscap/Makefile
index 0bd8f43c03e4..ffc3b098290a 100644
--- a/dns/dnscap/Makefile
+++ b/dns/dnscap/Makefile
@@ -3,6 +3,7 @@
PORTNAME= dnscap
PORTVERSION= 1.7.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= dns
MASTER_SITES= https://www.dns-oarc.net/files/dnscap/ \
@@ -22,11 +23,12 @@ GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= libtool
-PORTDOCS= *
-
THREADS_CONFIGURE_ENABLE= threads
post-patch-DOCS-off:
@${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.in
+post-patch-DOCS-on:
+ @${REINPLACE_CMD} -e '/^dist_doc_DATA = / s| LICENSE||' ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>
diff --git a/dns/dnscap/pkg-plist b/dns/dnscap/pkg-plist
index 123a138abd09..c126c3123ea6 100644
--- a/dns/dnscap/pkg-plist
+++ b/dns/dnscap/pkg-plist
@@ -6,3 +6,5 @@ lib/dnscap/royparse.so
lib/dnscap/txtout.a
lib/dnscap/txtout.so
man/man1/dnscap.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
+%%PORTDOCS%%%%DOCSDIR%%/README.md