# -*- 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 PortGroup active_variants 1.1 name gtkmm version 2.24.4 revision 1 set branch [join [lrange [split ${version} .] 0 1] .] description C++ interface to GTK+ version 2. long_description \ gtkmm is the official C++ interface \ for the popular GUI library GTK+ version 2. maintainers devans openmaintainer categories x11 devel license LGPL-2.1+ platforms darwin homepage http://www.gtkmm.org/ master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 771a6f3dd348fd5fc9c4456837df4151df366197 \ sha256 443a2ff3fcb42a915609f1779000390c640a6d7fd19ad8816e6161053696f5ee depends_build port:pkgconfig \ port:mm-common \ port:p5.16-xml-parser depends_lib port:gtk2 \ port:glibmm \ path:lib/pkgconfig/cairomm-1.0.pc:cairomm \ port:pangomm \ port:atkmm use_autoreconf yes autoreconf.args -fvi configure.perl ${prefix}/bin/perl5.16 # # dummy variants to ensure that this port gets rebuilt if # the corresponding variants for gtk2 change # variant x11 conflicts quartz {} variant quartz conflicts x11 {} if {![variant_isset quartz]} { default_variants +x11 } if {[variant_isset quartz]} { require_active_variants path:lib/pkgconfig/cairomm-1.0.pc:cairomm quartz require_active_variants pangomm quartz require_active_variants gtk2 quartz } else { require_active_variants gtk2 "" quartz } if {[variant_isset x11]} { require_active_variants path:lib/pkgconfig/cairomm-1.0.pc:cairomm x11 require_active_variants pangomm x11 require_active_variants gtk2 x11 } else { require_active_variants gtk2 "" x11 } livecheck.type gnome livecheck.regex {LATEST-IS-(2\.[0-8]*[02468](?:\.\d+)*)}