[83089] trunk/dports/tex/texlive-bin/Portfile

dports at macports.org dports at macports.org
Thu Aug 25 13:01:41 PDT 2011


Revision: 83089
          http://trac.macports.org/changeset/83089
Author:   dports at macports.org
Date:     2011-08-25 13:01:41 -0700 (Thu, 25 Aug 2011)
Log Message:
-----------
texlive-bin: make the version/arch-specific texbin directory reflect
whether we built +universal

Modified Paths:
--------------
    trunk/dports/tex/texlive-bin/Portfile

Modified: trunk/dports/tex/texlive-bin/Portfile
===================================================================
--- trunk/dports/tex/texlive-bin/Portfile	2011-08-25 19:56:00 UTC (rev 83088)
+++ trunk/dports/tex/texlive-bin/Portfile	2011-08-25 20:01:41 UTC (rev 83089)
@@ -193,8 +193,13 @@
     # by the TeXDist prefpane; it seems that future versions of the
     # prefpane will want these.
     xinstall -d ${destroot}${texlive_mactex_texdistdir}-${version}
-    ln -s ${texlive_mactex_texbindir} \
-          ${destroot}${texlive_mactex_texdistdir}-${version}/${configure.build_arch}-darwin
+    if {[variant_isset universal]} {
+        ln -s ${texlive_mactex_texbindir} \
+            ${destroot}${texlive_mactex_texdistdir}-${version}/universal-darwin
+    } else {
+        ln -s ${texlive_mactex_texbindir} \
+            ${destroot}${texlive_mactex_texdistdir}-${version}/${configure.build_arch}-darwin
+    }
     ln -s ${texlive_mactex_texdistdir}-${version} \
           ${destroot}${texlive_mactex_texdistdir}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110825/77f9950f/attachment.html>


More information about the macports-changes mailing list