aboutsummaryrefslogtreecommitdiffstats
path: root/net/tcpstat
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-07 02:13:44 +0800
committerantoine <antoine@FreeBSD.org>2014-02-07 02:13:44 +0800
commit9ee04489ddf92fb6bf14e5d63024830afd7b1fb6 (patch)
treefd17400cac7747947271cb9a33fc6381dda2084e /net/tcpstat
parent9112dd98c46fbaa568d2302f68bd63342fee91b3 (diff)
downloadfreebsd-ports-gnome-9ee04489ddf92fb6bf14e5d63024830afd7b1fb6.tar.gz
freebsd-ports-gnome-9ee04489ddf92fb6bf14e5d63024830afd7b1fb6.tar.zst
freebsd-ports-gnome-9ee04489ddf92fb6bf14e5d63024830afd7b1fb6.zip
Stage support
Diffstat (limited to 'net/tcpstat')
-rw-r--r--net/tcpstat/Makefile12
-rw-r--r--net/tcpstat/pkg-plist4
2 files changed, 8 insertions, 8 deletions
diff --git a/net/tcpstat/Makefile b/net/tcpstat/Makefile
index b257b1904019..541e00ca9443 100644
--- a/net/tcpstat/Makefile
+++ b/net/tcpstat/Makefile
@@ -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>
diff --git a/net/tcpstat/pkg-plist b/net/tcpstat/pkg-plist
index dd33e6b4a6d5..05674e255078 100644
--- a/net/tcpstat/pkg-plist
+++ b/net/tcpstat/pkg-plist
@@ -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