# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name		ilmbase
version		1.0.1
revision	2
categories	graphics
maintainers	waqar
use_parallel_build	yes
description	OpenEXR ILM Base libraries
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.com/
platforms	darwin
master_sites	http://savannah.nongnu.org/download/openexr
checksums	md5 f76f094e69a6079b0beb93d97e2a217e \
		sha1 143adc547be83c6df75831ae957eef4b2706c9c0	\
		rmd160 124f10b6f4ebefc9bb5dba7715d8897c7d71b947

depends_build	port:libtool port:gsed

patchfiles	patch-configure

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

post-configure {
	copy -force ${prefix}/bin/glibtool ${worksrcpath}/libtool
}

test.run	yes
test.target	check

livecheck.type  regex
livecheck.url   ${homepage}downloads.html
livecheck.regex $name-(\\d+(?:\\.\\d+)*)
