diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-03-20 18:28:17 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-03-20 18:28:17 +0000 |
commit | ac713d58f1df6c3eb55281a8593bf182a4749ce5 (patch) | |
tree | 6d73904abd5563dfa701663af5d64bcf78f9baff /net-mgmt/iftop | |
parent | 9dcc06472b52fd18a4ddeb7d09b249b0fa063867 (diff) | |
download | ports-ac713d58f1df6c3eb55281a8593bf182a4749ce5.tar.gz ports-ac713d58f1df6c3eb55281a8593bf182a4749ce5.zip |
- Utilize PLIST_FILES
Notes
Notes:
svn path=/head/; revision=104762
Diffstat (limited to 'net-mgmt/iftop')
-rw-r--r-- | net-mgmt/iftop/Makefile | 13 | ||||
-rw-r--r-- | net-mgmt/iftop/pkg-plist | 3 |
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%% |