summaryrefslogtreecommitdiff
path: root/net-mgmt/iftop/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-20 18:28:17 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-20 18:28:17 +0000
commitac713d58f1df6c3eb55281a8593bf182a4749ce5 (patch)
tree6d73904abd5563dfa701663af5d64bcf78f9baff /net-mgmt/iftop/Makefile
parentUpdate to Vim 6.2 patchlevel 383 (diff)
- Utilize PLIST_FILES
Notes
Notes: svn path=/head/; revision=104762
Diffstat (limited to 'net-mgmt/iftop/Makefile')
-rw-r--r--net-mgmt/iftop/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/net-mgmt/iftop/Makefile b/net-mgmt/iftop/Makefile
index c5e065dba0cc..9499208a282a 100644
--- a/net-mgmt/iftop/Makefile
+++ b/net-mgmt/iftop/Makefile
@@ -14,14 +14,15 @@ MASTER_SITES= http://www.ex-parrot.com/~pdw/iftop/download/ \
MAINTAINER= krion@FreeBSD.org
COMMENT= Network utility for real-time bandwidth usage information
-USE_SIZE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_REINPLACE= yes
-DOCFILES= README
MAN8= iftop.8
+PORTDOCS= README
+PLIST_FILES= bin/iftop
+
.include <bsd.port.pre.mk>
post-patch:
@@ -30,13 +31,13 @@ post-patch:
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8
+ @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8
post-install:
.ifndef (NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
-.for doc in ${DOCFILES}
- @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
+.for i in README
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif