# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 110279 2013-08-29 14:19:20Z mojca@macports.org $

PortSystem          1.0
PortGroup           python 1.0
PortGroup           wxWidgets 1.0

name                spe
version             0.8.4.h
revision            1
categories          editors python
license             GPL-2+
platforms           darwin
supported_archs     noarch
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

python.default_version 26

depends_lib-append  port:py26-wxpython-2.8
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
}
