# $Id: Portfile 59208 2009-10-11 18:05:54Z jeremyhu@macports.org $

PortSystem          1.0

name                mkfontscale
version             1.0.7
categories          x11
platforms           darwin
maintainers         jeremyhu
description         X11 mkfontscale
long_description    	Create an index of scalable font files for X

homepage            http://www.x.org
master_sites        http://xorg.freedesktop.org/archive/individual/app/

checksums           md5     96ca346f185c0ab48e42bf5bb0375da5 \
                    sha1    0a0c25da68c87380e2c013c808a6e0cc0983fae9 \
                    rmd160  8e6a9cb447dd1a0c00677cbf646af517bbde0c08

use_bzip2	    yes
use_parallel_build  yes

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

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

livecheck.type  regex
livecheck.url   [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)

configure.args --with-bzip2

