# -*- 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

PortSystem          1.0

name                xmodmap
version             1.0.10
revision            0
categories          x11
license             X11
maintainers         {jeremyhu @jeremyhu} 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            https://www.x.org/
master_sites        xorg:individual/app/
use_bzip2           yes

checksums           rmd160  8891c6f442533e14f4d997784198cc10c8da964f \
                    sha256  473f0941d7439d501bb895ff358832b936ec34c749b9704c37a15e11c318487c \
                    size    145489

depends_build       port:pkgconfig

depends_lib         port:xorg-libX11

livecheck.type      regex
livecheck.regex     ${name}-(\[\\d.\]+)${extract.suffix}
livecheck.url       https://xorg.freedesktop.org/archive/individual/app/?C=M&O=D
