[81950] users/dports/ports
dports at macports.org
dports at macports.org
Sat Aug 6 10:00:37 PDT 2011
Revision: 81950
http://trac.macports.org/changeset/81950
Author: dports at macports.org
Date: 2011-08-06 10:00:36 -0700 (Sat, 06 Aug 2011)
Log Message:
-----------
Create version and architecture-specific links to the texbin
directory. It seems like the TeXDist prefpane from MacTeX wants the
per-architecture directories to distinguish what is installed; it
might want the version in the future, so might as well provide it.
Modified Paths:
--------------
users/dports/ports/_resources/port1.0/group/texlive-1.0.tcl
users/dports/ports/tex/texlive-bin/Portfile
Modified: users/dports/ports/_resources/port1.0/group/texlive-1.0.tcl
===================================================================
--- users/dports/ports/_resources/port1.0/group/texlive-1.0.tcl 2011-08-06 16:52:44 UTC (rev 81949)
+++ users/dports/ports/_resources/port1.0/group/texlive-1.0.tcl 2011-08-06 17:00:36 UTC (rev 81950)
@@ -90,7 +90,12 @@
# This is provided to support MacTeX's TeX Distribution preference
# pane: it can select the active TeX distribution by pointing the
# /usr/texbin symlink here
+#
+# It also seems like the prefpane wants architecture-specific links,
+# and may want version-specific ones in the future, so create those in
+# ${texlive_mactex_texdistdir}.
set texlive_mactex_texbindir "${prefix}/libexec/texlive/texbin"
+set texlive_mactex_texdistdir "${prefix}/libexec/texlive/texdist"
# update texmf file path databases (ls-R)
#
Modified: users/dports/ports/tex/texlive-bin/Portfile
===================================================================
--- users/dports/ports/tex/texlive-bin/Portfile 2011-08-06 16:52:44 UTC (rev 81949)
+++ users/dports/ports/tex/texlive-bin/Portfile 2011-08-06 17:00:36 UTC (rev 81950)
@@ -183,6 +183,15 @@
system "gzip $manpage"
}
}
+
+ # Create version/arch-specific links to the texbin directory used
+ # 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
+ ln -s ${texlive_mactex_texdistdir}-${version} \
+ ${destroot}${texlive_mactex_texdistdir}
}
pre-activate {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110806/ff974113/attachment.html>
More information about the macports-changes
mailing list