# -*- 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 PortGroup gobject_introspection 1.0 name libgnomekbd version 3.22.0.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 63dee608eaae8ab9734e5772167665833bfeb89e \ sha256 4efdb6b8ec92f04caced710b5edb285fb27715059ed6ca5e100b6933999a93de depends_build port:pkgconfig depends_lib port:desktop-file-utils \ port:gtk3 \ port:libxklavier gobject_introspection yes # libgnomekbd/gkbd-keyboard-display.c uses gdk_set_allowed_backends ("x11") require_active_variants port:gtk3 x11 configure.args --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --disable-schemas-compile \ --disable-silent-rules post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome