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

Last change on this file was 135997, checked in by ryandesign@…, 2 years ago

py-tahchee: append to depends_lib rather than overwriting it

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 135997 2015-05-09 09:29:22Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-tahchee
7version                 0.9.8
8python.versions         26 27
9categories              python www
10platforms               darwin
11maintainers             gmx.net:alex_a_bordeaux
12description             build static web sites with the Cheetah template system
13long_description        Tahchee is a tool for developers and Web designers that \
14                                makes it possible to easily build a static Web site using the \
15                                Cheetah template system.
16homepage                http://www.ivy.fr/tahchee/
17master_sites    ${homepage}
18distname                tahchee-${version}
19checksums               sha1 5657fd9b8ae6c2f825f75f06aceace7fa7695d82
20
21if {${name} ne ${subport}} {
22    depends_lib-append  port:py${python.version}-cheetah
23
24    extract.post_args   "| tar -xf - --exclude '.MANUAL.txt.swp'"
25
26    post-destroot {
27        file delete -force ${destroot}${prefix}/share/doc/${subport}
28        file copy ${worksrcpath}/Documentation ${destroot}${prefix}/share/doc/${subport}
29        file rename ${destroot}${prefix}/share/doc/${subport}/Example \
30            ${destroot}${prefix}/share/doc/${subport}/examples
31    }
32}
33
34livecheck.type  regex
35livecheck.url   http://www.ivy.fr/tahchee/downloads.html
36livecheck.regex tahchee-(\[0-9\.\]+).tar.gz
Note: See TracBrowser for help on using the repository browser.