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

PortSystem 1.0
PortGroup python24 1.0

name			py-enca
version			0.3
revision		1
categories		python textproc
platforms		darwin
maintainers		nomaintainer
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}
}
