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

PortSystem 1.0
PortGroup python24 1.0

name			py-lupy
version			0.2.1
revision		1
categories		python textproc databases
platforms		darwin freebsd
maintainers		nomaintainer
description		full-text indexer and search engine in Python
long_description	Lupy is a is a full-text indexer and search engine \
				written in Python. It is a port of Jakarta Lucene 1.2 \
				to Python. Specifically, it reads and writes indexes \
				in Lucene binary format. Like Lucene, it is \
				sophisticated and scalable. Lucene is a polished and \
				mature project and you are encouraged to read the \
				documentation found at the Lucene home page.

homepage		http://www.divmod.org/Home/Projects/Lupy/
master_sites	sourceforge:lupy
distname		Lupy-${version}
checksums		md5 515ea0b4aab8dd8299480cb9a0da6068

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} LICENSE README.txt changelog.txt \
		releasenotes.txt ${destroot}${prefix}/share/doc/${name}
	file delete -force ${destroot}${prefix}/share/doc/${name}/examples
	file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
}
