# $Id: Portfile 38289 2008-07-15 04:06:14Z ryandesign@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-ogg
version			1.3
revision		1
categories		python audio multimedia
platforms		darwin
maintainers		nomaintainer
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://ekyo.nerim.net/software/pyogg/
master_sites	${homepage}
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}
}
