# -*- 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 libgnomekbd version 3.6.0 revision 1 set branch [join [lrange [split ${version} .] 0 1] .] description A GNOME library which manages keyboard configuration long_description Libgnomekbd is ${description} and offers various \ widgets related to keyboard configuration. maintainers devans openmaintainer categories gnome license LGPL-2+ platforms darwin homepage http://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 59ecbefb14f92e7c896ca4416d5f09e45a2b30a9 \ sha256 c41ea5b0f64da470925ba09f9f1b46b26b82d4e433e594b2c71eab3da8856a09 depends_build port:pkgconfig \ port:intltool \ port:gnome-common depends_lib port:desktop-file-utils \ port:gtk3 \ port:libxklavier \ port:gobject-introspection # update m4/intltool.m4 and autoreconf pre-configure { copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4 } use_autoreconf yes autoreconf.args -fvi configure.args --enable-introspection \ --without-x \ --disable-schemas-compile \ --disable-silent-rules # Legacy no_x11 variant to be removed after June 2014. variant no_x11 conflicts x11 description {Legacy compatibility variant} {} variant x11 conflicts no_x11 { configure.args-append --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib configure.args-delete --without-x } if {![variant_isset no_x11]} { default_variants +x11 } post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } platform darwin 8 { # The rules enabled by gobject-introspection require GNU make 3.81+ depends_build-append port:gmake build.cmd ${prefix}/bin/gmake } livecheck.type gnome