# $Id: Portfile,v 1.3 2005/01/03 09:58:26 waqar Exp $

PortSystem 1.0
name		OpenEXR
version		1.2.1
categories	graphics
maintainers	waqar@opendarwin.org
revision	0
description	OpenEXR Graphics Library
long_description   \
	OpenEXR is a high dynamic-range (HDR) image file format developed \
	by Industrial Light & Magic for use in computer imaging applications.
homepage	http://www.openexr.org
platforms	darwin
master_sites	http://savannah.nongnu.org/download/openexr
checksums	md5 cb931247581764730fae630f79f4832a

configure.args	--enable-osx-istream-hack \
		--mandir=${prefix}/share/man \
		--infodir=${prefix}/share/info	

variant darwin 6 {
	patchfiles		patch-Makefile.am patch-Makefile.in
	configure.args-append 	--enable-osx-istream-hack \
				--enable-shared=no
}
variant darwin 7 {
	configure.args-append	--enable-shared=no
}
