svn commit: r420054 - head/net/tcpstat

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Aug 11 09:01:07 UTC 2016


Author: amdmi3
Date: Thu Aug 11 09:01:05 2016
New Revision: 420054
URL: https://svnweb.freebsd.org/changeset/ports/420054

Log:
  - Add LICENSE_FILE
  - Switch to options helpers

Modified:
  head/net/tcpstat/Makefile

Modified: head/net/tcpstat/Makefile
==============================================================================
--- head/net/tcpstat/Makefile	Thu Aug 11 08:44:10 2016	(r420053)
+++ head/net/tcpstat/Makefile	Thu Aug 11 09:01:05 2016	(r420054)
@@ -10,19 +10,19 @@ MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Program to report various network statistics
 
 LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 GNU_CONFIGURE=	yes
 
 PLIST_FILES=	bin/tcpstat bin/tcpprof \
 		man/man1/tcpprof.1.gz man/man1/tcpstat.1.gz
-
 PORTDOCS=	*
 
-DOCS=		AUTHORS ChangeLog README doc/Tips_and_Tricks.txt
 OPTIONS_DEFINE=	DOCS
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog README doc/Tips_and_Tricks.txt \
+		${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list