1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name gtk-osx-application |
---|
7 | version 0.9.2 |
---|
8 | categories devel |
---|
9 | maintainers nomaintainer |
---|
10 | |
---|
11 | description Mac OS X menu bar integration library for GTK2 quartz |
---|
12 | |
---|
13 | long_description \ |
---|
14 | A simple library whose purpose is to \ |
---|
15 | allow GTK2 quartz applications to integrate with \ |
---|
16 | the Mac OS X menu bar. Requires gtk2 and its \ |
---|
17 | dependencies to be built with variants +no_x11 +quartz |
---|
18 | |
---|
19 | homepage http://live.gnome.org/GTK%2B/OSX/Integration |
---|
20 | platforms darwin |
---|
21 | |
---|
22 | master_sites http://sourceforge.net/projects/gtk-osx/files/GTK-OSX Build/ |
---|
23 | distname ige-mac-integration-${version} |
---|
24 | |
---|
25 | checksums md5 82107195a7dc064e028b75f053ba29b7 \ |
---|
26 | sha1 64b238099570c968b51c2d98ab06bf3cf11411dd \ |
---|
27 | rmd160 3c1f187620bd0b54f39a15038210eef23ddbb068 |
---|
28 | |
---|
29 | depends_build port:pkgconfig |
---|
30 | |
---|
31 | pre-configure { |
---|
32 | if {![file exists ${prefix}/lib/pkgconfig/gdk-quartz-2.0.pc]} { |
---|
33 | ui_error " |
---|
34 | |
---|
35 | **** |
---|
36 | **** ige-mac-integration is meant to be used only in a GTK2 quartz |
---|
37 | **** development environment but your version of GTK2 does not |
---|
38 | **** support quartz. Please make sure that port gtk2 and all its |
---|
39 | **** dependencies are built with variants +no_x11 +quartz and try again. |
---|
40 | **** |
---|
41 | " |
---|
42 | error "gtk2 +no_x11 +quartz not installed." |
---|
43 | } |
---|
44 | } |
---|
45 | |
---|
46 | variant python25 conflicts python26 description {Use Python 2.5} { |
---|
47 | depends_lib-append port:py25-gtk |
---|
48 | configure.python ${prefix}/bin/python2.5 |
---|
49 | set python_prefix ${frameworks_dir}/Python.framework/Versions/2.5 |
---|
50 | configure.python ${python_prefix}/bin/python2.5 |
---|
51 | configure.env-append PYGTK_CODEGEN=${python_prefix}/bin/pygtk-codegen-2.0 |
---|
52 | configure.env-append PYGOBJECT_CODEGEN=${python_prefix}/bin/pygobject-codegen-2.0 |
---|
53 | configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/2.5/lib/pkgconfig/ |
---|
54 | configure.pre_args --prefix=${python_prefix} |
---|
55 | } |
---|
56 | |
---|
57 | variant python26 conflicts python25 description {Use Python 2.6} { |
---|
58 | depends_lib-append port:py26-gtk |
---|
59 | configure.python ${prefix}/bin/python2.6 |
---|
60 | set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6 |
---|
61 | configure.python ${python_prefix}/bin/python2.6 |
---|
62 | configure.env-append PYGTK_CODEGEN=${python_prefix}/bin/pygtk-codegen-2.0 |
---|
63 | configure.env-append PYGOBJECT_CODEGEN=${python_prefix}/bin/pygobject-codegen-2.0 |
---|
64 | configure.pkg_config_path ${frameworks_dir}/Python.framework/Versions/2.6/lib/pkgconfig/ |
---|
65 | configure.pre_args --prefix=${python_prefix} |
---|
66 | } |
---|
67 | |
---|
68 | if {![variant_isset python25]} { |
---|
69 | default_variants +python26 |
---|
70 | } |
---|
71 | |
---|
72 | |
---|
73 | configure.ccache no |
---|