# -*- 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 # $Id$ PortSystem 1.0 name ige-mac-integration conflicts gtk-osx-application version 0.9.8 revision 5 ## added for stealth update; remove this line when updating #dist_subdir ${name}/${version}_1 categories devel license LGPL-2.1+ maintainers flyn.org:mike description Mac OS X menu bar integration library for GTK2 quartz long_description \ 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 platforms darwin master_sites sourceforge:gtk-osx/GTK-OSX%20Build/ use_bzip2 yes checksums sha1 9a19315bb506bbf4319684aef97863b3d7a26b71 \ rmd160 4effb26e2fff37bddde2e73840ab83b77b6a75e8 configure.ldflags-append "-lgthread-2.0" post-configure { reinplace "s|prefix = ${prefix}|prefix = ${destroot}${prefix}|g" ${worksrcpath}/strings/Makefile } depends_build port:pkgconfig depends_lib port:py27-pygtk pre-configure { if {![file exists ${prefix}/lib/pkgconfig/gdk-quartz-2.0.pc]} { ui_error " **** **** 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.type regex livecheck.url ${master_sites} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"