source: trunk/dports/python/py-nevow/Portfile

Last change on this file was 130623, checked in by larryv@…, 3 years ago

py25-nevow: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 130623 2015-01-02 04:49:44Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-nevow
7version                 0.9.33
8revision                0
9license                 MIT
10platforms               darwin
11supported_archs noarch
12maintainers             nomaintainer
13description             A Web Application Construction Kit
14long_description        Nevow is a next-generation web application templating \
15                                        system, based on the ideas developed in the Twisted Woven \
16                                        package. Its main focus is on separating the HTML template \
17                                        from both the business logic and the display logic, while \
18                                        allowing the programmer to write pure Python code as much \
19                                        as possible.
20
21distname                Nevow-${version}
22homepage                http://divmod.org/trac/wiki/DivmodNevow
23master_sites            http://divmod.org/trac/attachment/wiki/SoftwareReleases/${distfiles}?format=raw&dummy= \
24                    http://distfiles.macports.org/python/
25checksums               md5     328898bca9a45904d42e2962250fb4a7 \
26                        sha1    862ecf171c398d79887cdd9122709bff139a4e72 \
27                        rmd160  d3d953758499bf0f5af23df38ca7fdc6b1d26834
28
29python.versions 27
30
31if {${name} ne ${subport}} {
32    depends_lib-append  port:py${python.version}-twisted
33
34    post-destroot {
35        xinstall -d ${destroot}${prefix}/share/doc/${subport}
36        file copy ${worksrcpath}/doc/ \
37            ${destroot}${prefix}/share/doc/${subport}
38        file delete ${destroot}${prefix}/share/doc/${subport}/examples
39        file copy ${worksrcpath}/examples \
40            ${destroot}${prefix}/share/doc/${subport}/examples
41        xinstall -m 644 -W ${worksrcpath} LICENSE README \
42            ${destroot}${prefix}/share/doc/${subport}
43    }
44}
Note: See TracBrowser for help on using the repository browser.