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

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

py{24,25,26}-htmltemplate: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 130514 2014-12-31 03:36:15Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-htmltemplate
7version                 1.5.0
8categories-append       textproc
9license                 MIT
10platforms               darwin
11supported_archs noarch
12maintainers             nomaintainer
13description             HTML template engine for python
14long_description        HTMLTemplate converts HTML/XHTML templates into simple \
15                                Python object models that can be manipulated through \
16                                callback functions in your scripts.
17
18homepage                http://freespace.virgin.net/hamish.sanderson/htmltemplate.html
19master_sites            http://cheeseshop.python.org/packages/source/H/HTMLTemplate/
20distname                HTMLTemplate-${version}
21checksums               md5     c6f3f9d00373319df1ddb4b94327d0a7 \
22                                sha1    e538e19074df19a171ff873e115e01d69ed32464 \
23                                rmd160  27647bdf7e2d3511169d83afc3ee31d950536ccb
24
25python.versions 27
26
27if {${name} ne ${subport}} {
28    post-destroot {
29        eval xinstall -m 644 [glob ${worksrcpath}/doc/*] \
30            ${destroot}${prefix}/share/doc/${subport}
31        xinstall -m 755 -d ${destroot}${prefix}/share/examples/${subport}
32        eval xinstall -m 644 [glob ${worksrcpath}/sample/*] \
33            ${destroot}${prefix}/share/examples/${subport}
34    }
35}
Note: See TracBrowser for help on using the repository browser.