Portfile

# $Id: Portfile 21219 2007-01-14 17:03:48Z yves@macports.org $

PortSystem 1.0
PortGroup gnustep 1.0

name ArtResources
version 0.1.2
platforms darwin
maintainers yves@macports.org

description FreeFonts and Vera fonts for gnustep art backend.
long_description \
FreeFonts and Vera fonts and mknfonts for gnustep art backend. \
The Vera fonts are well-suited to on-screen use, and it is recommended \
that you use these as your default fonts. \
\
The FreeFonts are not as well-suited as the Vera fonts to on-screen \
use, but they contain a lot more characters.

master_sites http://ocean.made-it.com/Resources/Fonts/ \
http://yves.gnu-darwin.org/share/
checksums md5 4a30d1f3b05d73d13e10264df62ae982
use_bzip2 yes

worksrcdir .

post-patch {
reinplace "s|GNUSTEP_ROOT|GNUSTEP_LOCAL_ROOT|g" \
${worksrcpath}/Makefile
reinplace "s|FONT_DEST = |FONT_DEST = ${destroot}|g" \
${worksrcpath}/Makefile
}

build.args-append -C mknfonts

pre-destroot {
xinstall -d ${destroot}${prefix}/GNUstep/Local/Library/Fonts
}