Lines 1-21
Link Here
|
1 |
PORTNAME= nfsen |
1 |
PORTNAME= nfsen |
2 |
PORTVERSION= 1.3.8 |
2 |
PORTVERSION= 1.3.11 |
3 |
PORTREVISION= 1 |
3 |
PORTREVISION= 0 |
|
|
4 |
DISTVERSIONPREFIX=v. |
4 |
CATEGORIES= net-mgmt |
5 |
CATEGORIES= net-mgmt |
5 |
MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION} \ |
|
|
6 |
http://nfsen.sourceforge.net/ |
7 |
|
6 |
|
8 |
MAINTAINER= ports@FreeBSD.org |
7 |
MAINTAINER= ports@FreeBSD.org |
9 |
COMMENT= Web based frontend to nfdump netflow collector |
8 |
COMMENT= Web based frontend to nfdump netflow collector |
10 |
WWW= http://nfsen.sourceforge.net/ |
9 |
WWW= https://github.com/phaag/nfsen |
11 |
|
10 |
|
12 |
LICENSE= BSD3CLAUSE |
11 |
LICENSE= BSD3CLAUSE |
13 |
LICENSE_FILE= ${WRKSRC}/BSD-license.txt |
12 |
LICENSE_FILE= ${WRKSRC}/BSD-license.txt |
14 |
|
13 |
|
|
|
14 |
USE_GITHUB= yes |
15 |
GH_ACCOUNT= phaag |
16 |
|
15 |
RUN_DEPENDS= rrdtool>=0:databases/rrdtool \ |
17 |
RUN_DEPENDS= rrdtool>=0:databases/rrdtool \ |
16 |
p5-Mail-Tools>=0:mail/p5-Mail-Tools \ |
18 |
p5-Mail-Tools>=0:mail/p5-Mail-Tools \ |
17 |
p5-Socket6>=0:net/p5-Socket6 \ |
19 |
p5-Socket6>=0:net/p5-Socket6 \ |
18 |
nfdump>=0:net-mgmt/nfdump |
20 |
nfdump>=1.7:net-mgmt/nfdump |
19 |
|
21 |
|
20 |
USES= cpe iconv shebangfix perl5 php |
22 |
USES= cpe iconv shebangfix perl5 php |
21 |
CPE_VENDOR= nfsen |
23 |
CPE_VENDOR= nfsen |
Lines 28-37
PLIST_SUB+= PORTNAME=${PORTNAME}
Link Here
|
28 |
PLIST_SUB+= NFSENOWN=${NFSENOWN} |
30 |
PLIST_SUB+= NFSENOWN=${NFSENOWN} |
29 |
USE_RC_SUBR= nfsen |
31 |
USE_RC_SUBR= nfsen |
30 |
perl_OLD_CMD= %%PERL%% |
32 |
perl_OLD_CMD= %%PERL%% |
31 |
SHEBANG_FILES= bin/testPlugin bin/RebuildHierarchy.pl bin/nfsen bin/nfsend libexec/NfSenRRD.pm \ |
33 |
SHEBANG_FILES= bin/testPlugin bin/RebuildHierarchy.pl bin/nfsen bin/nfsend |
32 |
libexec/NfAlert.pm libexec/NfProfile.pm libexec/Notification.pm libexec/NfSen.pm \ |
|
|
33 |
libexec/NfConf.pm libexec/Lookup.pm libexec/AbuseWhois.pm libexec/NfSenRC.pm \ |
34 |
libexec/Nfsources.pm |
35 |
REINPLACE_ARGS= -i '' |
34 |
REINPLACE_ARGS= -i '' |
36 |
REINPLACE_LIST= bin/testPlugin bin/RebuildHierarchy.pl bin/nfsen bin/nfsend etc/nfsen-dist.conf libexec/NfConf.pm |
35 |
REINPLACE_LIST= bin/testPlugin bin/RebuildHierarchy.pl bin/nfsen bin/nfsend etc/nfsen-dist.conf libexec/NfConf.pm |
37 |
SUB_LIST+= "CONFDIR=${PREFIX}/etc" |
36 |
SUB_LIST+= "CONFDIR=${PREFIX}/etc" |
Lines 42-47
SUB_LIST+= "WWWDIR=${WWWDIR}"
Link Here
|
42 |
SUB_LIST+= "PORTNAME=${PORTNAME}" |
41 |
SUB_LIST+= "PORTNAME=${PORTNAME}" |
43 |
SUB_LIST+= "NFSENOWN=${NFSENOWN}" |
42 |
SUB_LIST+= "NFSENOWN=${NFSENOWN}" |
44 |
|
43 |
|
|
|
44 |
SUB_FILES= pkg-message |
45 |
|
46 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
47 |
|
45 |
post-patch: |
48 |
post-patch: |
46 |
.for nfsenfile in ${REINPLACE_LIST} |
49 |
.for nfsenfile in ${REINPLACE_LIST} |
47 |
@${REINPLACE_CMD} ${_SUB_LIST_TEMP} ${WRKSRC}/${nfsenfile} |
50 |
@${REINPLACE_CMD} ${_SUB_LIST_TEMP} ${WRKSRC}/${nfsenfile} |