Ticket #14235: py-cheetah.diff

File py-cheetah.diff, 1.5 KB (added by ebgssth@…, 16 years ago)

patch for py-cheetah

  • py-cheetah/Portfile

     
    1919homepage                http://www.cheetahtemplate.org/
    2020master_sites    sourceforge:cheetahtemplate
    2121distname                Cheetah-${version}
    22 checksums               sha1 6c1aab90bf2d34f3f72998c96ff2767d870a5e7d
     22checksums               sha1 6c1aab90bf2d34f3f72998c96ff2767d870a5e7d \
     23                        rmd160 9e8ef0afc4eabd1349e4228f5ad78551f7bddbe4
    2324
    2425post-destroot {
    2526        xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README TODO \
  • py25-cheetah/Portfile

     
    44PortGroup python25 1.0
    55
    66name                    py25-cheetah
    7 version                 2.0
     7version                 2.0.1
    88categories              python www
    99platforms               darwin
    1010maintainers             stechert@macports.org
     
    1919homepage                http://www.cheetahtemplate.org/
    2020master_sites    sourceforge:cheetahtemplate
    2121distname                Cheetah-${version}
    22 checksums               sha1 db234e14f4b2a6a8e3a94cf7b06207ea78c519b2
     22checksums               sha1 6c1aab90bf2d34f3f72998c96ff2767d870a5e7d \
     23                        rmd160 9e8ef0afc4eabd1349e4228f5ad78551f7bddbe4
    2324
    2425post-destroot {
    2526        xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README TODO \
    2627                ${destroot}${prefix}/share/doc/${name}
     28        foreach f {cheetah cheetah-compile} {
     29                file rename ${destroot}${prefix}/bin/${f} \
     30                        ${destroot}${prefix}/bin/${f}-2.5
     31        }
    2732}
    2833
    2934livecheck.check regex