[137628] trunk/dports/tex/ptex-sfmacros/Portfile
mojca at macports.org
mojca at macports.org
Mon Jun 15 09:00:21 PDT 2015
Revision: 137628
https://trac.macports.org/changeset/137628
Author: mojca at macports.org
Date: 2015-06-15 09:00:21 -0700 (Mon, 15 Jun 2015)
Log Message:
-----------
ptex-sfmacros: adapted for TeX Live (untested, #41980)
Modified Paths:
--------------
trunk/dports/tex/ptex-sfmacros/Portfile
Modified: trunk/dports/tex/ptex-sfmacros/Portfile
===================================================================
--- trunk/dports/tex/ptex-sfmacros/Portfile 2015-06-15 15:58:22 UTC (rev 137627)
+++ trunk/dports/tex/ptex-sfmacros/Portfile 2015-06-15 16:00:21 UTC (rev 137628)
@@ -2,9 +2,11 @@
# $Id$
PortSystem 1.0
+PortGroup texlive 1.0
name ptex-sfmacros
version 0
+revision 1
categories tex print japanese
maintainers nomaintainer
description Tategumi/Tateyoko/Kunten packages written by Shinsaku Fujita.
@@ -77,9 +79,10 @@
sfsyoten.lzh rmd160 064eebbf7c64745fbaa740b372272005a2cedcd1 \
sfoikomi.lzh rmd160 16e28d78cf135987d03edcf4614541dcbd78ee49
-depends_lib port:pTeX
depends_build port:lha \
- port:nkf
+ port:nkf \
+ port:texlive-common
+depends_run port:texlive-common
extract.only
@@ -108,13 +111,14 @@
destroot {
foreach d {tategumi tateyoko sfsyoten sfoikomi} {
- xinstall -m 0755 -d ${destroot}${prefix}/share/texmf-local/ptex/platex/fujita/${d}
+ set dir ${destroot}${texlive_texmfports}/ptex/platex/fujita/${d}
+ xinstall -m 0755 -d ${dir}
foreach f [glob ${worksrcpath}/${d}/*] {
- xinstall -m 0644 ${f} ${destroot}${prefix}/share/texmf-local/ptex/platex/fujita/${d}
+ xinstall -m 0644 ${f} ${dir}
}
}
}
post-activate {
- system "mktexlsr"
+ texlive.mktexlsr
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150615/a3fb80a4/attachment.html>
More information about the macports-changes
mailing list