# -*- 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: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name            libxklavier
version         3.9
set branch      [join [lrange [split ${version} .] 0 1] .]
description     libxklavier - utility library to make XKB stuff easier
long_description    ${description}
maintainers     nomaintainer
categories      gnome
platforms       darwin
homepage        http://www.freedesktop.org/Software/LibXklavier
master_sites    gnome:sources/${name}/${branch}/

checksums       md5     c8ff3ba6daf899be7ec2a626894852b9 \
                sha1    f093950923361310f80c2c434f7cc1a17c09f301 \
                rmd160  b92ce43e0c18183029aaf3d94b8960c022854f5d

use_bzip2       yes

depends_lib \
    port:libxml2 \
    port:libiconv \
    port:zlib \
    path:lib/pkgconfig/glib-2.0.pc:glib2 \
    port:xorg-libxkbfile

configure.args --disable-xkb-support

livecheck.type  regex
livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
