[68265] trunk/dports/devel
elelay at macports.org
elelay at macports.org
Sun May 30 07:03:38 PDT 2010
Revision: 68265
http://trac.macports.org/changeset/68265
Author: elelay at macports.org
Date: 2010-05-30 07:03:34 -0700 (Sun, 30 May 2010)
Log Message:
-----------
new port : gtk-osx-application, see #25025
Added Paths:
-----------
trunk/dports/devel/gtk-osx-application/
trunk/dports/devel/gtk-osx-application/Portfile
Added: trunk/dports/devel/gtk-osx-application/Portfile
===================================================================
--- trunk/dports/devel/gtk-osx-application/Portfile (rev 0)
+++ trunk/dports/devel/gtk-osx-application/Portfile 2010-05-30 14:03:34 UTC (rev 68265)
@@ -0,0 +1,73 @@
+# -*- 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
+
+name gtk-osx-application
+version 0.9.2
+categories devel
+maintainers elelay openmaintainer
+
+description Mac OS X menu bar integration library for GTK2 quartz
+
+long_description \
+ A simple library whose purpose is to \
+ allow GTK2 quartz applications to integrate with \
+ the Mac OS X menu bar. Requires gtk2 and its \
+ dependencies to be built with variants +no_x11 +quartz
+
+homepage http://live.gnome.org/GTK%2B/OSX/Integration
+platforms darwin
+
+master_sites http://sourceforge.net/projects/gtk-osx/files/GTK-OSX Build/
+distname ige-mac-integration-${version}
+
+checksums md5 82107195a7dc064e028b75f053ba29b7 \
+ sha1 64b238099570c968b51c2d98ab06bf3cf11411dd \
+ rmd160 3c1f187620bd0b54f39a15038210eef23ddbb068
+
+depends_build port:pkgconfig
+
+pre-configure {
+ if {![file exists ${prefix}/lib/pkgconfig/gdk-quartz-2.0.pc]} {
+ ui_error "
+
+****
+**** gtk-osx-application is meant to be used only in a GTK2 quartz
+**** development environment but your version of GTK2 does not
+**** support quartz. Please make sure that port gtk2 and all its
+**** dependencies are built with variants +no_x11 +quartz and try again.
+****
+"
+ error "gtk2 +no_x11 +quartz not installed."
+ }
+}
+
+variant python25 conflicts python26 description {Use Python 2.5} {
+ depends_lib-append port:py25-gtk
+ set python_prefix ${frameworks_dir}/Python.framework/Versions/2.5
+
+ configure.python ${python_prefix}/bin/python2.5
+ configure.env-append PYGTK_CODEGEN=${python_prefix}/bin/pygtk-codegen-2.0
+ configure.env-append PYGOBJECT_CODEGEN=${python_prefix}/bin/pygobject-codegen-2.0
+ configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/2.5/lib/pkgconfig/
+ configure.pre_args --prefix=${python_prefix}
+}
+
+variant python26 conflicts python25 description {Use Python 2.6} {
+ depends_lib-append port:py26-gtk
+ set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6
+
+ configure.python ${python_prefix}/bin/python2.6
+ configure.env-append PYGTK_CODEGEN=${python_prefix}/bin/pygtk-codegen-2.0
+ configure.env-append PYGOBJECT_CODEGEN=${python_prefix}/bin/pygobject-codegen-2.0
+ configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/2.6/lib/pkgconfig/
+ configure.pre_args --prefix=${python_prefix}
+}
+
+if {![variant_isset python25]} {
+ default_variants +python26
+}
+
+
+configure.ccache no
Property changes on: trunk/dports/devel/gtk-osx-application/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100530/68f47be7/attachment.html>
More information about the macports-changes
mailing list