summaryrefslogtreecommitdiff
path: root/net-mgmt/iftop
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
parentUpdate to Vim 6.2 patchlevel 383 (diff)
- Utilize PLIST_FILES
Notes
Notes: svn path=/head/; revision=104762
Diffstat (limited to 'net-mgmt/iftop')
-rw-r--r--net-mgmt/iftop/Makefile13
-rw-r--r--net-mgmt/iftop/pkg-plist3
2 files changed, 7 insertions, 9 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
diff --git a/net-mgmt/iftop/pkg-plist b/net-mgmt/iftop/pkg-plist
deleted file mode 100644
index 4198288675c7..000000000000
--- a/net-mgmt/iftop/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/iftop
-%%PORTDOCS%%%%DOCSDIR%%/README
-@dirrm %%PORTDOCS%%%%DOCSDIR%%