# $Id: Portfile 45603 2009-01-18 20:52:41Z jeremyhu@macports.org $

PortSystem          1.0
name                xmodmap
version             1.0.3
revision            1
categories          x11
maintainers         blb openmaintainer
description         Modify keymaps and pointer button mappings in X11
long_description \
   The xmodmap program is used to edit and display the keyboard modifier \
   map and keymap table that are used by client applications to convert \
   event keycodes into keysyms.

platforms           darwin

homepage            http://www.x.org/
master_sites        ${homepage}pub/individual/app/
use_bzip2           yes

checksums           md5     626731003ec22a74ecf9e44ed098bbdf \
                    sha1    5ad0f99735a13d6bb75ce63b2285f4c9c11be51b \
                    rmd160  75e10acd3421dd1d0d31666235332718f8b1a8d8

depends_build       port:pkgconfig

depends_lib         port:xorg-libX11

livecheck.check     regex
livecheck.regex     ${name}-(\[\\d.\]+)${extract.suffix}
livecheck.url       ${master_sites}

