[125222] trunk/dports/net/canto/Portfile

jmr at macports.org jmr at macports.org
Wed Sep 10 10:17:35 PDT 2014


Revision: 125222
          https://trac.macports.org/changeset/125222
Author:   jmr at macports.org
Date:     2014-09-10 10:17:35 -0700 (Wed, 10 Sep 2014)
Log Message:
-----------
canto: use unified python portgroup

Modified Paths:
--------------
    trunk/dports/net/canto/Portfile

Modified: trunk/dports/net/canto/Portfile
===================================================================
--- trunk/dports/net/canto/Portfile	2014-09-10 17:12:14 UTC (rev 125221)
+++ trunk/dports/net/canto/Portfile	2014-09-10 17:17:35 UTC (rev 125222)
@@ -2,7 +2,7 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
 name                canto
 version             0.6.13
@@ -21,11 +21,13 @@
 checksums           md5 7836cf54cbb0af48d3d68a8aa86432b7 \
                     sha1 e86e0980cee126a6eeff5ef4c8effba41ff3245b
 
+python.default_version  26
+
 depends_lib         port:ncurses \
-                    port:py26-feedparser \
-                    port:py26-chardet
+                    port:py${python.version}-feedparser \
+                    port:py${python.version}-chardet
 
 
 post-destroot {
-    ln -s ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/bin/canto ${prefix}/bin/canto
+    ln -s ${python.prefix}/bin/canto ${prefix}/bin/canto
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140910/dd52f6f9/attachment.html>


More information about the macports-changes mailing list