Ticket #19092: Portfile

File Portfile, 1.4 KB (added by steenzout (Pedro Salgado), 16 years ago)

Portfile for Cherrypy3

Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5PortGroup           python25 1.0
6
7name                py25-cherrypy3
8version             3.1.1
9categories          python www
10maintainers         akitada openmaintainer
11description         Object-Oriented HTTP framework
12long_description    CherryPy is a pythonic, object-oriented web \
13                    development framework. CherryPy allows developers \
14                    to build web applications in much the same way \
15                    they would build any other object-oriented Python \
16                    program. This usually results in smaller source \
17                    code developed in less time.
18platforms           darwin
19homepage            http://www.cherrypy.org/
20master_sites        http://download.cherrypy.org/cherrypy/${version}/
21distname            CherryPy-${version}
22checksums           md5 3a37c6eae833324897f298191ff11ae2 \
23                    sha1 0a8aace00ea28adc05edd41e20dd910042e6d265 \
24                    rmd160 1d5975ade0b511ad5f116c398938c87ce38d323f
25post-destroot {
26    xinstall -m 644 -W ${worksrcpath} \
27        README.txt ${destroot}${prefix}/share/doc/${name}
28    move ${destroot}${prefix}/lib/python2.5/site-packages/cherrypy/tutorial \
29        ${destroot}${prefix}/share/doc/${name}
30}