Changeset 74787 for trunk/dports/tex


Ignore:
Timestamp:
Jan 2, 2011, 7:46:57 PM (9 years ago)
Author:
takanori@…
Message:

pTeX:

  • NOTICE: from this version, the default encoding is changed from euc-jp to utf-8
  • added tipa, cm-super, mh(breqn) and fourier-GUT packages
  • variant +no_babel has been removed
Location:
trunk/dports/tex/pTeX
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/pTeX/Portfile

    r71968 r74787  
    44
    55name            pTeX
    6 version         20100929
     6version         20110103
    77epoch           ${version}
    88set ver_ptetex3     20080616
     
    1212set ver_txfonts     3.2.1
    1313set ver_pxfonts     1.1.1
     14set ver_tipa        1.3-20090407
     15set ver_cm-super    0.3.4-20080709
     16set ver_fourier     1.4.1-20050130
    1417categories      tex print textproc japanese
    1518maintainers     takanori openmaintainer
     
    4447                cmap-gs871.tar.gz:misc \
    4548                mappingresources4pdf_2unicode-20091208.tar.Z:misc \
    46                 mappingresources4pdf_other-20091208.tar.Z:misc
     49                mappingresources4pdf_other-20091208.tar.Z:misc \
     50                tipa-${ver_tipa}.zip:misc \
     51                cm-super-${ver_cm-super}.zip:misc \
     52                utopia-20061119.zip:misc \
     53                fourier-GUT-${ver_fourier}.zip:misc \
     54                mh-20100918.zip:misc
    4755patchfiles      patch-1check-archive.sh.diff \
    4856                patch-2extract-src.sh.diff \
     
    6371                cmap-gs871.tar.gz               rmd160 1fb4a51914f6b17050d984414e0490d9a5e6edc9 \
    6472                mappingresources4pdf_2unicode-20091208.tar.Z rmd160 bc1b86e6a5f0e022f88070195eb3e01e167114a7 \
    65                 mappingresources4pdf_other-20091208.tar.Z    rmd160 1e2ea9af6be8b60c9a54963e542fa06ceb2daccd
     73                mappingresources4pdf_other-20091208.tar.Z    rmd160 1e2ea9af6be8b60c9a54963e542fa06ceb2daccd \
     74                tipa-${ver_tipa}.zip            rmd160 ea4f393f8a2e151b0933829ba7d193761ca8433a \
     75                cm-super-${ver_cm-super}.zip    rmd160 fc2f18c2b000725c8076bc6a52f0ccaf06dcecd1 \
     76                utopia-20061119.zip             rmd160 c6d326323948c724c1d24ca9058171e732c1d247 \
     77                fourier-GUT-${ver_fourier}.zip  rmd160 b95903070f38c545d8cccc39da38195e7a116d16 \
     78                mh-20100918.zip                 rmd160 807ef9af241867a5c885a5b11803b69054dade0d
    6679
    6780depends_lib     bin:perl:perl5 \
     
    88101
    89102if {![variant_isset euc] && ![variant_isset sjis] && ![variant_isset utf8]} {
    90     default_variants    +euc
     103    default_variants    +utf8
    91104}
    92105if {![variant_isset no_x11] && ![variant_isset motif] && ![variant_isset xaw] && ![variant_isset xaw3d] && ![variant_isset nextaw]} {
     
    110123               dvipsk-${ver_dvipsk}.tar.gz
    111124               txfonts-${ver_txfonts}.zip
    112                pxfonts-${ver_pxfonts}.zip} {
     125               pxfonts-${ver_pxfonts}.zip
     126               tipa-${ver_tipa}.zip
     127               cm-super-${ver_cm-super}.zip
     128               utopia-20061119.zip
     129               fourier-GUT-${ver_fourier}.zip
     130               mh-20100918.zip} {
    113131        eval copy ${distpath}/${f} ${worksrcpath}/archive/
    114132    }
     
    157175pre-build {
    158176    if {![variant_isset no_otf]} {build.target-append otf}
    159     if {![variant_isset no_babel]} {build.target-append babel}
    160     build.target-append fonty
     177    build.target-append babel fonty
    161178}
    162179
     
    221238    system "${prefix}/bin/mktexlsr"
    222239
    223     # Not elegant. But this will be helpful if you are using these packages
    224240    foreach f {tipa.map} {
    225         system "(${prefix}/bin/kpsewhich ${f} > /dev/null) && ${prefix}/bin/updmap-sys --enable MixedMap ${f} --nomkmap || true"
     241        system "${prefix}/bin/updmap-sys --enable MixedMap ${f} --nomkmap || true"
    226242    }
    227243    foreach f {cm-super-t1.map cm-super-ts1.map cm-super-t2a.map cm-super-t2b.map cm-super-t2c.map cm-super-x2.map fourier.map} {
    228         system "(${prefix}/bin/kpsewhich ${f} > /dev/null) && ${prefix}/bin/updmap-sys --enable Map ${f} --nomkmap || true"
     244        system "${prefix}/bin/updmap-sys --enable Map ${f} --nomkmap || true"
    229245    }
    230246
     
    241257
    242258variant no_otf description {Do not install otf.sty} {}
    243 
    244 variant no_babel description {Do not install babel} {}
    245259
    246260variant euc conflicts sjis utf8 description {Set the default character encoding to EUC-JP} {}
  • trunk/dports/tex/pTeX/files/patch-3extract-texmf.sh.diff

    r52131 r74787  
    2020 
    2121 if test "$JAPANESE" != "without"; then
    22 @@ -157,6 +159,56 @@
     22@@ -157,6 +159,121 @@
    2323 distcp $TEXMF tex/latex/marvosym marvosym.sty
    2424 cpatch archive/tetex-3.0-marvosym-rightarrow.patch 2 $TEXMF
    2525 
     26+tarx archive/tipa-1.3-20090407.zip $PTETEX_TMP
     27+$MKDIR $TEXMF-dist/tex/latex/tipa \
     28+       $TEXMF-dist/fonts/source/public/tipa \
     29+       $TEXMF-dist/fonts/tfm/public/tipa \
     30+       $TEXMF-dist/fonts/type1/public/tipa \
     31+       $TEXMF-dist/fonts/map/dvips/tipa \
     32+       $TEXMF-dist/doc/fonts/tipa || exit
     33+$CP $PTETEX_TMP/tipa/tipa-1.3/sty/*.sty $TEXMF-dist/tex/latex/tipa/ || exit
     34+$CP $PTETEX_TMP/tipa/tipa-1.3/sty/*.fd  $TEXMF-dist/tex/latex/tipa/ || exit
     35+$CP $PTETEX_TMP/tipa/tipa-1.3/sty/*.def $TEXMF-dist/tex/latex/tipa/ || exit
     36+$CP $PTETEX_TMP/tipa/tipa-1.3/mf/*.mf  $TEXMF-dist/fonts/source/public/tipa/ || exit
     37+$CP $PTETEX_TMP/tipa/tipa-1.3/mf/*.def $TEXMF-dist/fonts/source/public/tipa/ || exit
     38+$CP $PTETEX_TMP/tipa/tipa-1.3/mf/*.sh  $TEXMF-dist/fonts/source/public/tipa/ || exit
     39+$CP $PTETEX_TMP/tipa/tipa-1.3/tfm/*.tfm  $TEXMF-dist/fonts/tfm/public/tipa/ || exit
     40+$CP $PTETEX_TMP/tipa/tipa-1.3/type1/*.pfb $TEXMF-dist/fonts/type1/public/tipa/ || exit
     41+$CP $PTETEX_TMP/tipa/tipa-1.3/dvips/tipa.map $TEXMF-dist/fonts/map/dvips/tipa/ || exit
     42+$CP $PTETEX_TMP/tipa/tipa-1.3/doc/*    $TEXMF-dist/doc/fonts/tipa/ || exit
     43+$CP $PTETEX_TMP/tipa/tipaface.pdf      $TEXMF-dist/doc/fonts/tipa/ || exit
     44+$CP $PTETEX_TMP/tipa/tipaman.pdf       $TEXMF-dist/doc/fonts/tipa/ || exit
     45+
     46+tarx archive/cm-super-0.3.4-20080709.zip $PTETEX_TMP
     47+$MKDIR $TEXMF-dist/fonts/afm/public/cm-super \
     48+       $TEXMF-dist/fonts/map/dvips/cm-super \
     49+       $TEXMF-dist/fonts/map/vtex/cm-super \
     50+       $TEXMF-dist/dvips/cm-super \
     51+       $TEXMF-dist/fonts/enc/dvips/cm-super \
     52+       $TEXMF-dist/fonts/type1/public/cm-super \
     53+       $TEXMF-dist/tex/latex/cm-super \
     54+       $TEXMF-dist/doc/fonts/cm-super
     55+$CP $PTETEX_TMP/cm-super/afm/*.afm.gz $TEXMF-dist/fonts/afm/public/cm-super/ || exit
     56+$CP $PTETEX_TMP/cm-super/dvips/*.map           $TEXMF-dist/fonts/map/dvips/cm-super/ || exit
     57+$CP $PTETEX_TMP/cm-super/vtex/*.ali            $TEXMF-dist/fonts/map/vtex/cm-super/ || exit
     58+$CP $PTETEX_TMP/cm-super/dvips/cm-super.GS     $TEXMF-dist/dvips/cm-super/ || exit
     59+$CP $PTETEX_TMP/cm-super/dvips/config.cm-super $TEXMF-dist/dvips/cm-super/ || exit
     60+$CP $PTETEX_TMP/cm-super/dvips/*.enc $TEXMF-dist/fonts/enc/dvips/cm-super/ || exit
     61+$CP $PTETEX_TMP/cm-super/pfb/*.pfb $TEXMF-dist/fonts/type1/public/cm-super/ || exit
     62+$CP $PTETEX_TMP/cm-super/type1ec.sty $TEXMF-dist/tex/latex/cm-super/ || exit
     63+$CP $PTETEX_TMP/cm-super/COPYING   $TEXMF-dist/doc/fonts/cm-super/ || exit
     64+$CP $PTETEX_TMP/cm-super/ChangeLog $TEXMF-dist/doc/fonts/cm-super/ || exit
     65+$CP $PTETEX_TMP/cm-super/FAQ       $TEXMF-dist/doc/fonts/cm-super/ || exit
     66+$CP $PTETEX_TMP/cm-super/INSTALL   $TEXMF-dist/doc/fonts/cm-super/ || exit
     67+$CP $PTETEX_TMP/cm-super/README    $TEXMF-dist/doc/fonts/cm-super/ || exit
     68+$CP $PTETEX_TMP/cm-super/TODO      $TEXMF-dist/doc/fonts/cm-super/ || exit
     69+$CP $PTETEX_TMP/cm-super/inf/cm-super-inf.tar.bz2 $TEXMF-dist/doc/fonts/cm-super/ || exit
     70+
     71+tarx archive/utopia-20061119.zip $PTETEX_TMP
     72+$MKDIR $TEXMF-dist/fonts/afm/adobe/utopia \
     73+       $TEXMF-dist/fonts/type1/adobe/utopia \
     74+       $TEXMF-dist/doc/fonts/utopia
     75+$CP $PTETEX_TMP/utopia/*.afm $TEXMF-dist/fonts/afm/adobe/utopia/ || exit
     76+$CP $PTETEX_TMP/utopia/*.pfb $TEXMF-dist/fonts/type1/adobe/utopia/ || exit
     77+$CP $PTETEX_TMP/utopia/*.txt  $TEXMF-dist/doc/fonts/utopia/ || exit
     78+$CP $PTETEX_TMP/utopia/README $TEXMF-dist/doc/fonts/utopia/ || exit
     79+
     80+tarx archive/fourier-GUT-1.4.1-20050130.zip $PTETEX_TMP
     81+$CP -R $PTETEX_TMP/fourier-GUT/doc $TEXMF-dist/ || exit
     82+$CP -R $PTETEX_TMP/fourier-GUT/fonts $TEXMF-dist/ || exit
     83+$CP -R $PTETEX_TMP/fourier-GUT/tex $TEXMF-dist/ || exit
     84+
     85+$RM -r $TEXMF-dist/tex/latex/mh
     86+tarx archive/mh-20100918.zip $PTETEX_TMP
     87+$CP -R $PTETEX_TMP/mh/doc $TEXMF-dist/ || exit
     88+#$CP -R $PTETEX_TMP/mh/source $TEXMF-dist/ || exit
     89+$CP -R $PTETEX_TMP/mh/tex $TEXMF-dist/ || exit
     90+
    2691+# update txfonts from v3.2 to v3.2.1
    2792+$RM -r $TEXMF-dist/doc/fonts/txfonts \
Note: See TracChangeset for help on using the changeset viewer.