Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/text
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv27497

Modified Files:
        ptex-texmf.info 
Log Message:
Version bumped; for TeX Live.

Index: ptex-texmf.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/text/ptex-texmf.info,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- ptex-texmf.info     21 Jan 2008 16:03:47 -0000      1.12
+++ ptex-texmf.info     10 Oct 2009 11:25:29 -0000      1.13
@@ -1,45 +1,58 @@
 Package: ptex-texmf
-Version: 2.4
-Revision: 57
-Depends: fink (>= 0.9.3), tetex-texmf (>= 3.0-1)
+Version: 2.5
+Revision: 1
+Depends: fink (>= 0.9.3), texlive-base | texlive-nox-base
+BuildDepends: nkf
 Conflicts: ptex (<= 3.1.3-8), ptex-base (<= 3.1.3-8), ptex-jisfonts, 
morisawa-fontfiles
 Replaces:  ptex (<= 3.1.3-8), ptex-base (<= 3.1.3-8), ptex-jisfonts, 
morisawa-fontfiles
 Provides:  ptex-jisfonts, morisawa-fontfiles
-Source: http://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/ptetex3-20070426.tar.gz
-Source-MD5: 916cded5cf485e1afe03cf2353a449e1
+Source: http://tutimura.ath.cx/~nob/tex/ptexlive/ptexlive-20091009.tar.gz
+Source-MD5: 20df6cd2937f36eaf10e7066982232e2
 PatchScript: <<
- # for texmf
- echo "TMP_PREFIX=`pwd`/tmp"          >> my_option
- echo "TEXMFDIST=%p/share/texmf-dist" >> my_option
- ./3extract-texmf.sh
- echo "# default font for xdvi"      >> tmp/share/texmf/web2c/updmap.cfg
- echo "xdviRml HiraMinPro-W3.otf"    >> tmp/share/texmf/web2c/updmap.cfg
- echo "xdviGbm HiraKakuPro-W3.otf"   >> tmp/share/texmf/web2c/updmap.cfg
+ echo "TMP_PREFIX=`pwd`/tmp"          >> ../ptexlive.cfg
+ echo "TEXMFDIST=%p/share/texmf-dist" >> ../ptexlive.cfg
 
- mkdir -p tmp/share/texmf/tex/latex/hyperref
- sed 's|\(@xpos @ypos\)|\1 null|' \
-      %p/share/texmf-dist/tex/latex/hyperref/hdvipdfm.def \
-   >      tmp/share/texmf/tex/latex/hyperref/hdvipdfm.def
- cp tmp/share/texmf/doc/ptex/{COPYRIGHT,COPYRIGHT.jis,Changes.txt,README.txt} .
+ sed -i.bak -e 's|texlive-20080816-source|texlive|' common.sh
+
+ sed -i.bak -e 's|\(root_check\)|#\1|'                           \
+            -e '/## start/,/texmf-dist/d'                        \
+            -e 's|## for fmtutil|$MKDIR $TEXMF/fmtutil|'         \
+            -e '/# (ad hoc fix/,/texlinks/d'                     \
+            -e 's|## for updmap|distcp $TEXMF web2c updmap.cfg|' \
+            -e '/# updmap/,/## check/d' 4extract-texmf.sh
+
+ ./4extract-texmf.sh
+
+ cp 
tmp/texlive/inst/texmf/doc/ptex/{COPYRIGHT,COPYRIGHT.utf8,Changes.txt,README.txt}
 .
 <<
 CompileScript: echo "Nothing to do in a compile phase"
-InstallScript: mv tmp/share %i
-DocFiles: COPYRIGHT COPYRIGHT.jis Changes.txt README.txt
+InstallScript: mv tmp/texlive/inst %i/share
+DocFiles: COPYRIGHT COPYRIGHT.utf8 Changes.txt README.txt
 PostInstScript: <<
-if [ -x %p/bin/mktexlsr ]
-then
+if [ -x %p/bin/mktexlsr ]; then
        %p/bin/mktexlsr %p/share/texmf
-else
- # overwrite ls-R, included in tetex-texmf
- echo "%% ls-R -- filename database for kpathsea; do not change this line." > 
%p/share/texmf/ls-R
- echo "./:" >> %p/share/texmf/ls-R
- ( cd %p/share/texmf ; /bin/ls -1R ) >> %p/share/texmf/ls-R
 fi
+if [ -x %p/bin/updmap-sys ]; then
+        %p/bin/updmap-sys --nomkmap --enable KanjiMap pt...@kanjiembed@.map || 
true
+        %p/bin/updmap-sys --nomkmap --enable KanjiMap morisawa.map || true
+       %p/bin/updmap-sys
+fi
+<<
+PostRmScript: <<
+if [ "$1" != "upgrade" ]; then
 
- echo "Adjusting permissions ..."
- chmod -R a+rX %p/share/texmf
+if [ -x %p/bin/updmap-sys ]; then
+        %p/bin/updmap-sys --nomkmap --disable pt...@kanjiembed@.map || true
+        %p/bin/updmap-sys --nomkmap --disable morisawa.map || true
+       %p/bin/updmap-sys
+fi
+if [ -x %p/bin/mktexlsr ]; then
+       %p/bin/mktexlsr %p/share/texmf
+fi
+
+fi
 <<
-License: Restrictive/Distributable
+License: BSD
 Description: Additional texmf tree for pTeX
 Maintainer: Todai Fink Team <f...@sodan.ecc.u-tokyo.ac.jp>
 Homepage: http://www.ascii.co.jp/pb/ptex/


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to