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

PortSystem          1.0
name                fstobdf
version             1.0.3
revision            1
categories          x11 graphics
maintainers         blb openmaintainer
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            http://www.x.org/
master_sites        ${homepage}pub/individual/app/
use_bzip2           yes

checksums           md5     49a6225380f6c18fff664a043cd569b1 \
                    sha1    c7f9184afe3f7526a51b4e19722af8451b33d873 \
                    rmd160  aa9041e19b33044e67b28206c9945c08a9a25577

depends_build       port:pkgconfig

depends_lib         port:xorg-libX11 port:xorg-libFS

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

