Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2018 12:28:41 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461215 - head/dns/dnscap
Message-ID:  <201802081228.w18CSfSx085203@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802081228.w18CSfSx085203>