Ticket #33047: Portfile

File Portfile, 1.2 KB (added by alex_a_bordeaux@…, 13 years ago)
Line 
1# $Id: Portfile 68028 2010-05-25 01:06:18Z jmr@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-tahchee
7version                 0.9.8
8python.versions        24 25 26 27
9python.default_version  27
10categories              python www
11platforms               darwin
12maintainers             gmx.net:alex_a_bordeaux
13description             build static web sites with the Cheetah template system
14long_description        Tahchee is a tool for developers and Web designers that \
15                                makes it possible to easily build a static Web site using the \
16                                Cheetah template system.
17homepage                http://www.ivy.fr/tahchee/
18master_sites    ${homepage}
19distname                tahchee-${version}
20checksums               sha1 5657fd9b8ae6c2f825f75f06aceace7fa7695d82
21
22if {$subport != $name} {
23            depends_lib     port:py${python.version}-cheetah
24}
25
26extract.post_args       "| tar -xf - --exclude '.MANUAL.txt.swp'"
27
28post-destroot {
29        file delete -force ${destroot}${prefix}/share/doc/${name}
30        file copy ${worksrcpath}/Documentation ${destroot}${prefix}/share/doc/${name}
31        file rename ${destroot}${prefix}/share/doc/${name}/Example \
32                ${destroot}${prefix}/share/doc/${name}/examples
33}
34
35livecheck.type  regex
36livecheck.url   http://www.ivy.fr/tahchee/downloads.html
37livecheck.regex tahchee-(\[0-9\.\]+).tar.gz