PortSystem          1.0

name                fstobdf
version             1.0.6
categories          x11 graphics
maintainers         {jeremyhu @jeremyhu} openmaintainer
license             X11
description         Convert font from X11 server to BDF
long_description \
   The fstobdf program reads a font from a font server and prints a BDF \
   file on the standard output that may be used to recreate the font. \
   This is useful in testing servers, debugging font metrics, and \
   reproducing lost BDF files.

platforms           darwin

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

checksums           sha1    aeafc2cd82092168d0bc4b94c5a27d7e070598fd \
                    rmd160  18d0cc9eabffa804c6809895be1838330b50ce3a \
                    sha256  66cf550326c993e7043f260a8ec4a533a3bf9d8f0e7397a6fe9cca803732e92e

depends_build       port:pkgconfig

depends_lib         port:xorg-libX11 port:xorg-libFS

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