# -*- 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
conflicts gtk-osx-application
## added for stealth update; remove this line when updating
#dist_subdir ${name}/${version}_1
maintainers flyn.org:mike
description Mac OS X menu bar integration library for GTK2 quartz
A simple library whose purpose is to \
allow GTK2 quartz applications to integrate with \
the Mac OS X menu bar. Requires gtk2 and its \
dependencies to be built with variants +no_x11 +quartz
homepage http://sourceforge.net/projects/gtk-osx
master_sites sourceforge:gtk-osx/GTK-OSX%20Build/
checksums sha1 9a19315bb506bbf4319684aef97863b3d7a26b71 \
rmd160 4effb26e2fff37bddde2e73840ab83b77b6a75e8
configure.ldflags-append "-lgthread-2.0"
reinplace "s|prefix = ${prefix}|prefix = ${destroot}${prefix}|g" ${worksrcpath}/strings/Makefile
depends_build port:pkgconfig
depends_lib port:py27-pygtk
if {![file exists ${prefix}/lib/pkgconfig/gdk-quartz-2.0.pc]} {
**** ige-mac-integration is meant to be used only in a GTK2 quartz
**** development environment but your version of GTK2 does not
**** support quartz. Please make sure that port gtk2 and all its
**** dependencies are built with variants +no_x11 +quartz and try again.
error "gtk2 +no_x11 +quartz not installed."
configure.python ${prefix}/bin/python2.7
livecheck.url ${master_sites}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"