# -*- 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 44419 2008-12-28 09:31:44Z akitada@macports.org $

PortSystem          1.0
PortGroup           python24 1.0

name                py-cherrypy3
version             3.0.3
categories          python www
maintainers         akitada openmaintainer
description         Object-Oriented HTTP framework
long_description    CherryPy is a pythonic, object-oriented web \
                    development framework. CherryPy allows developers \
                    to build web applications in much the same way \
                    they would build any other object-oriented Python \
                    program. This usually results in smaller source \
                    code developed in less time.
platforms           darwin
homepage            http://www.cherrypy.org/
master_sites        http://download.cherrypy.org/cherrypy/${version}/
distname            CherryPy-${version}
checksums           md5 a9c5efd94ff1b87f0f1cc29d09875670 \
                    sha1 dc5ab2ac2a1c0065f03e12374a782094f9e94ba9 \
                    rmd160 86b023b5a3a957ca05d05aba3b95e0d6d2eb111a
post-destroot {
    xinstall -m 644 -W ${worksrcpath} \
        README.txt ${destroot}${prefix}/share/doc/${name}
    move ${destroot}${prefix}/lib/python2.4/site-packages/cherrypy/tutorial \
        ${destroot}${prefix}/share/doc/${name}
}
