Ticket #1371: Portfile.2

File Portfile.2, 906 bytes (added by julien.touche@…, 21 years ago)

portfile 3.0

Line 
1# Id: $
2
3PortSystem 1.0
4name            ntop
5version         3.0
6revision        0
7categories      net
8maintainers     mww@opendarwin.org
9description     network traffic probe
10platforms       darwin
11long_description        ntop is a network traffic probe that shows the network \
12                usage, similar to what the popular top Unix command does.
13
14homepage        http://www.ntop.org/
15master_sites    sourceforge
16extract.suffix  .tgz
17checksums       md5 1ec6055c75f1acbb5d5600492481ef85
18
19depends_lib     lib:libiconv.2:libiconv \
20                lib:libpng3:libpng \
21                lib:readline:readline \
22                lib:libgdbm:gdbm
23
24#set worksrcpath        ${worksrcpath}/ntop
25
26configure.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
31build.dir       ${configure.dir}
32post-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#}