# -*- 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                mkfontscale
version             1.2.1
revision            0
categories          x11
license             X11
platforms           darwin
maintainers         {jeremyhu @jeremyhu} openmaintainer
description         X11 mkfontscale
long_description        Create an index of scalable font files for X

homepage            https://www.x.org/
master_sites        xorg:individual/app/

checksums           rmd160  78e9492055421f87d67911dfad94fc15c4a27a31 \
                    sha256  ca0495eb974a179dd742bfa6199d561bda1c8da4a0c5a667f21fd82aaab6bac7 \
                    size    150808

use_bzip2           yes
use_parallel_build  yes

depends_build       port:xorg-util-macros \
                    port:pkgconfig \
                    port:xorg-xorgproto

depends_lib         port:xorg-libfontenc \
                    port:freetype \
                    port:bzip2 \
                    port:zlib

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

configure.args      --with-bzip2