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 20336 2006-11-02 00:43:36Z blair@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name argus-clients |
---|
7 | version 3.0.0 |
---|
8 | categories net |
---|
9 | maintainers googlemail.com:usx303 \ |
---|
10 | openmaintainer |
---|
11 | |
---|
12 | description\ |
---|
13 | the network Audit Record Generation and Utilization System |
---|
14 | long_description\ |
---|
15 | Argus is a real-time Flow Monitor that is designed to perform \ |
---|
16 | comprehensive IP network traffic auditing. |
---|
17 | platforms darwin |
---|
18 | homepage http://www.qosient.com/argus/ |
---|
19 | master_sites ftp://qosient.com/pub/argus/src/ |
---|
20 | |
---|
21 | checksums md5 69220c898c0a3ad612292eaecdec70d2\ |
---|
22 | sha1 d3055bed8050cc7e13f30c60ec17683e58d4e13c\ |
---|
23 | rmd160 eda4bcaec5ec53528feb2336e311abe719b7b438 |
---|
24 | |
---|
25 | |
---|
26 | depends_lib path:bin/perl:perl5 |
---|
27 | |
---|
28 | default_variants \ |
---|
29 | +graph |
---|
30 | |
---|
31 | variant graph description {Build ragraph (depends on rrdtool)} { |
---|
32 | depends_lib-append \ |
---|
33 | port:rrdtool |
---|
34 | } |
---|
35 | |
---|
36 | post-destroot { |
---|
37 | file rename "${destroot}${prefix}/argus" "${destroot}${prefix}/share/argus" |
---|
38 | file delete -force "${destroot}${prefix}/bin/argusbug" |
---|
39 | if {[variant_isset graph]} { |
---|
40 | reinplace "s|#! /usr/bin/perl|#! ${prefix}/bin/perl|" ${destroot}${prefix}/bin/ragraph |
---|
41 | } else { |
---|
42 | file delete -force "${destroot}${prefix}/bin/ragraph" |
---|
43 | } |
---|
44 | } |
---|
45 | |
---|