# -*- 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                xorg-font-util
set my_name         font-util
version             1.3.2
categories          x11 graphics
license             X11 BSD
maintainers         {jeremyhu @jeremyhu} openmaintainer
description         X.org font utilities bdftruncate and ucs2any
long_description    ${description}

platforms           darwin

homepage            https://www.x.org/
master_sites        xorg:individual/font/
distname            ${my_name}-${version}
use_bzip2           yes

checksums           rmd160  1d94728ede687a1011cb98a11fa457369e29da53 \
                    sha256  3ad880444123ac06a7238546fa38a2a6ad7f7e0cc3614de7e103863616522282 \
                    size    158480

depends_build       port:pkgconfig

configure.args      --with-fontrootdir=${prefix}/share/fonts

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