diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-31 09:16:31 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-31 09:16:31 +0800 |
commit | 48d175eb38c4383c19935c4a399edb53da0a1ae7 (patch) | |
tree | 03864c6505ed5dc86df37af840ae3ca23017d516 /net-mgmt | |
parent | 0bb2bed0f4bf6d52f85c22ccb464df2faf6800ff (diff) | |
download | freebsd-ports-gnome-48d175eb38c4383c19935c4a399edb53da0a1ae7.tar.gz freebsd-ports-gnome-48d175eb38c4383c19935c4a399edb53da0a1ae7.tar.zst freebsd-ports-gnome-48d175eb38c4383c19935c4a399edb53da0a1ae7.zip |
- Add LICENSE_FILE
- Switch to USES=tar
- Switch to options helpers
- Add WWW
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/bpft/Makefile | 11 | ||||
-rw-r--r-- | net-mgmt/bpft/pkg-descr | 2 |
2 files changed, 7 insertions, 6 deletions
diff --git a/net-mgmt/bpft/Makefile b/net-mgmt/bpft/Makefile index f6720fd3c144..7b82031a7519 100644 --- a/net-mgmt/bpft/Makefile +++ b/net-mgmt/bpft/Makefile @@ -6,23 +6,22 @@ PORTVERSION= 4.20040506 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}4/${PORTNAME}4/${PORTNAME}4-snapshot DISTNAME= ${PORTNAME}4-2004-05-06 -EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= BPF Traffic collector LICENSE= GPLv2 # (or later) - -OPTIONS_DEFINE= DOCS +LICENSE_FILE= ${WRKSRC}/COPYING.GNU CONFLICTS= trafd-3.0.* +USES= tar:tgz WRKSRC= ${WRKDIR}/${PORTNAME} MAKE_ARGS= INSTALL_FILE="${INSTALL_DATA}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" MAKE_JOBS_UNSAFE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ @@ -39,10 +38,10 @@ post-patch: 's|<net/slip.h>|"../linux-include/net/slip.h"|' \ ${WRKSRC}/lib/interfaces.c -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README WhatsNew - (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include <bsd.port.mk> diff --git a/net-mgmt/bpft/pkg-descr b/net-mgmt/bpft/pkg-descr index ea5b88d3b3e1..6692c232a92f 100644 --- a/net-mgmt/bpft/pkg-descr +++ b/net-mgmt/bpft/pkg-descr @@ -1,3 +1,5 @@ The BPF Traffic collector Enhanced version of trafd (/usr/ports/net/trafd/) + +WWW: http://bpft4.sourceforge.net/ |