Ticket #18809: Portfile.diff
File Portfile.diff, 1.4 KB (added by usx303@…, 16 years ago) |
---|
-
Portfile
5 5 6 6 name argus-clients 7 7 version 3.0.0 8 revision 1 8 9 categories net 9 10 maintainers googlemail.com:usx303 \ 10 11 openmaintainer … … 16 17 comprehensive IP network traffic auditing. 17 18 18 19 platforms darwin 19 depends_lib path:bin/perl:perl5 20 depends_lib path:bin/perl:perl5\ 21 port:rrdtool 20 22 21 23 master_sites ftp://qosient.com/pub/argus/src/ 22 24 checksums md5 69220c898c0a3ad612292eaecdec70d2\ 23 25 sha1 d3055bed8050cc7e13f30c60ec17683e58d4e13c\ 24 26 rmd160 eda4bcaec5ec53528feb2336e311abe719b7b438 25 27 26 default_variants +graph27 28 28 variant graph description {Build ragraph (depends on rrdtool)} {29 depends_lib- appendport:rrdtool29 variant no_ragraph description {Build without ragraph (no dependencies on rrdtool)} { 30 depends_lib-delete port:rrdtool 30 31 } 31 32 32 33 post-destroot { 33 34 move "${destroot}${prefix}/argus" "${destroot}${prefix}/share/argus" 34 35 delete "${destroot}${prefix}/bin/argusbug" 35 if {[variant_isset graph]} { 36 if {[variant_isset no_ragraph]} { 37 delete "${destroot}${prefix}/bin/ragraph" 38 } else { 36 39 reinplace "s|#! /usr/bin/perl|#! ${prefix}/bin/perl|" ${destroot}${prefix}/bin/ragraph 37 } else {38 delete "${destroot}${prefix}/bin/ragraph"39 40 } 40 41 }