Ticket #44827: Portfile

File Portfile, 1.6 KB (added by jul_bsd@…, 10 years ago)
Line 
1# $Id: Portfile 115604 2014-01-06 20:14:16Z macsforever2000@macports.org $
2
3PortSystem 1.0
4
5name            argus
6version         3.0.6.1
7categories      net
8maintainers     ncircle.com:tk
9description     \
10        the network Audit Record Generation and Utilization System
11long_description        \
12        Argus is a real-time Flow Monitor that is designed to perform \
13        comprehensive IP network traffic auditing.
14platforms           darwin
15homepage        http://www.qosient.com/argus/
16master_sites    http://qosient.com/argus/src/ \
17                ftp://qosient.com/pub/argus/src/
18
19depends_build   port:bison
20depends_lib     port:libpcap
21configure.args  --with-libpcap=${prefix}
22
23default_variants +sasl
24
25variant sasl description {Enable SASL support} {
26    depends_lib-append       port:cyrus-sasl2
27    configure.args-append    --with-sasl=${prefix}
28}
29
30variant universal {}
31configure.cflags-append    "${configure.cflags} [get_canonical_archflags cc]"
32
33if {${subport} eq ${name}} {
34    checksums           rmd160  c4b30e0e249617a2db6387e19fd67abd5a7d01f1 \
35                        sha256  ed991d8e12394a4f3d49adf007f82bafe615de4fd836f88c86d97fe7469cad12
36
37    conflicts          ${name}-devel
38
39    livecheck.type     regex
40    livecheck.url       ${homepage}
41    livecheck.regex     "argus-(\\d+(?:\\.\\d+)*)"
42}
43
44subport ${name}-devel {
45    master_sites        http://qosient.com/argus/dev/
46
47    version             3.0.8
48    checksums           rmd160  4a838016251641818bd0df957287d887fcfb297f \
49                        sha256  335d889d288763487ad3545c09b944d7d6aa2538630d1fd72eea3704a57bf6e3
50
51    livecheck.type     none
52    conflicts          ${name}
53}
54
55