# -*- 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 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem	        1.0
PortGroup	        python 1.0

name                py-traitsbackendwx
version             3.6.0
revision            1
categories-append   devel
maintainers         nomaintainer
description         The Enthought traitsgui WX backend
long_description    WX backend for traits GUI
platforms           darwin
homepage            http://code.enthought.com/projects/traits_gui/
distfiles

python.versions     26 27

if {${name} ne ${subport}} {
    replaced_by             py${python.version}-pyface
} else {
    replaced_by             py-pyface
}

pre-configure {
    ui_error "Please do not install this port since it has been replaced by py-pyface."
    return -code error
}
