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 57375 2009-09-10 08:16:41Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name ige-mac-integration |
---|
7 | version 0.9.7 |
---|
8 | categories devel |
---|
9 | maintainers flyn.org:mike |
---|
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://sourceforge.net/projects/gtk-osx |
---|
20 | platforms darwin |
---|
21 | |
---|
22 | master_sites sourceforge:gtk-osx/GTK-OSX%20Build/ |
---|
23 | use_bzip2 yes |
---|
24 | |
---|
25 | checksums md5 d0f71bbdfc761e1a419bfc8bc89f05d9 \ |
---|
26 | sha1 d3e35ded32839adf0933ed7a4e5c93c9205cfad1 \ |
---|
27 | rmd160 5e38aaebcdca90a5568e49ab268a32ae74f29ee5 |
---|
28 | |
---|
29 | depends_build port:pkgconfig |
---|
30 | |
---|
31 | depends_lib port:py27-gtk |
---|
32 | |
---|
33 | pre-configure { |
---|
34 | if {![file exists ${prefix}/lib/pkgconfig/gdk-quartz-2.0.pc]} { |
---|
35 | ui_error " |
---|
36 | |
---|
37 | **** |
---|
38 | **** ige-mac-integration is meant to be used only in a GTK2 quartz |
---|
39 | **** development environment but your version of GTK2 does not |
---|
40 | **** support quartz. Please make sure that port gtk2 and all its |
---|
41 | **** dependencies are built with variants +no_x11 +quartz and try again. |
---|
42 | **** |
---|
43 | " |
---|
44 | error "gtk2 +no_x11 +quartz not installed." |
---|
45 | } |
---|
46 | } |
---|
47 | |
---|
48 | configure.python ${prefix}/bin/python2.7 |
---|
49 | |
---|
50 | livecheck.type regex |
---|
51 | livecheck.url ${master_sites} |
---|
52 | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|