# $Id: Portfile,v 1.2 2004/12/30 16:52:29 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-enca
version			0.3
revision		1
categories		python textproc
platforms		darwin
maintainers		mww@opendarwin.org
description		python interface to the enca library
long_description	${description}

homepage		http://trific.ath.cx/resources/python/pyenca/
master_sites	http://trific.ath.cx/Ftp/python/pyenca/
distname		pyenca-${version}
checksums		md5 62c05a45c9292016b622b741859fcddf
use_bzip2		yes
patchfiles		patch-setup.py.diff

depends_lib		bin:enca:enca

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

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