# $Id: Portfile 71400 2010-09-12 02:08:15Z jmr@macports.org $

PortSystem 1.0
PortGroup python26 1.0

name			spe
version			0.8.4.h
categories		editors python
platforms		darwin
maintainers		nomaintainer
description		spe - Stani's Python Editor 
long_description	spe - Stani's Python Editor  \
				Free Python IDE with Blender, Kiki, PyChecker,  \
				Remote Debugger, Uml and wxGlade support. 

homepage		http://pythonide.blogspot.com/
master_sites	http://download.berlios.de/python/
distname		spe-${version}-wx2.6.1.0
checksums		md5 55230b8b643b273912a1d6c3163cca27 \
			sha1 09d89c347976d984cd1e2c9c0c14d999520c8219

depends_lib-append	port:py26-wxpython
depends_run		port:py26-checker

worksrcdir		spe-${version}

patch {
	reinplace "s|/usr/bin/env python|${prefix}/bin/pythonw2.6|1" ${worksrcpath}/_spe/spe
}

post-destroot {
	file delete ${destroot}${prefix}/bin/spe_wininst.py
}
