1 | # Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name ntop |
---|
5 | version 3.0 |
---|
6 | revision 0 |
---|
7 | categories net |
---|
8 | maintainers mww@opendarwin.org |
---|
9 | description network traffic probe |
---|
10 | platforms darwin |
---|
11 | long_description ntop is a network traffic probe that shows the network \ |
---|
12 | usage, similar to what the popular top Unix command does. |
---|
13 | |
---|
14 | homepage http://www.ntop.org/ |
---|
15 | master_sites sourceforge |
---|
16 | extract.suffix .tgz |
---|
17 | checksums md5 1ec6055c75f1acbb5d5600492481ef85 |
---|
18 | |
---|
19 | depends_lib lib:libiconv.2:libiconv \ |
---|
20 | lib:libpng3:libpng \ |
---|
21 | lib:readline:readline \ |
---|
22 | lib:libgdbm:gdbm |
---|
23 | |
---|
24 | #set worksrcpath ${worksrcpath}/ntop |
---|
25 | |
---|
26 | configure.args --with-localedir=/opt/local/share/locale \ |
---|
27 | --with-gdbm-lib=${prefix}/lib \ |
---|
28 | --with-gdbm-include=${prefix}/include \ |
---|
29 | --mandir=${prefix}/share/man |
---|
30 | |
---|
31 | build.dir ${configure.dir} |
---|
32 | post-destroot { |
---|
33 | file mkdir "${destroot}/${prefix}/var/ntop" |
---|
34 | system "touch ${destroot}${prefix}/var/ntop/.turd" |
---|
35 | } |
---|
36 | |
---|
37 | #variant xmldump { |
---|
38 | ## need gdome |
---|
39 | #} |
---|