# $Id: Portfile 64763 2010-03-15 16:31:33Z nox@macports.org $

PortSystem 1.0
name		fnlib
version		0.5
revision	6
description	Fonts and font libraries necessary for Enlightenment
long_description        This is a set of fonts and font libraries necessary \
			for the latest release of Enlightenment.
maintainers	nomaintainer
categories	graphics
platforms	darwin 
homepage	http://www.enlightenment.org/
master_sites 	sourceforge:enlightenment/
checksums	md5 99e9558739b97c82b728e408d9cb1f01

depends_lib \
	port:xorg-libsm \
	port:xorg-libXext \
	port:libpng \
	port:jpeg \
	port:tiff \
	port:imlib

# this might break shinymetal on caseinsensitives fs'es
post-destroot	{
		foreach i {a b c d e f g h i j k l m n o p q r s t u v w x y z} {
			file delete -force ${destroot}${prefix}/share/fnlib_fonts/shinymetal/45/$i.tif
		}
}

use_autoreconf yes
autoreconf.args -fvi
