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: Portfile 106601 2013-05-31 20:45:05Z devans@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name glade |
---|
7 | version 3.14.2 |
---|
8 | license LGPL-2 GPL-2 |
---|
9 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
10 | description Glade is a RAD tool to enable quick & easy development of user interfaces \ |
---|
11 | for the GTK+ 3.* toolkit and the GNOME desktop environment. |
---|
12 | long_description ${description} |
---|
13 | maintainers devans openmaintainer |
---|
14 | categories devel gnome |
---|
15 | platforms darwin |
---|
16 | homepage http://glade.gnome.org/ |
---|
17 | master_sites gnome:sources/${name}/${branch}/ |
---|
18 | |
---|
19 | checksums sha256 d2e6b5a20cfdbc0a5ed49122ac7b4e3a10ba140ccfcaba60082e6e2b52a62ac6 \ |
---|
20 | rmd160 687693a677d2c62e47ad849d97585f15e253d9f7 |
---|
21 | |
---|
22 | |
---|
23 | use_xz yes |
---|
24 | |
---|
25 | depends_skip_archcheck devhelp |
---|
26 | |
---|
27 | depends_build port:pkgconfig \ |
---|
28 | port:itstool \ |
---|
29 | port:gnome-doc-utils \ |
---|
30 | port:gtk3 |
---|
31 | |
---|
32 | depends_lib port:libxml2 \ |
---|
33 | port:libgnomeui |
---|
34 | |
---|
35 | depends_run port:hicolor-icon-theme \ |
---|
36 | port:devhelp |
---|
37 | |
---|
38 | configure.args --disable-scrollkeeper |
---|
39 | |
---|
40 | variant python25 conflicts python26 python27 description {Use python 2.5} { |
---|
41 | configure.python ${prefix}/bin/python2.5 |
---|
42 | depends_lib-append port:py25-pygtk |
---|
43 | set python_framework ${frameworks_dir}/Python.framework/Versions/2.5 |
---|
44 | configure.pkg_config_path ${python_framework}/lib/pkgconfig |
---|
45 | } |
---|
46 | |
---|
47 | variant python26 conflicts python25 python27 description {Use python 2.6} { |
---|
48 | configure.python ${prefix}/bin/python2.6 |
---|
49 | depends_lib-append port:py26-pygtk |
---|
50 | set python_framework ${frameworks_dir}/Python.framework/Versions/2.6 |
---|
51 | configure.pkg_config_path ${python_framework}/lib/pkgconfig |
---|
52 | } |
---|
53 | |
---|
54 | variant python27 conflicts python25 python26 description {Use python 2.7} { |
---|
55 | configure.python ${prefix}/bin/python2.7 |
---|
56 | depends_lib-append port:py27-pygtk |
---|
57 | set python_framework ${frameworks_dir}/Python.framework/Versions/2.7 |
---|
58 | configure.pkg_config_path ${python_framework}/lib/pkgconfig |
---|
59 | } |
---|
60 | |
---|
61 | if {![variant_isset python25] && ![variant_isset python26]} { |
---|
62 | default_variants +python27 |
---|
63 | } |
---|
64 | |
---|
65 | variant disable_gnome description {Disable support for GNOME UI widgets} { |
---|
66 | configure.args-append --disable-gnome |
---|
67 | depends_lib-delete port:libgnomeui |
---|
68 | } |
---|
69 | |
---|
70 | # |
---|
71 | # ige-mac-integration is broken |
---|
72 | # |
---|
73 | # disable quartz variant until this is resolved |
---|
74 | # |
---|
75 | |
---|
76 | #variant quartz { |
---|
77 | # depends_lib-append port:ige-mac-integration |
---|
78 | # depends_run-delete port:devhelp |
---|
79 | #} |
---|
80 | |
---|
81 | post-activate { |
---|
82 | system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" |
---|
83 | } |
---|
84 | |
---|
85 | livecheck.type gnome |
---|