svn commit: r343131 - head/net/tcpstat

Antoine Brodin antoine at FreeBSD.org
Thu Feb 6 18:13:45 UTC 2014


Author: antoine
Date: Thu Feb  6 18:13:44 2014
New Revision: 343131
URL: http://svnweb.freebsd.org/changeset/ports/343131
QAT: https://qat.redports.org/buildarchive/r343131/

Log:
  Stage support

Modified:
  head/net/tcpstat/Makefile
  head/net/tcpstat/pkg-plist

Modified: head/net/tcpstat/Makefile
==============================================================================
--- head/net/tcpstat/Makefile	Thu Feb  6 18:05:58 2014	(r343130)
+++ head/net/tcpstat/Makefile	Thu Feb  6 18:13:44 2014	(r343131)
@@ -7,18 +7,16 @@ CATEGORIES=	net
 MASTER_SITES=	http://www.frenchfries.net/paul/tcpstat/
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	A program to report various network statistics
+COMMENT=	Program to report various network statistics
 
 GNU_CONFIGURE=	yes
-NO_STAGE=	yes
 
-MAN1=		tcpstat.1 tcpprof.1
 DOCS=		AUTHORS ChangeLog LICENSE README doc/Tips_and_Tricks.txt
 
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE=	DOCS
+
 post-install:
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/net/tcpstat/pkg-plist
==============================================================================
--- head/net/tcpstat/pkg-plist	Thu Feb  6 18:05:58 2014	(r343130)
+++ head/net/tcpstat/pkg-plist	Thu Feb  6 18:13:44 2014	(r343131)
@@ -1,5 +1,7 @@
-bin/tcpstat
 bin/tcpprof
+bin/tcpstat
+man/man1/tcpprof.1.gz
+man/man1/tcpstat.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE


More information about the svn-ports-all mailing list