# $Id: Portfile,v 1.6 2006/01/25 08:39:21 blb Exp $

PortSystem			1.0
name				fribidi
version				0.10.7
categories			textproc
maintainers			blb@opendarwin.org
description			Free Implementation of the Unicode BiDi algorithm
long_description \
	The FriBidi library implements the algorithm described in the \"Unicode \
	Standard Annex #9, The Bidirectional Algorithm\", available at \
	http://www.unicode.org/unicode/reports/tr9/.

platforms			darwin

homepage			http://fribidi.org/
master_sites		${homepage}download/

checksums			md5 0f602ed32869dbc551dc6bc83d8a3d28

configure.args		MACOSX_DEPLOYMENT_TARGET="10.3"

build.env			MACOSX_DEPLOYMENT_TARGET="10.3"

post-destroot {
	file mkdir ${destroot}${prefix}/share/doc/${name}
	cd ${worksrcpath}
	xinstall -m 644 AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \
		TODO ${destroot}${prefix}/share/doc/${name}
}

