aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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