# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 116220 2014-01-21 21:14:00Z snc@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-turbogears
version             1.0.4.4
license             MIT
maintainers         akitada openmaintainer
description         front-to-back rapid web development
long_description    TurboGears brings together four major pieces to \
                    create an easy to install, easy to use web \
                    megaframework. It covers everything from front end \
                    (MochiKit JavaScript for the browser, \
                    Kid/Genshi/Mako/Cheetah for templates in Python) \
                    to the controllers (CherryPy) to the back end \
                    (SQLAlchemy or SQLObject). \
                    \
                    The TurboGears project is focused on providing \
                    documentation and integration with these tools \
                    without losing touch with the communities that \
                    already exist around those tools. \
                    \
                    TurboGears is easy to use for a wide range of \
                    web applications. \
                    \
                    The latest development version is available in the \
                    TurboGears subversion repository. \
                    \
                    Our mailing list is lively and helpful, don't \
                    hesitate to send your questions there, we will try \
                    to help you find out a solution to your problem.
platforms           darwin
supported_archs     noarch
homepage            http://www.turbogears.org/
master_sites        http://pypi.python.org/packages/source/T/TurboGears/
distname            TurboGears-${version}
checksums           md5 a03a66fcf7d687fd7bd4205a01fd21dd \
                    sha1 7788fb655e3c276cfdd70bd0111989f4d4d140fa \
                    rmd160 ae54857e82961345a69c5eda8fe23543a2639e41

python.versions     25

if {${name} ne ${subport}} {
    depends_lib         port:py${python.version}-cherrypy \
                        port:py${python.version}-configobj \
                        port:py${python.version}-decoratortools \
                        port:py${python.version}-formencode \
                        port:py${python.version}-pastescript \
                        port:py${python.version}-ruledispatch \
                        port:py${python.version}-setuptools \
                        port:py${python.version}-simplejson \
                        port:py${python.version}-turbocheetah \
                        port:py${python.version}-turbojson \
                        port:py${python.version}-turbokid
    post-destroot {
        xinstall -m 644 -W ${worksrcpath} \
            CHANGELOG.txt CONTRIBUTORS.txt LICENSE.txt README.txt \
             ${destroot}${prefix}/share/doc/${subport}
    }
}
