Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 18:13:45 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343131 - head/net/tcpstat
Message-ID:  <201402061813.s16IDjqL059240@svn.freebsd.org>

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



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