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