[138543] users/dports/ports/tex/texlive-latex-recommended/Portfile

dports at macports.org dports at macports.org
Sat Jul 11 13:39:26 PDT 2015


Revision: 138543
          https://trac.macports.org/changeset/138543
Author:   dports at macports.org
Date:     2015-07-11 13:39:26 -0700 (Sat, 11 Jul 2015)
Log Message:
-----------
[texlive 2015]
texlive-latex-recommended: add appropriate registry_deactivate hacks

Modified Paths:
--------------
    users/dports/ports/tex/texlive-latex-recommended/Portfile

Modified: users/dports/ports/tex/texlive-latex-recommended/Portfile
===================================================================
--- users/dports/ports/tex/texlive-latex-recommended/Portfile	2015-07-11 19:50:11 UTC (rev 138542)
+++ users/dports/ports/tex/texlive-latex-recommended/Portfile	2015-07-11 20:39:26 UTC (rev 138543)
@@ -31,4 +31,18 @@
 # beamer requires pgf; see #25478
 depends_lib-append port:pgf
 
+# Handle conflicts for TL2015 upgrade
+pre-activate {
+    if { ![catch {set vers [lindex [registry_active texlive-xetex] 0]}]
+         && ([vercmp [lindex $vers 1] 37409] < 0) } {
+        registry_deactivate_composite texlive-xetex "" [list ports_nodepcheck 1]
+    }
+
+    if { ![catch {set vers [lindex [registry_active texlive-humanities] 0]}]
+         && ([vercmp [lindex $vers 1] 37330] < 0) } {
+        registry_deactivate_composite texlive-humanities "" [list ports_nodepcheck 1]
+    }
+}
+
+
 texlive.texmfport
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150711/5b85ba95/attachment-0001.html>


More information about the macports-changes mailing list