# $Id: Portfile,v 1.4 2006/06/01 20:21:46 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-chm
version			0.8.3
categories		python textproc
platforms		darwin
maintainers		mww@opendarwin.org
description		PyCHM is a set of Python bindings for Jed Wing's chmlib.
long_description	${description}

homepage		http://gnochm.sourceforge.net/pychm.html
master_sites	sourceforge:gnochm
distname		pychm-${version}
checksums		sha1 ca81cc85fd3f82daa68c1d5f7e8176f5237b4192

depends_lib-append	port:chmlib

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

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