Ticket #17565: Portfile.2

File Portfile.2, 1.5 KB (added by dbevans (David B. Evans), 15 years ago)

Revised Portfile

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