# $Id: Portfile,v 1.7 2006/04/28 05:53:18 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-rdflib
version			2.3.1
categories		python textproc
platforms		darwin
maintainers		mww@opendarwin.org
description		Python library for working with RDF
long_description	RDFLib is a Python library for working with RDF, a \
				simple yet powerful language for representing \
				information. The library contains an RDF/XML \
				parser/serializer, a TripleStore, an InformationStore \
				and various store backends (InMemory, SleepyCat BTree, \
				ZODB BTree).

homepage		http://rdflib.net/
master_sites	http://rdflib.net/2006/02/27/
distname		rdflib-${version}
checksums		md5 50876327771dc5a6cf07bf4f26a63187

test.run		yes
test.cmd		${python.bin} run_tests.py
test.target

post-destroot {
	xinstall -m 644 -W ${worksrcpath} CHANGELOG LICENSE \
		README ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 ${worksrcpath}/example.py \
		${destroot}${prefix}/share/doc/${name}/examples
}
