[48009] trunk/dports/net/argus-clients/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Mar 12 12:06:43 PDT 2009


Revision: 48009
          http://trac.macports.org/changeset/48009
Author:   ryandesign at macports.org
Date:     2009-03-12 12:06:43 -0700 (Thu, 12 Mar 2009)
Log Message:
-----------
argus-clients: maintainer update to change +graph variant to +no_ragraph variant; see #18809

Modified Paths:
--------------
    trunk/dports/net/argus-clients/Portfile

Modified: trunk/dports/net/argus-clients/Portfile
===================================================================
--- trunk/dports/net/argus-clients/Portfile	2009-03-12 18:52:23 UTC (rev 48008)
+++ trunk/dports/net/argus-clients/Portfile	2009-03-12 19:06:43 UTC (rev 48009)
@@ -5,6 +5,7 @@
 
 name            argus-clients
 version         3.0.0
+revision        1
 categories      net
 maintainers     googlemail.com:usx303 \
                 openmaintainer
@@ -16,25 +17,25 @@
     comprehensive IP network traffic auditing.
 
 platforms       darwin
-depends_lib     path:bin/perl:perl5
+depends_lib     path:bin/perl:perl5\
+                port:rrdtool
 
 master_sites    ftp://qosient.com/pub/argus/src/
 checksums       md5 69220c898c0a3ad612292eaecdec70d2\
                 sha1 d3055bed8050cc7e13f30c60ec17683e58d4e13c\
                 rmd160 eda4bcaec5ec53528feb2336e311abe719b7b438
 
-default_variants +graph
 
-variant graph description {Build ragraph (depends on rrdtool)} {
-    depends_lib-append port:rrdtool
+variant no_ragraph description {Build without ragraph (no dependencies on rrdtool)} {
+    depends_lib-delete port:rrdtool
 }
 
 post-destroot   {
     move "${destroot}${prefix}/argus" "${destroot}${prefix}/share/argus"
     delete "${destroot}${prefix}/bin/argusbug"
-    if {[variant_isset graph]} {
+    if {[variant_isset no_ragraph]} {
+        delete "${destroot}${prefix}/bin/ragraph"
+    } else {
         reinplace "s|#! /usr/bin/perl|#! ${prefix}/bin/perl|" ${destroot}${prefix}/bin/ragraph
-    } else {
-        delete "${destroot}${prefix}/bin/ragraph"
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090312/ca0c5a9d/attachment.html>


More information about the macports-changes mailing list