# $Id: Portfile,v 1.2 2005/09/13 06:57:47 olegb Exp $
PortSystem 1.0
name		vips
version		7.10.8
description	VIPS is an image processing library.
long_description	VIPS is an image processing library. It's good for \
			large images and for colour.
maintainers	darwinports@opendarwin.org
categories	graphics
platforms	darwin 
homepage	http://www.vips.ecs.soton.ac.uk/
master_sites	${homepage}/vips-7.10/
checksums	sha1 ee84691cb5fe0e1057756da397a13822e71e2f9a
depends_lib	lib:libglib.2:glib2 bin:perl:perl5.8 lib:libtiff:tiff \
		lib:libjpeg:jpeg lib:libpng:libpng lib:libfftw3:fftw-3
configure.args	--mandir=${prefix}/share/man 
configure.env   CPPFLAGS="-I${prefix}/include -L${prefix}/lib" \
                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" 
post-destroot	{
	# we have to remove these because of clashes on non-case-sensitive FSes.
	file delete -force ${destroot}${prefix}/share/doc/vips/html/man/IM_RINT.3.html
	file delete -force ${destroot}${prefix}/share/doc/vips/html/man/IM_MIN.3.html
	file delete -force ${destroot}${prefix}/share/doc/vips/html/man/IM_MAX.3.html

	file delete -force ${destroot}${prefix}/share/man/man3/IM_RINT.3
	file delete -force ${destroot}${prefix}/share/man/man3/IM_MIN.3
	file delete -force ${destroot}${prefix}/share/man/man3/IM_MAX.3
}
