# $Id: Portfile,v 1.2 2004/12/31 14:50:47 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-tiff
version			0.1.4
revision		1
categories		python graphics
platforms		darwin
maintainers		mww@opendarwin.org
description		pytiff provides tiff handling and advanced imaging for Python
long_description	${description}


homepage		http://pubweb.northwestern.edu/~omh221/software_projects/pytiff/
master_sites	${homepage}
distname		pytiff-${version}
checksums		md5 77a30a09348345a40829c9a730ffd9b8
patchfiles		patch-setup.py

depends_lib-append	lib:libtiff:tiff

worksrcdir

build.env		CFLAGS=-I${prefix}/include \
				LDFLAGS=-L${prefix}/lib

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} CHANGES README \
		${destroot}${prefix}/share/doc/${name}
}
