[73429] trunk/dports/net/avahi/Portfile

mk at macports.org mk at macports.org
Sat Nov 13 05:30:19 PST 2010


Revision: 73429
          http://trac.macports.org/changeset/73429
Author:   mk at macports.org
Date:     2010-11-13 05:30:15 -0800 (Sat, 13 Nov 2010)
Log Message:
-----------
avahi: provide a no_gtk variant (to avoid inclusing of a tail of X11 port)

Modified Paths:
--------------
    trunk/dports/net/avahi/Portfile

Modified: trunk/dports/net/avahi/Portfile
===================================================================
--- trunk/dports/net/avahi/Portfile	2010-11-13 13:08:39 UTC (rev 73428)
+++ trunk/dports/net/avahi/Portfile	2010-11-13 13:30:15 UTC (rev 73429)
@@ -4,6 +4,7 @@
 
 name            avahi
 version         0.6.28
+revision        1
 categories      net devel
 maintainers     nomaintainer
 platforms       darwin
@@ -112,6 +113,13 @@
     configure.args-append   --enable-tests
 }
 
+variant no_gtk description {Build without GTK2} {
+    depends_lib-delete      port:libglade2 \
+                            port:py26-gtk
+
+    configure.args-append   --disable-gtk
+}
+
 livecheck.type  regex
 livecheck.url   [lindex ${master_sites} 0]
 livecheck.regex ${name}-(\[0-9.\]+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101113/4b324d6d/attachment.html>


More information about the macports-changes mailing list