# -*- 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$

PortSystem          1.0
PortGroup python    1.0

name                py-pmw
version             1.3.3a
maintainers         macsforever2000
platforms           darwin
license             MIT

description         high-level compound widget toolkit
long_description    Pmw is a toolkit for building high-level compound widgets in Python using \
                    the Tkinter module.

homepage            http://pmw.sourceforge.net/
master_sites        sourceforge:pmw
distname            Pmw_[string map {. _} ${version}]

checksums           rmd160  8646f857f20615671422d6275ed2b8126cc1d0ea \
                    sha256  46abf4f0ac3c51e3b65e350543e08bb92f4ac93bd47d23e3d072bc9d5f7a815b

supported_archs     noarch

python.versions     24 25 26 27

worksrcdir          Pmw

if {$subport != $name} {
    depends_lib-append  port:py${python.version}-tkinter
}

livecheck.type      regex
livecheck.url       http://sourceforge.net/projects/pmw/files/
livecheck.regex     Pmw.(\[0-9.\]\\.\[0-9.\]\\.\[0-9.\]).tar.gz