aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-24 23:10:12 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-24 23:10:12 +0800
commitd4eb332542af66896c4164c6643d34ed78dc0544 (patch)
treee7464aef63eb4e1fcfbaf6975a4989b6989f734b /net
parent8c11a3bf3665263972aed74bfb7f8f83d4352e17 (diff)
downloadfreebsd-ports-gnome-d4eb332542af66896c4164c6643d34ed78dc0544.tar.gz
freebsd-ports-gnome-d4eb332542af66896c4164c6643d34ed78dc0544.tar.zst
freebsd-ports-gnome-d4eb332542af66896c4164c6643d34ed78dc0544.zip
Support staging
Diffstat (limited to 'net')
-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