# $Id: Portfile,v 1.1 2005/11/04 06:17:03 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-swishe
version			0.5
categories		python www
platforms		darwin
maintainers		mww@opendarwin.org
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
}

