[81681] users/dports/ports

dports at macports.org dports at macports.org
Thu Aug 4 03:10:29 PDT 2011


Revision: 81681
          http://trac.macports.org/changeset/81681
Author:   dports at macports.org
Date:     2011-08-04 03:10:29 -0700 (Thu, 04 Aug 2011)
Log Message:
-----------
texlive-common: let the portgroup specify the location of the user's
home-directory texmf tree (${texlive_texmfhome}), and change that
location to ~/Library/texmf for MacTeX compatibility

Modified Paths:
--------------
    users/dports/ports/_resources/port1.0/group/texlive-1.0.tcl
    users/dports/ports/tex/texlive-common/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-04 10:03:08 UTC (rev 81680)
+++ users/dports/ports/_resources/port1.0/group/texlive-1.0.tcl	2011-08-04 10:10:29 UTC (rev 81681)
@@ -67,6 +67,12 @@
 # configuration data from texconfig
 set texlive_texmfsysconfig "${prefix}/etc/texmf"
 
+# user's local texmf tree.
+# Note that this path is specified relative to the user's
+# home directory, i.e. it begins with an implicit ~/
+set texlive_texmfhome "Library/texmf"
+
+
 # location of binaries installed by texlive-bin
 #
 # All TeXLive binaries are built by texlive-bin, but most of them

Modified: users/dports/ports/tex/texlive-common/Portfile
===================================================================
--- users/dports/ports/tex/texlive-common/Portfile	2011-08-04 10:03:08 UTC (rev 81680)
+++ users/dports/ports/tex/texlive-common/Portfile	2011-08-04 10:10:29 UTC (rev 81681)
@@ -21,9 +21,10 @@
 master_sites        http://flute.csail.mit.edu/texlive/test/
 worksrcdir          ${distname}
 use_xz              yes
-checksums           sha1     a02857ee868df2a8fd393388619f3323648b9940 \
-                    rmd160   a979ebd9151559b7d6ee0f4fd72043e465c5c925
 
+checksums           rmd160  ebb014281c37d2fab37fb464a9739b7fb48b5478 \
+                    sha256  3a428bdbb8e82aa2281fcba64afcccff21ef30e6ff3bd6d96621c7b0b355c610
+
 livecheck.type  regex
 livecheck.url   ${master_sites}
 livecheck.regex ${name}-(\[\\d-\]+)\\.tar
@@ -37,6 +38,7 @@
         reinplace "s|@@TEXMFLOCAL@@|${texlive_texmflocal}|g" ${worksrcpath}/${x}
         reinplace "s|@@TEXMFSYSVAR@@|${texlive_texmfsysvar}|g" ${worksrcpath}/${x}
         reinplace "s|@@TEXMFSYSCONFIG@@|${texlive_texmfsysconfig}|g" ${worksrcpath}/${x}
+        reinplace "s|@@TEXMFHOME@@|${texlive_texmfhome}|g" ${worksrcpath}/${x}
         reinplace "s|@@TEXLIVE_BINDIR@@|${texlive_bindir}|g" ${worksrcpath}/${x}
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110804/67d37e8c/attachment.html>


More information about the macports-changes mailing list