# -*- 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 atkmm version 2.22.7 revision 1 set branch [join [lrange [split ${version} .] 0 1] .] description atkmm is the C++ binding for the ATK library. long_description ${description} This port is part of the GNOME C++ bindings suite. maintainers devans openmaintainer categories gnome devel license LGPL-2.1+ platforms darwin homepage http://www.gtkmm.org/ master_sites gnome:sources/${name}/${branch}/ use_xz yes dist_subdir ${name}/${version}_${revision} checksums rmd160 45899082787b5286d46d9c7c4df143d16e6b2525 \ sha256 bfbf846b409b4c5eb3a52fa32a13d86936021969406b3dcafd4dd05abd70f91b depends_build port:pkgconfig \ port:mm-common depends_lib port:atk \ port:glibmm # Teach glibtool about -stdlib=libc++ use_autoreconf yes autoreconf.args -fvi pre-activate { if { [file exists ${prefix}/lib/pkgconfig/atkmm-1.6.pc] && ![catch {set vers [lindex [registry_active gtkmm] 0]}] && [vercmp [lindex $vers 1] 2.22.0] < 0} { registry_deactivate_composite gtkmm "" [list ports_nodepcheck 1] } } livecheck.type gnome