Revision: 74699 http://trac.macports.org/changeset/74699 Author: snc@macports.org Date: 2010-12-29 12:21:57 -0800 (Wed, 29 Dec 2010) Log Message: ----------- dot2tex: * fix permissions during extract * create and default to python27 Modified Paths: -------------- trunk/dports/python/dot2tex/Portfile Modified: trunk/dports/python/dot2tex/Portfile =================================================================== --- trunk/dports/python/dot2tex/Portfile 2010-12-29 20:17:37 UTC (rev 74698) +++ trunk/dports/python/dot2tex/Portfile 2010-12-29 20:21:57 UTC (rev 74699) @@ -18,15 +18,14 @@ homepage http://www.fauskes.net/code/dot2tex master_sites googlecode checksums md5 439dd042e8e7129d3d551808b21d19d4 \ - sha1 57f4a480e9ee1738d6cea094061a000003435384 \ - rmd160 b57981fc01ce151da101c6d8c46702a14d733a54 + sha1 57f4a480e9ee1738d6cea094061a000003435384 livecheck.regex <a href="http://dot2tex.googlecode.com/files/dot2tex-(.*)\.tar\.gz" depends_run bin:dot:graphviz bin:latex:texlive bin:pdflatex:texlive -if {![variant_isset python25] && ![variant_isset python26]} { - default_variants +python26 +if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python27]} { + default_variants +python27 } if {[variant_isset python25]} { @@ -37,14 +36,30 @@ PortGroup python26 1.0 } -variant python25 conflicts python26 { +if {[variant_isset python27]} { + PortGroup python27 1.0 +} + +variant python25 conflicts python26 python27 { depends_lib-append port:py25-parsing } -variant python26 conflicts python25 { +variant python26 conflicts python25 python27 { depends_lib-append port:py26-parsing } +variant python27 conflicts python25 python26 { + depends_lib-append port:py27-parsing +} + +post-extract { + fs-traverse dir ${workpath} { + if {[file isdirectory ${dir}]} { + file attributes ${dir} -permissions 0755 + } + } +} + set python.link_binaries 1 livecheck.url ${homepage}/download/
participants (1)
-
snc@macports.org