[51674] trunk/dports/devel/mercurial/Portfile

akitada at macports.org akitada at macports.org
Sun May 31 02:13:42 PDT 2009


Revision: 51674
          http://trac.macports.org/changeset/51674
Author:   akitada at macports.org
Date:     2009-05-31 02:13:42 -0700 (Sun, 31 May 2009)
Log Message:
-----------
[Ticket #19283] Updated mercurial port to use python26.

Modified Paths:
--------------
    trunk/dports/devel/mercurial/Portfile

Modified: trunk/dports/devel/mercurial/Portfile
===================================================================
--- trunk/dports/devel/mercurial/Portfile	2009-05-31 08:54:44 UTC (rev 51673)
+++ trunk/dports/devel/mercurial/Portfile	2009-05-31 09:13:42 UTC (rev 51674)
@@ -1,10 +1,11 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python25 1.0
+PortGroup           python26 1.0
 
 name                mercurial
 version             1.2.1
+revision            1
 categories          devel python
 maintainers         deric
 description         A fast, lightweight, distributed SCM system written in \
@@ -29,8 +30,6 @@
                     sha1    f40282bbb17fedb08b16aa7a4eeb1da7b6a6f1cb \
                     rmd160  37c94e5ef9cdc639fe23622ddaf97b2230ec2216
 
-depends_lib-append  port:py25-zlib port:py25-hashlib port:py25-bz2
-
 post-destroot {
     # install html docs
     xinstall -m 644 -W ${worksrcpath}/doc hg.1.html hgrc.5.html hgignore.5.html \
@@ -69,3 +68,7 @@
 variant zsh_completion description {Install mercurial zsh completion file} {
     depends_run-append path:${prefix}/bin/zsh:zsh
 }
+
+post-destroot {
+    ln -s ${python.prefix}/bin/hg ${destroot}${prefix}/bin/
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090531/28fffd59/attachment.html>


More information about the macports-changes mailing list