aboutsummaryrefslogtreecommitdiffstats
path: root/net/sniffit
diff options
context:
space:
mode:
Diffstat (limited to 'net/sniffit')
-rw-r--r--net/sniffit/Makefile16
-rw-r--r--net/sniffit/pkg-plist2
2 files changed, 8 insertions, 10 deletions
diff --git a/net/sniffit/Makefile b/net/sniffit/Makefile
index 989f1d1970d1..fbcbe31ec440 100644
--- a/net/sniffit/Makefile
+++ b/net/sniffit/Makefile
@@ -18,17 +18,13 @@ COMMENT= A packet sniffer program. For educational use
GNU_CONFIGURE= yes
ALL_TARGET=
-MAN5= sniffit.5
-MAN8= sniffit.8
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/sniffit ${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/sniffit.5 ${PREFIX}/man/man5
- ${INSTALL_MAN} ${WRKSRC}/sniffit.8 ${PREFIX}/man/man8
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/sniffit
- ${INSTALL_MAN} ${WRKSRC}/README.FIRST ${PREFIX}/share/doc/sniffit
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/sniffit ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/sniffit.5 ${STAGEDIR}${MANPREFIX}/man/man5
+ ${INSTALL_MAN} ${WRKSRC}/sniffit.8 ${STAGEDIR}${MANPREFIX}/man/man8
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/sniffit
+ ${INSTALL_MAN} ${WRKSRC}/README.FIRST \
+ ${STAGEDIR}${PREFIX}/share/doc/sniffit
.include <bsd.port.mk>
diff --git a/net/sniffit/pkg-plist b/net/sniffit/pkg-plist
index fa598f50d0d4..08d9bd16d659 100644
--- a/net/sniffit/pkg-plist
+++ b/net/sniffit/pkg-plist
@@ -1,3 +1,5 @@
sbin/sniffit
+man/man5/sniffit.5.gz
+man/man8/sniffit.8.gz
%%PORTDOCS%%share/doc/sniffit/README.FIRST
%%PORTDOCS%%@dirrm share/doc/sniffit