# $Id: Portfile,v 1.8 2004/12/28 11:21:47 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-ogg
version			1.3
revision		1
categories		python audio multimedia
platforms		darwin
maintainers		mww@opendarwin.org
description		Python module for the ogg multimedia interface
long_description	py-ogg is an interface to the ogg multimedia standard. \
				You cant do much with this module on its own, you will \
				also need specific Python modules for audio, etc.

homepage		http://www.andrewchatham.com/pyogg/
master_sites	${homepage}/download/
distname		pyogg-${version}
checksums		md5 45a4ecc4d0600661199e4040a81ea3fe

depends_lib-append	lib:libogg:libogg

patchfiles		patch-src__oggmodule.c \
				patch-src__oggmodule.h

use_configure	yes
configure.cmd	${python.bin} config_unix.py
configure.pre_args	--prefix ${prefix}

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