Ticket #14808: Portfile.patch

File Portfile.patch, 1.7 KB (added by gonufer@…, 17 years ago)

My patch which also uses python 2.5

  • Portfile

    old new  
    11# $Id: Portfile 30130 2007-10-20 21:32:02Z deric@macports.org $
    22
    33PortSystem          1.0
    4 PortGroup           python24 1.0
     4PortGroup           python25 1.0
    55name                mercurial
    6 version             0.9.5
     6version             1.0
    77categories          devel python
    88maintainers         deric@macports.org
    99description         A fast, lightweight, distributed SCM system written in \
     
    2323                   
    2424homepage            http://www.selenic.com/mercurial/
    2525master_sites        ${homepage}release/
    26 checksums           md5 a9dd54bcb87ca332315ce83293816e37 \
    27                     sha1 889a83f4cdcead93323d7cf4276751cc20396455 \
    28                     rmd160 ea38d3142a4b1087e2777de3b70df8b4672cd237
     26checksums           md5 9f8dd7fa6f8886f77be9b923f008504c \
     27                    sha1 11689e85a91874417cb110ded6c3a4d7b30429cb \
     28                    rmd160 21b5603e033898420f4fbf1b851ede4f69a7657c
     29
     30depends_lib-append  port:py25-zlib port:py25-hashlib
    2931
    3032post-destroot {
    3133    # install html docs
    32     xinstall -m 644 -W ${worksrcpath}/doc hg.1.html hgmerge.1.html hgrc.5.html hgignore.5.html \
     34    xinstall -m 644 -W ${worksrcpath}/doc hg.1.html hgrc.5.html hgignore.5.html \
    3335            ${destroot}/${prefix}/share/doc/${name}
    3436       
    3537    # install man pages
    36     xinstall -m 444 -W ${worksrcpath}/doc hg.1 hgmerge.1 \
     38    xinstall -m 444 -W ${worksrcpath}/doc hg.1 \
    3739        ${destroot}/${prefix}/share/man/man1
    3840    xinstall -m 444 -W ${worksrcpath}/doc hgrc.5 hgignore.5 \
    3941        ${destroot}/${prefix}/share/man/man5