[107009] trunk/dports/devel

devans at macports.org devans at macports.org
Thu Jun 13 23:53:32 PDT 2013


Revision: 107009
          https://trac.macports.org/changeset/107009
Author:   devans at macports.org
Date:     2013-06-13 23:53:32 -0700 (Thu, 13 Jun 2013)
Log Message:
-----------
glade: new port, GTK+ 3 RAD tool version 3.14.2, closes #39401.

Added Paths:
-----------
    trunk/dports/devel/glade/
    trunk/dports/devel/glade/Portfile
    trunk/dports/devel/glade/files/
    trunk/dports/devel/glade/files/patch-configure.diff

Added: trunk/dports/devel/glade/Portfile
===================================================================
--- trunk/dports/devel/glade/Portfile	                        (rev 0)
+++ trunk/dports/devel/glade/Portfile	2013-06-14 06:53:32 UTC (rev 107009)
@@ -0,0 +1,71 @@
+# -*- 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
+PortGroup       active_variants 1.1
+
+name            glade
+version         3.14.2
+license         LGPL-2 GPL-2
+set branch      [join [lrange [split ${version} .] 0 1] .]
+description     Glade is a RAD tool to enable quick & easy development of user interfaces \
+                for the GTK+ 3.* toolkit and the GNOME desktop environment.
+long_description ${description}
+maintainers     devans openmaintainer
+categories      devel gnome
+platforms       darwin
+homepage        http://glade.gnome.org/
+master_sites    gnome:sources/${name}/${branch}/
+
+use_xz          yes
+
+checksums       rmd160  687693a677d2c62e47ad849d97585f15e253d9f7 \
+                sha256  d2e6b5a20cfdbc0a5ed49122ac7b4e3a10ba140ccfcaba60082e6e2b52a62ac6
+
+depends_skip_archcheck devhelp
+
+depends_build   port:pkgconfig \
+                port:itstool \
+                port:gnome-doc-utils
+
+depends_lib     port:gtk3 \
+                port:libxml2
+
+depends_run     port:hicolor-icon-theme \
+                port:devhelp
+
+patchfiles      patch-configure.diff
+
+#
+# disable gobject introspection if building universal
+# to match behavior of dependency gtk3
+#
+
+if {[variant_isset universal]} {
+    require_active_variants     gtk3 universal
+    configure.args              --enable-introspection=no
+} else {
+    require_active_variants     gtk3 "" universal
+    depends_lib-append          port:gobject-introspection
+    configure.args              --enable-introspection=yes
+}
+
+variant python26 conflicts python27 description {Use python 2.6} {
+    configure.python            ${prefix}/bin/python2.6
+    depends_lib-append          port:py26-gobject3
+    set python_framework        ${frameworks_dir}/Python.framework/Versions/2.6
+    configure.pkg_config_path   ${python_framework}/lib/pkgconfig
+}
+
+variant python27 conflicts python26 description {Use python 2.7} {
+    configure.python            ${prefix}/bin/python2.7
+    depends_lib-append          port:py27-gobject3
+    set python_framework        ${frameworks_dir}/Python.framework/Versions/2.7
+    configure.pkg_config_path   ${python_framework}/lib/pkgconfig
+}
+
+if {![variant_isset python26]} {
+    default_variants +python27
+}
+
+livecheck.type  gnome


Property changes on: trunk/dports/devel/glade/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/devel/glade/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/glade/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/devel/glade/files/patch-configure.diff	2013-06-14 06:53:32 UTC (rev 107009)
@@ -0,0 +1,14 @@
+--- configure.orig	2012-11-26 05:40:08.000000000 -0800
++++ configure	2013-06-13 16:15:38.000000000 -0700
+@@ -15658,9 +15658,9 @@
+ 
+ 
+ 
+-  PYTHON_PREFIX='${prefix}'
++  PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.prefix;'`
+ 
+-  PYTHON_EXEC_PREFIX='${exec_prefix}'
++  PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print sys.exec_prefix;'`
+ 
+ 
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130613/cb2fad09/attachment.html>


More information about the macports-changes mailing list