svn commit: r461215 - head/dns/dnscap

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Feb 8 12:28:42 UTC 2018


Author: sunpoet
Date: Thu Feb  8 12:28:41 2018
New Revision: 461215
URL: https://svnweb.freebsd.org/changeset/ports/461215

Log:
  Do not install LICENSE to DOCSDIR
  
  - Convert PORTDOCS=* to PLIST entries
  - Bump PORTREVISION for package change

Modified:
  head/dns/dnscap/Makefile
  head/dns/dnscap/pkg-plist

Modified: head/dns/dnscap/Makefile
==============================================================================
--- head/dns/dnscap/Makefile	Thu Feb  8 12:05:05 2018	(r461214)
+++ head/dns/dnscap/Makefile	Thu Feb  8 12:28:41 2018	(r461215)
@@ -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>

Modified: head/dns/dnscap/pkg-plist
==============================================================================
--- head/dns/dnscap/pkg-plist	Thu Feb  8 12:05:05 2018	(r461214)
+++ head/dns/dnscap/pkg-plist	Thu Feb  8 12:28:41 2018	(r461215)
@@ -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


More information about the svn-ports-head mailing list