source: trunk/dports/net/argus-clients/Portfile

Last change on this file was 140018, checked in by khindenburg@…, 2 years ago

argus-clients: update to 3.0.8 #44828

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 140018 2015-09-06 18:48:34Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            argus-clients
7version         3.0.8
8categories      net
9license         GPL-2+ BSD-old
10maintainers     googlemail.com:usx303 \
11                openmaintainer
12
13homepage        http://www.qosient.com/argus/
14description     Network Audit Record Generation and Utilization System
15long_description\
16    Argus is a real-time Flow Monitor that is designed to perform \
17    comprehensive IP network traffic auditing.
18
19platforms       darwin
20depends_build   port:flex port:bison
21depends_lib     path:bin/perl:perl5 \
22                port:rrdtool \
23                port:readline
24
25master_sites    http://qosient.com/argus/src/ \
26                ftp://qosient.com/pub/argus/src/
27
28checksums       rmd160  1b77ca3d82ff25990322942794df5e12d5a79b37 \
29                sha256  aee8585d50959e00070a382f3121edfaa844a0a51dc0b73edf84c0f4eb8912c9
30
31configure.cflags-append -std=gnu89
32default_variants +sasl
33
34variant no_ragraph description {Build without ragraph (no dependencies on rrdtool)} {
35    depends_lib-delete port:rrdtool
36}
37
38variant sasl description {Enable SASL support} {
39    depends_lib-append    port:cyrus-sasl2
40    configure.args-append --with-sasl=${prefix}
41}
42
43post-destroot   {
44    move "${destroot}${prefix}/argus" "${destroot}${prefix}/share/argus"
45    delete "${destroot}${prefix}/bin/argusclientbug"
46    if {[variant_isset no_ragraph]} {
47        delete "${destroot}${prefix}/bin/ragraph"
48    } else {
49        reinplace "s|#! /usr/bin/perl|#! ${prefix}/bin/perl|" ${destroot}${prefix}/bin/ragraph
50    }
51    foreach script {radark rahosts raports} {
52        reinplace "s|#! /usr/bin/perl|#! ${prefix}/bin/perl|" ${destroot}${prefix}/bin/${script}
53    }
54}
55
56livecheck.url   [lindex ${master_sites} 0]
57livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.