# -*- 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 95717 2012-07-20 01:45:21Z jmr@macports.org $

PortSystem	            1.0
PortGroup	            python 1.0

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

python.versions         25 26 27
python.default_version  25

if {$subport != $name} {
    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
}
