Ticket #23052: Portfile

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