Ticket #27854: mercurial-1.7.3-cacerts.patch

File mercurial-1.7.3-cacerts.patch, 1.7 KB (added by dackze+macports@…, 13 years ago)
  • files/hgrc

     
     1[web]
     2cacerts = %%PREFIX%%/share/curl/curl-ca-bundle.crt
  • Portfile

     
    55PortGroup           python26 1.0
    66
    77name                mercurial
    8 version             1.7.2
     8version             1.7.3
    99categories          devel python
     10license             GPLv2+
    1011maintainers         deric
    1112description         A fast, lightweight, distributed SCM system written in \
    1213                    Python.
     
    2627homepage            http://www.selenic.com/mercurial/
    2728platforms           darwin
    2829master_sites        http://mercurial.selenic.com/release/
    29 checksums           md5     e9e99a0a20ded8f6d9463ffb94021b12 \
    30                     sha1    808b009ce4cbba1c6bfe601b9d34dcdb55b69c5e \
    31                     rmd160  492131a443103b1d5a7cb340c7d216b544fe8c8b
     30checksums           md5     1d635ad307fa20a5e9c6afba6145a73b \
     31                    sha1    32b513e194f1687910caae5b0bb2a0736abb9a3a \
     32                    rmd160  490407d078b92573fa0ce809becc14abe1407763
    3233
     34depends_run         port:curl-ca-bundle
     35
    3336post-destroot {
     37    # configure ssl certificates
     38    xinstall -d -m 755 ${destroot}${prefix}/etc/mercurial
     39    xinstall -m 644 ${filespath}/hgrc \
     40        ${destroot}${prefix}/etc/mercurial/hgrc
     41    reinplace "s|%%PREFIX%%|${prefix}|g" \
     42        ${destroot}${prefix}/etc/mercurial/hgrc
     43
    3444    # install html docs
    3545    xinstall -m 644 -W ${worksrcpath}/doc hg.1.html hgrc.5.html hgignore.5.html \
    3646            ${destroot}${prefix}/share/doc/${name}