Ticket #18792: Portfile

File Portfile, 1.5 KB (added by usx303@…, 15 years ago)

Portfile

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