[20876] trunk/dports/tex/tex-tipa/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Dec 6 21:09:38 PST 2006


Revision: 20876
          http://trac.macosforge.org/projects/macports/changeset/20876
Author:   pguyot at kallisys.net
Date:     2006-12-06 21:09:38 -0800 (Wed, 06 Dec 2006)

Log Message:
-----------
tex/tex-tipa
*Modify depends_lib line to allow working with pTeX. (pTeX doesn't install libkpathsea.dylib, though basically it is a superset of teTeX.)
*Install some document files for user convenience.
*Add note about updmap-sys.

Ticket: #11094
Submitted by: tatyana@

Thanks.

Modified Paths:
--------------
    trunk/dports/tex/tex-tipa/Portfile

Modified: trunk/dports/tex/tex-tipa/Portfile
===================================================================
--- trunk/dports/tex/tex-tipa/Portfile	2006-12-07 05:03:07 UTC (rev 20875)
+++ trunk/dports/tex/tex-tipa/Portfile	2006-12-07 05:09:38 UTC (rev 20876)
@@ -3,6 +3,7 @@
 PortSystem			1.0
 name            	tex-tipa
 version         	1.3
+revision			1
 description     	Fonts and macros for IPA phonetics characters.
 long_description	TIPA (TeX International Phonetic Alphabet) is a latex \
 					package for International Phonetic Alphabet characters \
@@ -20,15 +21,25 @@
 						md5 8e3cc71833f947f8c3f2cdcf86a798c5 \
 						sha1 24a9a9b907affe93422812ee665d4dfbffc7daef \
 						rmd160 3789e1ea95f649a9788055294bb1a39a0313692d
-depends_lib			lib:libkpathsea:teTeX
+depends_lib			bin:mktexlsr:teTeX
 patchfiles			patch-tipa-1.3-Makefile
 
 configure {}
 build {}
 destroot {
 	system "cd ${worksrcpath}/tipa-${version}/ && make install DESTROOT=${destroot} PREFIX=${prefix}"
+
+	file mkdir ${destroot}${prefix}/share/texmf-local/fonts/map/dvips/tipa
+	file rename ${destroot}${prefix}/share/texmf-local/dvips/config/tipa.map \
+		${destroot}${prefix}/share/texmf-local/fonts/map/dvips/tipa
 }
-
+post-destroot {
+	xinstall -m 755 -d ${destroot}${prefix}/share/texmf-local/doc/tipa
+	xinstall -m 644 -W ${worksrcpath} 00README tipaface.pdf tipaman.pdf tipaman.ps \
+		${destroot}${prefix}/share/texmf-local/doc/tipa
+}
 post-activate {
 	system "mktexlsr"
+	ui_msg "\nBefore using tipa, please make sure to update font map files.\n"
+	ui_msg "  \$ sudo updmap-sys --enable MixedMap tipa.map\n"
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061206/776af4e2/attachment.html


More information about the macports-changes mailing list