Ticket #28639: Portfile

File Portfile, 1.5 KB (added by freespace+macforge@…, 13 years ago)

py26-cherrypy Portfile

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: Portfile 44419 2008-12-28 09:31:44Z akitada@macports.org $
3
4PortSystem          1.0
5PortGroup           python26 1.0
6
7name                py26-cherrypy
8version             2.3.0
9categories          python www
10maintainers         freespace@gmail.com 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 80ce0f666f2899d4e681432e4061db16 \
23                    sha1 067121c5f31442519ac07138ffe8af6f7c7465d2 \
24                    rmd160 4c95735b17d58c431f1dbf685500d2a1ca8e38d8
25post-destroot {
26    xinstall -m 644 -W ${worksrcpath} \
27        CHANGELOG.txt CHERRYPYTEAM.txt README.txt \
28        ${destroot}${prefix}/share/doc/${name}
29    move ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/cherrypy/tutorial \
30        ${destroot}${prefix}/share/doc/${name}
31}