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 ige-mac-integration |
---|
7 | version 0.8.2 |
---|
8 | categories devel |
---|
9 | maintainers mikep |
---|
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 |
---|
17 | |
---|
18 | homepage http://live.gnome.org/GTK%2B/OSX/Integration |
---|
19 | platforms darwin |
---|
20 | |
---|
21 | master_sites http://ftp.imendio.com/pub/imendio/ige-mac-integration/ |
---|
22 | |
---|
23 | checksums md5 c9ad0b80b5daa23891be654e29d7bcdc \ |
---|
24 | sha1 4d5f2a88c3d354133105b3c84e4a12abcb017eeb \ |
---|
25 | rmd160 857dce9f7377484901e08ce68fd8a72f5261abd5 |
---|
26 | |
---|
27 | depends_build port:pkgconfig |
---|
28 | |
---|
29 | depends_lib port:py25-gtk |
---|
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 | configure.python ${prefix}/bin/python2.5 |
---|
47 | |
---|
48 | livecheck.check regex |
---|
49 | livecheck.url ${master_sites} |
---|
50 | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|