Revision: 120694 https://trac.macports.org/changeset/120694 Author: devans@macports.org Date: 2014-06-05 13:01:02 -0700 (Thu, 05 Jun 2014) Log Message: ----------- gtkimageview: add variants +x11 +quartz (default +x11) and active variant checks (#43913). Modified Paths: -------------- trunk/dports/devel/gtkimageview/Portfile Modified: trunk/dports/devel/gtkimageview/Portfile =================================================================== --- trunk/dports/devel/gtkimageview/Portfile 2014-06-05 19:27:29 UTC (rev 120693) +++ trunk/dports/devel/gtkimageview/Portfile 2014-06-05 20:01:02 UTC (rev 120694) @@ -1,11 +1,12 @@ # -*- 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 # $Id$ -PortSystem 1.0 +PortSystem 1.0 +PortGroup active_variants 1.1 name gtkimageview version 1.6.4 -revision 6 +revision 7 license LGPL-2.1 categories devel maintainers devans openmaintainer @@ -40,6 +41,24 @@ use_autoreconf yes autoreconf.args -fvi +# +# the following variants are used +# to identify this port's binary dependencies +# based on the variant of gtk2 used for the build +# + +variant x11 conflicts quartz { + require_active_variants port:gtk2 x11 +} + +variant quartz conflicts x11 { + require_active_variants port:gtk2 quartz +} + +if {![variant_isset quartz]} { + default_variants +x11 +} + livecheck.type regex livecheck.url http://pkgs.fedoraproject.org/repo/pkgs/${name} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
participants (1)
-
devans@macports.org