[145433] users/devans/GNOME-3/unstable/dports/gnome/gitg/Portfile
devans at macports.org
devans at macports.org
Thu Feb 4 21:03:13 PST 2016
Revision: 145433
https://trac.macports.org/changeset/145433
Author: devans at macports.org
Date: 2016-02-04 21:03:13 -0800 (Thu, 04 Feb 2016)
Log Message:
-----------
GNOME-3/unstable: gitg, add +quartz variant.
Modified Paths:
--------------
users/devans/GNOME-3/unstable/dports/gnome/gitg/Portfile
Modified: users/devans/GNOME-3/unstable/dports/gnome/gitg/Portfile
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/gitg/Portfile 2016-02-05 03:20:04 UTC (rev 145432)
+++ users/devans/GNOME-3/unstable/dports/gnome/gitg/Portfile 2016-02-05 05:03:13 UTC (rev 145433)
@@ -2,6 +2,7 @@
# $Id$
PortSystem 1.0
+PortGroup active_variants 1.1
PortGroup gobject_introspection 1.0
name gitg
@@ -62,6 +63,14 @@
--disable-schemas-compile \
--disable-silent-rules
+variant quartz {}
+
+if {[variant_isset quartz]} {
+ require_active_variants gtk3 quartz
+} else {
+ require_active_variants gtk3 x11
+}
+
post-activate {
system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160204/edbe9bf4/attachment-0001.html>
More information about the macports-changes
mailing list