source: trunk/dports/devel/ige-mac-integration/Portfile

Last change on this file was 115224, checked in by snc@…, 4 years ago

ige-mac-integration: revbump for libpng 1.6

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
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 115224 2013-12-28 22:51:51Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name            ige-mac-integration
7conflicts       gtk-osx-application
8version         0.9.8
9revision        5
10## added for stealth update; remove this line when updating
11#dist_subdir     ${name}/${version}_1
12categories      devel
13license         LGPL-2.1+
14maintainers     flyn.org:mike
15
16description     Mac OS X menu bar integration library for GTK2 quartz
17
18long_description \
19                A simple library whose purpose is to \
20                allow GTK2 quartz applications to integrate with \
21                the Mac OS X menu bar. Requires gtk2 and its \
22                dependencies to be built with variants +no_x11 +quartz
23
24homepage        http://sourceforge.net/projects/gtk-osx
25platforms       darwin
26
27master_sites    sourceforge:gtk-osx/GTK-OSX%20Build/
28use_bzip2       yes
29
30checksums           sha1    9a19315bb506bbf4319684aef97863b3d7a26b71 \
31                    rmd160  4effb26e2fff37bddde2e73840ab83b77b6a75e8
32
33configure.ldflags-append "-lgthread-2.0"
34post-configure {
35    reinplace "s|prefix = ${prefix}|prefix = ${destroot}${prefix}|g" ${worksrcpath}/strings/Makefile
36}
37
38depends_build   port:pkgconfig
39
40depends_lib     port:py27-pygtk
41
42pre-configure {
43    if {![file exists ${prefix}/lib/pkgconfig/gdk-quartz-2.0.pc]} {
44        ui_error "
45
46****
47**** ige-mac-integration is meant to be used only in a GTK2 quartz
48**** development environment but your version of GTK2 does not
49**** support quartz.  Please make sure that port gtk2 and all its
50**** dependencies are built with variants +no_x11 +quartz and try again.
51****
52"
53        error "gtk2 +no_x11 +quartz not installed."
54    }
55}
56
57configure.python ${prefix}/bin/python2.7
58
59livecheck.type  regex
60livecheck.url   ${master_sites}
61livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.