1 | # $Id: Portfile 68028 2010-05-25 01:06:18Z jmr@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python 1.0 |
---|
5 | |
---|
6 | name py-tahchee |
---|
7 | version 0.9.8 |
---|
8 | python.versions 24 25 26 27 |
---|
9 | python.default_version 27 |
---|
10 | categories python www |
---|
11 | platforms darwin |
---|
12 | maintainers gmx.net:alex_a_bordeaux |
---|
13 | description build static web sites with the Cheetah template system |
---|
14 | long_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. |
---|
17 | homepage http://www.ivy.fr/tahchee/ |
---|
18 | master_sites ${homepage} |
---|
19 | distname tahchee-${version} |
---|
20 | checksums sha1 5657fd9b8ae6c2f825f75f06aceace7fa7695d82 |
---|
21 | |
---|
22 | if {$subport != $name} { |
---|
23 | depends_lib port:py${python.version}-cheetah |
---|
24 | } |
---|
25 | |
---|
26 | extract.post_args "| tar -xf - --exclude '.MANUAL.txt.swp'" |
---|
27 | |
---|
28 | post-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 | |
---|
35 | livecheck.type regex |
---|
36 | livecheck.url http://www.ivy.fr/tahchee/downloads.html |
---|
37 | livecheck.regex tahchee-(\[0-9\.\]+).tar.gz |
---|