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

snc at macports.org snc at macports.org
Wed Feb 3 23:29:23 PST 2010


Revision: 63403
          http://trac.macports.org/changeset/63403
Author:   snc at macports.org
Date:     2010-02-03 23:29:22 -0800 (Wed, 03 Feb 2010)
Log Message:
-----------
rely on pythonXX group for binary linking, #23410

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

Modified: trunk/dports/python/dot2tex/Portfile
===================================================================
--- trunk/dports/python/dot2tex/Portfile	2010-02-04 04:54:43 UTC (rev 63402)
+++ trunk/dports/python/dot2tex/Portfile	2010-02-04 07:29:22 UTC (rev 63403)
@@ -29,22 +29,23 @@
 	default_variants    +python26
 }
 
+if {[variant_isset python25]} {
+    PortGroup python25 1.0
+}
+
+if {[variant_isset python26]} {
+    PortGroup python26 1.0
+}
+
 variant python25 conflicts python26 {
-    PortGroup           python25 1.0
     depends_lib-append  port:py25-parsing
 }
 
 variant python26 conflicts python25 {
-    PortGroup           python26 1.0
     depends_lib-append  port:py26-parsing
 }
 
-post-destroot {
-   xinstall -m 644 -W ${worksrcpath} README.txt changelog.txt \
-      ${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
-}
+set python.link_binaries 1
 
 livecheck.url       ${homepage}/download/
 livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100203/c50d5553/attachment.html>


More information about the macports-changes mailing list