Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= nfdump |
8 |
PORTNAME= nfdump |
9 |
PORTVERSION= 1.6.2 |
9 |
PORTVERSION= 1.6.3p1 |
10 |
CATEGORIES= net-mgmt |
10 |
CATEGORIES= net-mgmt |
11 |
MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION} |
11 |
MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION} |
12 |
|
12 |
|
Lines 32-47
Link Here
|
32 |
CONFIGURE_ARGS= --enable-compat15 |
32 |
CONFIGURE_ARGS= --enable-compat15 |
33 |
.endif |
33 |
.endif |
34 |
|
34 |
|
35 |
PLIST_FILES= bin/nfcapd bin/nfdump bin/nfreplay bin/nfexpire |
35 |
PLIST_FILES= bin/nfanon bin/nfcapd bin/nfdump bin/nfexpire bin/nfreplay |
36 |
MAN1= nfcapd.1 nfdump.1 nfreplay.1 nfexpire.1 |
36 |
MAN1= nfanon.1 nfcapd.1 nfdump.1 nfexpire.1 nfreplay.1 |
37 |
MAN1+= nfprofile.1 ft2nfdump.1 sfcapd.1 |
37 |
MAN1+= ft2nfdump.1 nfprofile.1 sfcapd.1 |
38 |
PORTDOCS= AUTHORS ChangeLog INSTALL README |
38 |
PORTDOCS= AUTHORS ChangeLog INSTALL README |
39 |
|
39 |
|
40 |
.if defined(WITH_NFPROFILE) |
40 |
.if defined(WITH_FIXTIMEBUG) |
|
|
41 |
CONFIGURE_ARGS+= --enable-fixtimebug |
42 |
.endif |
41 |
|
43 |
|
42 |
CONFIGURE_ARGS+= --enable-nfprofile --with-rrdpath=${LOCALBASE} |
44 |
.if defined(WITH_NFPROFILE) |
|
|
45 |
CONFIGURE_ARGS+= --enable-nfprofile |
43 |
PLIST_FILES+= bin/nfprofile |
46 |
PLIST_FILES+= bin/nfprofile |
44 |
#MAN1+= nfprofile.1 |
47 |
#MAN1+= nfprofile.1 |
|
|
48 |
.endif |
49 |
|
50 |
.if defined(WITH_NFTRACK) |
51 |
CONFIGURE_ARGS+= --enable-nftrack |
52 |
PLIST_FILES+= bin/nftrack |
53 |
.endif |
54 |
|
55 |
.if defined(WITH_NFPROFILE) || defined(WITH_NFTRACK) |
56 |
CONFIGURE_ARGS+= --with-rrdpath=${LOCALBASE} |
45 |
BUILD_DEPENDS+= rrdtool:${PORTSDIR}/databases/rrdtool |
57 |
BUILD_DEPENDS+= rrdtool:${PORTSDIR}/databases/rrdtool |
46 |
RUN_DEPENDS+= ${BUILD_DEPENDS} |
58 |
RUN_DEPENDS+= ${BUILD_DEPENDS} |
47 |
.endif |
59 |
.endif |
Lines 54-59
Link Here
|
54 |
#MAN1+= ft2nfdump.1 |
66 |
#MAN1+= ft2nfdump.1 |
55 |
.endif |
67 |
.endif |
56 |
|
68 |
|
|
|
69 |
.if defined (WITH_READPCAP) |
70 |
CONFIGURE_ARGS+= --enable-readpcap |
71 |
.endif |
72 |
|
57 |
#sflow capture support |
73 |
#sflow capture support |
58 |
.if defined(WITH_SFLOW) |
74 |
.if defined(WITH_SFLOW) |
59 |
CONFIGURE_ARGS+= --enable-sflow |
75 |
CONFIGURE_ARGS+= --enable-sflow |
Lines 61-66
Link Here
|
61 |
#MAN1+= sfcapd.1 |
77 |
#MAN1+= sfcapd.1 |
62 |
.endif |
78 |
.endif |
63 |
|
79 |
|
|
|
80 |
post-configure: |
81 |
@${REINPLACE_CMD} -E -e 's/sfcapd\.1/sfcapd\.1 nfanon\.1/' ${WRKSRC}/man/Makefile |
82 |
|
64 |
.if !defined(NOPORTDOCS) |
83 |
.if !defined(NOPORTDOCS) |
65 |
post-install: |
84 |
post-install: |
66 |
${MKDIR} ${DOCSDIR} |
85 |
${MKDIR} ${DOCSDIR} |