source: trunk/dports/gnome/libgnomekbd/Portfile

Last change on this file was 153240, checked in by devans@…, 10 months ago

libgnomekbd: update to version 3.22.0.1, dependencies, no longer uses intltool, remove +x11 variant, gtk3 +x11 is unconditionally required.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 153240 2016-09-27 21:35:24Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           active_variants 1.1
6PortGroup           gobject_introspection 1.0
7
8name                libgnomekbd
9version             3.22.0.1
10set branch          [join [lrange [split ${version} .] 0 1] .]
11description         A GNOME library which manages keyboard configuration
12long_description    Libgnomekbd is ${description} and offers various \
13                    widgets related to keyboard configuration.
14maintainers         devans openmaintainer
15categories          gnome
16license             LGPL-2+
17platforms           darwin
18homepage            http://www.gnome.org/
19
20master_sites        gnome:sources/${name}/${branch}/
21
22use_xz              yes
23
24checksums           rmd160  63dee608eaae8ab9734e5772167665833bfeb89e \
25                    sha256  4efdb6b8ec92f04caced710b5edb285fb27715059ed6ca5e100b6933999a93de
26
27depends_build       port:pkgconfig
28
29depends_lib         port:desktop-file-utils \
30                    port:gtk3 \
31                    port:libxklavier
32
33gobject_introspection yes
34
35# libgnomekbd/gkbd-keyboard-display.c uses gdk_set_allowed_backends ("x11")
36
37require_active_variants port:gtk3 x11
38
39configure.args      --x-includes=${prefix}/include \
40                    --x-libraries=${prefix}/lib \
41                    --disable-schemas-compile \
42                    --disable-silent-rules
43
44post-activate {
45    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
46    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
47}
48
49livecheck.type      gnome
Note: See TracBrowser for help on using the repository browser.