[46534] trunk/dports/python/dot2tex/Portfile

snc at macports.org snc at macports.org
Fri Feb 6 05:42:46 PST 2009


Revision: 46534
          http://trac.macports.org/changeset/46534
Author:   snc at macports.org
Date:     2009-02-06 05:42:46 -0800 (Fri, 06 Feb 2009)
Log Message:
-----------
fixed various things in portfile; does anyone know anything about using PortGroup in variants?

Modified Paths:
--------------
    trunk/dports/python/dot2tex/Portfile

Modified: trunk/dports/python/dot2tex/Portfile
===================================================================
--- trunk/dports/python/dot2tex/Portfile	2009-02-06 13:32:28 UTC (rev 46533)
+++ trunk/dports/python/dot2tex/Portfile	2009-02-06 13:42:46 UTC (rev 46534)
@@ -14,8 +14,7 @@
    output from Graphviz to a series of PSTricks or PGF/TikZ commands.
 
 homepage            http://www.fauskes.net/code/dot2tex/
-master_sites        googlecode:dot2tex
-distname            dot2tex-${version}
+master_sites        googlecode
 checksums           md5     e63d164fad5722290646cb200dcfcb61 \
                     sha1    0b091309857278126a09fb4f15cda5ed3b3d1020 \
                     rmd160  4ed95632f9d356e070fe361e1c07b98da36cfed2
@@ -24,7 +23,9 @@
 
 depends_run         bin:dot:graphviz bin:latex:texlive bin:pdflatex:texlive
 
-default_variants    +python25
+if {![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26]} {
+	default_variants    +python25
+}
 
 variant python24 conflicts python25 python26 {
     PortGroup           python24 1.0
@@ -46,4 +47,4 @@
       ${destroot}${prefix}/share/doc/${name}
    eval file copy [glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/${name}/
    eval xinstall -m 644 [glob examples/*] ${destroot}${prefix}/share/doc/${name}/examples
-}
\ No newline at end of file
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090206/78079f3c/attachment.html>


More information about the macports-changes mailing list