Revision: 149514 https://trac.macports.org/changeset/149514 Author: sean@macports.org Date: 2016-06-23 15:52:37 -0700 (Thu, 23 Jun 2016) Log Message: ----------- mercurial: update to 3.8.3 Modified Paths: -------------- trunk/dports/devel/mercurial/Portfile Modified: trunk/dports/devel/mercurial/Portfile =================================================================== --- trunk/dports/devel/mercurial/Portfile 2016-06-23 22:52:34 UTC (rev 149513) +++ trunk/dports/devel/mercurial/Portfile 2016-06-23 22:52:37 UTC (rev 149514) @@ -5,7 +5,7 @@ PortGroup python 1.0 PortGroup bitbucket 1.0 -bitbucket.setup seanfarley mercurial 3.7.3 +bitbucket.setup seanfarley mercurial 3.8.3 categories devel python license GPL-2+ maintainers sean openmaintainer @@ -26,8 +26,8 @@ homepage http://www.selenic.com/mercurial/ platforms darwin -checksums rmd160 b24519672ffd11b13716804e4503e6f581cfa873 \ - sha256 d87f896f818378d4870fa471bc05ad8117dc00e4bcd4f5626e893c1b2ebe99ba +checksums rmd160 7fc0d6831b609e156fdd7cb9a5c85b72420c8886 \ + sha256 b1797e6158721e36eefd1716dd4f2f187710f34f01eff0b595e7993128759b05 depends_build port:py27-docutils @@ -51,19 +51,15 @@ conflicts mercurial chg checksums rmd160 c5c3c02ad46560d7e5f5c65bbfa2199ca925bbf0 \ sha256 3f9392666199f501d3a9d896ee6d5ac23c102b968c420f2b59cdea63c96ff977 +} - # chg is not part of core Mercurial - post-build { - system -W ${worksrcpath}/contrib/chg "${build.cmd} CC=\"${configure.cc} \ - [get_canonical_archflags]\" CFLAGS=${configure.cflags} \ - CPPFLAGS='-DHGPATH=\\\"${prefix}/bin/hg\\\"' \ - PYTHON=${prefix}/bin/python2.7 HG=${prefix}/bin/hg \ - HGEXTDIR=${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/hgext" - } - - post-destroot { - file copy ${worksrcpath}/contrib/chg/chg ${destroot}${prefix}/bin - } +# chg is not installed by default yet +post-build { + system -W ${worksrcpath}/contrib/chg "${build.cmd} CC=\"${configure.cc} \ + [get_canonical_archflags]\" CFLAGS=${configure.cflags} \ + CPPFLAGS='-DHGPATH=\\\"${prefix}/bin/hg\\\"' \ + PYTHON=${prefix}/bin/python2.7 HG=${prefix}/bin/hg \ + HGEXTDIR=${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/hgext" } post-destroot { @@ -100,6 +96,9 @@ # copy hgk, the visual history browser file copy ${worksrcpath}/contrib/hgk ${destroot}${prefix}/bin/hgk + # copy chg + file copy ${worksrcpath}/contrib/chg/chg ${destroot}${prefix}/bin + if {[variant_isset bash_completion]} { set completions_path ${prefix}/share/bash-completion/completions xinstall -d ${destroot}${completions_path}
participants (1)
-
sean@macports.org