aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-21 23:53:07 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-21 23:53:07 +0800
commitb02c40e0554e93ef189f31e1d96b716c366c870e (patch)
treed6b865fc61fd631204ccb73ff513f2659c15981d /net-mgmt
parentefe9cc19a13393d869b5f6a14ee21df0aeb42419 (diff)
downloadfreebsd-ports-gnome-b02c40e0554e93ef189f31e1d96b716c366c870e.tar.gz
freebsd-ports-gnome-b02c40e0554e93ef189f31e1d96b716c366c870e.tar.zst
freebsd-ports-gnome-b02c40e0554e93ef189f31e1d96b716c366c870e.zip
Support staging
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/iftop/Makefile19
1 files changed, 5 insertions, 14 deletions
diff --git a/net-mgmt/iftop/Makefile b/net-mgmt/iftop/Makefile
index 5f7dee04d9b3..861f31a662f8 100644
--- a/net-mgmt/iftop/Makefile
+++ b/net-mgmt/iftop/Makefile
@@ -12,26 +12,17 @@ COMMENT= Display bandwidth usage on an interface by host
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-resolver=netdb_1thread
-MAN8= iftop.8
-
-.if !defined(NOPORTDOCS)
PORTDOCS= README
-.endif
-PLIST_FILES= bin/iftop
+PLIST_FILES= bin/iftop man/man8/iftop.8.gz
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/configure
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MAN8PREFIX}/man/man8
-
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>