aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-02-06 18:13:44 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-02-06 18:13:44 +0000
commitd0e1209e1932a91594df1ff7fcba58bed36e1956 (patch)
treefd17400cac7747947271cb9a33fc6381dda2084e
parent7e2ad79b684fa469cafe03f8ab5385b784c600a6 (diff)
downloadports-d0e1209e1932a91594df1ff7fcba58bed36e1956.tar.gz
ports-d0e1209e1932a91594df1ff7fcba58bed36e1956.zip
Notes
-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