[106743] trunk/dports/x11/gtkspell2/Portfile

devans at macports.org devans at macports.org
Thu Jun 6 20:24:55 PDT 2013


Revision: 106743
          https://trac.macports.org/changeset/106743
Author:   devans at macports.org
Date:     2013-06-06 20:24:55 -0700 (Thu, 06 Jun 2013)
Log Message:
-----------
gtkspell2: add +quartz +x11 variants to identify this port's binary dependencies based on the variant of gtk2 used for the build.

Modified Paths:
--------------
    trunk/dports/x11/gtkspell2/Portfile

Modified: trunk/dports/x11/gtkspell2/Portfile
===================================================================
--- trunk/dports/x11/gtkspell2/Portfile	2013-06-07 02:57:30 UTC (rev 106742)
+++ trunk/dports/x11/gtkspell2/Portfile	2013-06-07 03:24:55 UTC (rev 106743)
@@ -5,7 +5,7 @@
 
 name                gtkspell2
 version             2.0.16
-revision            3
+revision            4
 categories          x11 gnome textproc
 platforms           darwin
 # Source files have no copyright or license notices, and docs don't mention
@@ -40,10 +40,21 @@
 # intltool needs to be run with the correct version of perl
 configure.env-append INTLTOOL_PERL=${prefix}/bin/perl5.12
 
+#
+# the following dummy variants are used
+# to identify this port's binary dependencies
+# based on the variant of gtk2 used for the build
+#
+
+variant x11 conflicts quartz {}
+variant quartz conflicts x11 {}
+
+if {![variant_isset quartz]} {
+    default_variants +x11
+}
+
 livecheck.type      regex
 livecheck.url       ${homepage}
 livecheck.regex     "The latest version is <b>(\\d+(?:\\.\\d+)*)</b>"
 
 #NOTES   Port is named gtkspell2 due to ongoing development of gtkspell3
-#        Although there are no ports that require this port, there are a
-#        number of ports that will build with it if it is present.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130606/eeb80992/attachment-0001.html>


More information about the macports-changes mailing list