# $Id: Portfile 75747 2011-02-07 00:22:50Z jmr@macports.org $

PortSystem		1.0
name			bitstream-vera
version			1.10
revision		2
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	gnome:sources/ttf-bitstream-vera/${version}/
distname		ttf-${name}-${version}

platforms		darwin
checksums		md5 52559ed969e74f5fca83e527163156df

supported_archs noarch

use_configure	no
build {}
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 \
		${destroot}${prefix}/share/doc/${name}
}
