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

PortSystem 1.0
PortGroup python24 1.0

name			py-swishe
version			0.5
categories		python www
platforms		darwin
maintainers		nomaintainer
description		python binding for swish-e
long_description	Python binding for swish-e, a fast, powerful, flexible, \
			free, and easy to use system for indexing collections of Web pages \
			or other files

homepage		http://jibe.freeshell.org/bits/SwishE/
master_sites	http://jibe.freeshell.org/bits/download/
distname		SwishE-${version}
checksums		md5 915a03d1153b2ddd4e8340f9e180dcf8

#depends_lib-append	port:swish-e

build.env		CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib

post-destroot {
	xinstall -m 644 -W ${worksrcpath} MANIFEST PKG-INFO README \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath}/examples a.py b.py c.py \
		${destroot}${prefix}/share/doc/${name}/examples
}

