Ticket #27793: Portfile

File Portfile, 1.6 KB (added by mike@…, 14 years ago)
Line 
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
4PortSystem 1.0
5
6name            ige-mac-integration
7version         0.9.7
8categories      devel
9maintainers     flyn.org:mike
10
11description     Mac OS X menu bar integration library for GTK2 quartz
12
13long_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
19homepage        http://sourceforge.net/projects/gtk-osx
20platforms       darwin
21
22master_sites    sourceforge:gtk-osx/GTK-OSX%20Build/
23use_bzip2       yes
24
25checksums       md5     d0f71bbdfc761e1a419bfc8bc89f05d9 \
26                sha1    d3e35ded32839adf0933ed7a4e5c93c9205cfad1 \
27                rmd160  5e38aaebcdca90a5568e49ab268a32ae74f29ee5
28
29depends_build   port:pkgconfig
30
31depends_lib     port:py27-gtk
32
33pre-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
48configure.python ${prefix}/bin/python2.7
49
50livecheck.type  regex
51livecheck.url   ${master_sites}
52livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"