Ticket #19283: Portfile.diff

File Portfile.diff, 1.0 KB (added by akitada@…, 15 years ago)
  • Portfile

     
    11# $Id$
    22
    33PortSystem          1.0
    4 PortGroup           python25 1.0
     4PortGroup           python26 1.0
    55
    66name                mercurial
    77version             1.2.1
     8revision            1
    89categories          devel python
    910maintainers         deric
    1011description         A fast, lightweight, distributed SCM system written in \
     
    2930                    sha1    f40282bbb17fedb08b16aa7a4eeb1da7b6a6f1cb \
    3031                    rmd160  37c94e5ef9cdc639fe23622ddaf97b2230ec2216
    3132
    32 depends_lib-append  port:py25-zlib port:py25-hashlib port:py25-bz2
    33 
    3433post-destroot {
    3534    # install html docs
    3635    xinstall -m 644 -W ${worksrcpath}/doc hg.1.html hgrc.5.html hgignore.5.html \
     
    6968variant zsh_completion description {Install mercurial zsh completion file} {
    7069    depends_run-append path:${prefix}/bin/zsh:zsh
    7170}
     71
     72post-destroot {
     73    ln -s ${python.prefix}/bin/hg ${destroot}${prefix}/bin/
     74}