summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-24 15:10:12 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-24 15:10:12 +0000
commitcb62ba3a0c2f3c18b4c79a4c0ff28935d3d899df (patch)
treee7464aef63eb4e1fcfbaf6975a4989b6989f734b
parent19e1bb2081c040c679ceeb9d9e103b3a9cec3529 (diff)
downloadfreebsd-ports-cb62ba3a0c2f3c18b4c79a4c0ff28935d3d899df.zip
Support staging
-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