[120718] trunk/dports/devel/mercurial/Portfile
sean at macports.org
sean at macports.org
Thu Jun 5 20:52:49 PDT 2014
Revision: 120718
https://trac.macports.org/changeset/120718
Author: sean at macports.org
Date: 2014-06-05 20:52:49 -0700 (Thu, 05 Jun 2014)
Log Message:
-----------
mercurial: update to 3.0.1, add missing mergetools, and drop use of name variable
Modified Paths:
--------------
trunk/dports/devel/mercurial/Portfile
Modified: trunk/dports/devel/mercurial/Portfile
===================================================================
--- trunk/dports/devel/mercurial/Portfile 2014-06-06 03:52:44 UTC (rev 120717)
+++ trunk/dports/devel/mercurial/Portfile 2014-06-06 03:52:49 UTC (rev 120718)
@@ -5,8 +5,7 @@
PortGroup python 1.0
PortGroup bitbucket 1.0
-bitbucket.setup seanfarley mercurial 3.0
-revision 0
+bitbucket.setup seanfarley mercurial 3.0.1
categories devel python
license GPL-2+
maintainers deric sean openmaintainer
@@ -27,8 +26,8 @@
homepage http://www.selenic.com/mercurial/
platforms darwin
-checksums rmd160 2f71e8b363f2583e73c4b84f67f977ad628e9228 \
- sha256 ae4baf1fdd3f8943c84104f9aef1efe63cd9f72c39fce351664bd414e79e808a
+checksums rmd160 1bf9678ea4bcaebc91690a8740b5731c4666c004 \
+ sha256 e5e78191488da06f223521830ce6f7495d7f6e15d31efc2569150e5cf7120dbb
depends_build port:py27-docutils
@@ -57,6 +56,8 @@
post-destroot {
# configure ssl certificates
xinstall -d -m 755 ${destroot}${prefix}/etc/mercurial
+ xinstall -d -m 755 ${destroot}${prefix}/etc/mercurial/hgrc.d
+ xinstall -d -m 755 ${destroot}${prefix}/share/doc/mercurial
xinstall -m 644 ${filespath}/hgrc \
${destroot}${prefix}/etc/mercurial/hgrc.default
reinplace "s|%%PREFIX%%|${prefix}|g" \
@@ -64,14 +65,16 @@
# install html docs
xinstall -m 644 -W ${worksrcpath}/doc hg.1.txt hgrc.5.txt hgignore.5.txt \
- ${destroot}${prefix}/share/doc/${name}
+ ${destroot}${prefix}/share/doc/mercurial
# install contrib
- xinstall -d -m 755 ${destroot}${prefix}/share/${name}
- file copy ${worksrcpath}/contrib ${destroot}${prefix}/share/${name}/contrib
+ xinstall -d -m 755 ${destroot}${prefix}/share/mercurial
+ file copy ${worksrcpath}/contrib ${destroot}${prefix}/share/mercurial/contrib
+ file copy ${worksrcpath}/contrib/mergetools.hgrc ${destroot}${prefix}/etc/mercurial/hgrc.d/mergetools.rc
+
# copy hgweb.cgi hgwebdir.cgi
- file copy ${worksrcpath}/hgweb.cgi ${destroot}${prefix}/share/${name}/
+ file copy ${worksrcpath}/hgweb.cgi ${destroot}${prefix}/share/mercurial/
# copy hgk, the visual history browser
file copy ${worksrcpath}/contrib/hgk ${destroot}${prefix}/bin/hgk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140605/0ef6ce56/attachment.html>
More information about the macports-changes
mailing list