From eb463bb4855eef87855f5ed078f3e99da46ec795 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Fri, 21 Feb 2014 15:53:07 +0000 Subject: [PATCH] Support staging --- net-mgmt/iftop/Makefile | 19 +++++-------------- 1 file 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