# $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-tiff
version			0.1.4
revision		1
categories		python graphics
platforms		darwin
maintainers		nomaintainer
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}
}
