Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2016 09:01:06 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420054 - head/net/tcpstat
Message-ID:  <201608110901.u7B916cK007245@repo.freebsd.org>

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



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