diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-21 15:53:07 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-21 15:53:07 +0000 |
commit | eb463bb4855eef87855f5ed078f3e99da46ec795 (patch) | |
tree | d6b865fc61fd631204ccb73ff513f2659c15981d /net-mgmt/iftop/Makefile | |
parent | Support staging (diff) |
Support staging
Notes
Notes:
svn path=/head/; revision=345508
Diffstat (limited to '')
-rw-r--r-- | net-mgmt/iftop/Makefile | 19 |
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> |