# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $ PortSystem 1.0 name bitstream-vera version 1.10 categories graphics maintainers mac.com:jbenninghoff description Bitstream Vera Fonts for use with Freetype/Fontconfig long_description \ Bittream Vera Fonts consist of four monospace and sans faces (normal, \ oblique, bold, bold oblique) and two serif faces (normal and bold). \ They are designed to be an attractive default font for GNOME-based \ X11 apps. (GTK2/Xft2/Freetype/Fontconfig) homepage http://www.gnome.org/fonts/ master_sites http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ distname ttf-${name}-${version} platforms darwin checksums md5 52559ed969e74f5fca83e527163156df patchfiles patch-local.conf use_configure no build { reinplace "s|%FONTSDIR%|${prefix}/share/fonts|" \ ${worksrcpath}/local.conf } destroot { xinstall -d ${destroot}${prefix}/share/fonts system "install -m 444 ${worksrcpath}/*.ttf \ ${destroot}${prefix}/share/fonts" xinstall -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} COPYRIGHT.TXT README.TXT \ RELEASENOTES.TXT local.conf \ ${destroot}${prefix}/share/doc/${name} } post-install { ui_msg "------------------------------------------------------------------ --------" ui_msg "Requires modifications to ${prefix}/etc/fonts/local.conf. " ui_msg "Replacement file provided at ${prefix}/share/doc/bitstream-vera/local.conf." ui_msg "------------------------------------------------------------------ --------" }