Ticket #1371: Portfile

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

ntop-3.0rc1 Portfile

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