Ticket #17565: Portfile.3

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

Revised Portfile (version 2)

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 gtk2 and its \
17        dependencies to be built with variants +no_x11 +quartz
18
19homepage        http://live.gnome.org/GTK%2B/OSX/Integration
20platforms       darwin
21
22master_sites    http://ftp.imendio.com/pub/imendio/ige-mac-integration/
23
24checksums       md5     c9ad0b80b5daa23891be654e29d7bcdc \
25                sha1    4d5f2a88c3d354133105b3c84e4a12abcb017eeb \
26                rmd160  857dce9f7377484901e08ce68fd8a72f5261abd5
27
28depends_build   port:pkgconfig
29
30depends_lib     port:py25-gtk
31
32pre-configure {
33    if {![file exists ${prefix}/lib/pkgconfig/gdk-quartz-2.0.pc]} {
34        ui_error "
35
36****
37**** ige-mac-integration is meant to be used only in a GTK2 quartz
38**** development environment but your version of GTK2 does not
39**** support quartz.  Please make sure that port gtk2 and all its
40**** dependencies are built with variants +no_x11 +quartz and try again.
41****
42"
43        error "gtk2 +no_x11 +quartz not installed."
44    }
45}
46
47configure.python ${prefix}/bin/python2.5
48
49livecheck.check regex
50livecheck.url   ${master_sites}
51livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"