# -*- 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.5 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 dc7d0701d6e7906a80b500e6a42e04e07620cd63 \ sha256 0680a53b7bf90b4e4bf444d1d89e6df41c777e0bacc96e9c09fc4dd2f5fe6b72 # set pbranch to desired perl version # currently 5.24 (#52081) set pbranch 5.24 depends_build port:pkgconfig \ port:mm-common \ port:p${pbranch}-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/perl${pbranch} # # 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+)*)}