Changeset 50428 for trunk/dports/tex


Ignore:
Timestamp:
Apr 30, 2009, 10:12:28 PM (11 years ago)
Author:
takanori@…
Message:

pTeX:

  • dvipdfmx is updated to snapshot 20090115
  • babel is now built and installed by default
  • update jsclasses to 090222
  • update txfonts to v3.2.1
  • update pxfonts to v1.1.1
  • update dvipsk to 5.97-p1.7b
  • misc fixes
Location:
trunk/dports/tex/pTeX
Files:
7 added
2 edited

Legend:

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

    r49890 r50428  
    44
    55name            pTeX
    6 version         20080616
    7 revision        1
     6version         20090501
    87epoch           ${version}
     8set ver_ptetex3     20080616
     9set ver_dvipdfmx    20090115
     10set ver_dvipsk      5.97-p1.7b
     11set ver_jsclasses   090222
     12set ver_txfonts     3.2.1
     13set ver_pxfonts     1.1.1
    914categories      tex print textproc japanese
    1015maintainers     takanori openmaintainer
     
    2025                http://dante.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
    2126                http://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
    22                 ftp://ftp.lab.kdd.co.jp/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
    23                 ftp://ftp.meisei-u.ac.jp/pub/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
    24                 ftp://ftp.nara.wide.ad.jp/pub/TeX/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
    25                 ftp://ftp.riken.go.jp/pub/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
    26                 ftp://ftp.u-aizu.ac.jp/pub/tex/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
    27                 ftp://ftp.yz.yamagata-u.ac.jp/pub/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
    28                 ftp://dante.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
    29                 ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
    30                 ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
    3127                http://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/:ptetex3 \
    3228                macports::ptetex3 \
    33                 macports::cmap
    34 distname        ptetex3-${version}
     29                http://ring.riken.jp/archives/text/TeX/ptex-win32/utils/:dvipsk \
     30                macports::dvipsk \
     31                http://project.ktug.or.kr/dvipdfmx/snapshot/latest/:dvipdfmx \
     32                http://project.ktug.or.kr/dvipdfmx/snapshot/archive/:dvipdfmx \
     33                macports::dvipdfmx \
     34                http://oku.edu.mie-u.ac.jp/~okumura/jsclasses/:jsclasses \
     35                macports::jsclasses \
     36                macports::misc
     37distname        ptetex3-${ver_ptetex3}
    3538distfiles       tetex-src-3.0.tar.gz:tetex \
    3639                tetex-texmf-3.0po.tar.gz:tetex \
    3740                ${distname}${extract.suffix}:ptetex3 \
    38                 cmap-gs863.tar.gz:cmap
    39 patchfiles      patch-2extract-src.sh.diff \
     41                dvipdfmx-${ver_dvipdfmx}.tar.gz:dvipdfmx \
     42                dvipsk-${ver_dvipsk}.tar.gz:dvipsk \
     43                jsclasses-${ver_jsclasses}.zip:jsclasses \
     44                txfonts-${ver_txfonts}.zip:misc \
     45                pxfonts-${ver_pxfonts}.zip:misc \
     46                cmap-gs863.tar.gz:misc
     47patchfiles      patch-1check-archive.sh.diff \
     48                patch-2extract-src.sh.diff \
     49                patch-3extract-texmf.sh.diff \
     50                patch-4make-install.sh.diff \
    4051                patch-7font-search.sh.diff \
    4152                patch-8test.sh.diff \
    42                 patch-common.sh.diff
    43 checksums       tetex-src-3.0.tar.gz md5 944a4641e79e61043fdaf8f38ecbb4b3 \
    44                                      sha1 7637789f7f4929694aed1b89820f5bad4753e8fc \
    45                                      rmd160 15a139f5f36993e4ed3583260e175cfb13ce7bcc \
    46                 tetex-texmf-3.0po.tar.gz md5 ed9d30d9162d16ac8d5065cde6e0f6fa \
    47                                          sha1 1be97f57a26a6e9b72ebfd932e45914a959aff16 \
    48                                          rmd160 a1e87733fa3cbef04e39a690ed8549aeaaddb241 \
    49                 ${distname}${extract.suffix} md5 5a846af619f0b921338d3aa4ab16ecfe \
    50                                              sha1 25488f4ebd66e01124f40e37e69389bc4e5d6b41 \
    51                                              rmd160 50bcf8986d1cb5f23e578ba97d7ade20bb05f3a2 \
    52                 cmap-gs863.tar.gz md5 f7c2b4c823995bb3a0df1f5fc1130b34 \
    53                                   sha1 e07700dfac3ec1ec45b02f24c3bb270bf0e3480c \
    54                                   rmd160 2aa8ccc8e1d83a56026b476b4129238264c2e22c
    55 
    56 depends_lib     port:ghostscript-fonts-hiragino \
    57                 bin:perl:perl5 \
     53                patch-common.sh.diff \
     54                patch-md5sum_texsrc.international.diff \
     55                patch-md5sum_texsrc.traditional.diff \
     56                patch-md5sum_texsrc.without.diff
     57checksums       tetex-src-3.0.tar.gz            rmd160 15a139f5f36993e4ed3583260e175cfb13ce7bcc \
     58                tetex-texmf-3.0po.tar.gz        rmd160 a1e87733fa3cbef04e39a690ed8549aeaaddb241 \
     59                ${distname}${extract.suffix}    rmd160 50bcf8986d1cb5f23e578ba97d7ade20bb05f3a2 \
     60                dvipdfmx-${ver_dvipdfmx}.tar.gz rmd160 d05905fc3821c314148143cf3f9a114f204e6e6c \
     61                dvipsk-${ver_dvipsk}.tar.gz     rmd160 03b57ccd7c8a29af0359414e9f6bc84855fa0337 \
     62                jsclasses-${ver_jsclasses}.zip  rmd160 070ee272072166dccde9c957eb03f0395aa96cfe \
     63                txfonts-${ver_txfonts}.zip      rmd160 e0881b33012ae10a7557ee773439df62e600e56d \
     64                pxfonts-${ver_pxfonts}.zip      rmd160 9a2e8df4b779dab2c93704f0716f3d69dcbac6fe \
     65                cmap-gs863.tar.gz               rmd160 2aa8ccc8e1d83a56026b476b4129238264c2e22c
     66
     67depends_lib     bin:perl:perl5 \
    5868                lib:libXm:openmotif \
    5969                port:gd2 \
     70                port:ghostscript-fonts-hiragino \
    6071                port:jpeg \
    6172                port:libiconv \
     
    6475                port:t1lib \
    6576                port:zlib
    66 depends_build   bin:bash:bash \
    67                 port:nkf
     77depends_build   port:nkf
     78#               bin:bash:bash
     79#               bin:bison:bison
     80#               bin:flex:flex
     81#               port:gmake
     82#               port:gpatch
    6883depends_run     port:texi2html \
    6984                port:texinfo
     
    8398post-patch {
    8499    eval copy [glob ${filespath}/archive/*] ${worksrcpath}/archive/
     100    foreach f {dvipdfmx-${ver_dvipdfmx}.tar.gz
     101               dvipsk-${ver_dvipsk}.tar.gz
     102               txfonts-${ver_txfonts}.zip
     103               pxfonts-${ver_pxfonts}.zip} {
     104        eval copy ${distpath}/${f} ${worksrcpath}/archive/
     105    }
     106    copy ${distpath}/jsclasses-${ver_jsclasses}.zip ${worksrcpath}/macro/
     107    delete ${worksrcpath}/macro/jsclasses-071024.zip
    85108}
    86109
     
    123146pre-build {
    124147    if {![variant_isset no_otf]} {build.target-append otf}
    125     if {[variant_isset babel]} {build.target-append babel}
     148    if {![variant_isset no_babel]} {build.target-append babel}
    126149    build.target-append fonty
    127150}
     
    172195    # Add a directory for local enhancements
    173196    xinstall -m 755 -d ${destroot}${prefix}/share/texmf-local
    174     system "touch ${destroot}${prefix}/share/texmf-local/.ptetex3-${version}"
     197    system "touch ${destroot}${prefix}/share/texmf-local/.ptetex3-${ver_ptetex3}"
    175198}
    176199post-destroot {
     
    204227}
    205228
    206 variant no_otf description {Do not use otf.sty} {}
    207 
    208 variant babel description {Use babel} {}
    209 
    210 variant euc conflicts sjis utf8 description {Set default character set to EUC-JP (default)} {}
    211 variant sjis conflicts euc utf8 description {Set default character set to Shift_JIS} {}
    212 variant utf8 conflicts euc sjis description {Set default character set to UTF-8} {}
     229variant no_otf description {Do not install otf.sty} {}
     230
     231variant no_babel description {Do not install babel} {}
     232
     233variant euc conflicts sjis utf8 description {Set the default character encoding to EUC-JP (default)} {}
     234variant sjis conflicts euc utf8 description {Set the default character encoding to Shift_JIS} {}
     235variant utf8 conflicts euc sjis description {Set the default character encoding to UTF-8} {}
    213236
    214237variant nox11 conflicts motif xaw xaw3d nextaw description {Do not use X11} {
     
    218241    configure.args-append --without-system-gd --without-x --without-xdvik
    219242}
    220 variant motif conflicts nox11 xaw xaw3d nextaw description {Use motif (default)} {}
    221 variant xaw conflicts nox11 motif xaw3d nextaw description {Use xaw} {
     243variant motif conflicts nox11 xaw xaw3d nextaw description {Use Motif to build xdvi (default)} {}
     244variant xaw conflicts nox11 motif xaw3d nextaw description {Use Xaw to build xdvi} {
    222245    depends_lib-delete lib:libXm:openmotif
    223246    depends_lib-append port:xorg-libXaw
     
    225248    configure.args-append --with-xdvi-x-toolkit=xaw
    226249}
    227 variant xaw3d conflicts nox11 motif xaw nextaw description {Use xaw3d} {
     250variant xaw3d conflicts nox11 motif xaw nextaw description {Use Xaw3d to build xdvi} {
    228251    depends_lib-delete lib:libXm:openmotif
    229252    depends_lib-append port:Xaw3d
     
    231254    configure.args-append --with-xdvi-x-toolkit=xaw3d
    232255}
    233 variant nextaw conflicts nox11 motif xaw xaw3d description {Use nextaw} {
     256variant nextaw conflicts nox11 motif xaw xaw3d description {Use neXtaw to build xdvi} {
    234257    depends_lib-delete lib:libXm:openmotif
    235258    depends_lib-append port:neXtaw
     
    240263platform darwin 9 {}
    241264
    242 livecheck.check regex
    243 livecheck.url   "http://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/?C=M;O=D"
    244 livecheck.regex ptetex3-(\[0-9\]+)\\.tar
     265livecheck.check     regex
     266livecheck.url       "http://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/?C=M;O=D"
     267livecheck.version   ${ver_ptetex3}
     268livecheck.regex     ptetex3-(\[0-9\]+)\\.tar
  • trunk/dports/tex/pTeX/files/patch-2extract-src.sh.diff

    r47284 r50428  
    1 --- ./2extract-src.sh.orig      2008-06-16 13:50:47.000000000 +0900
    2 +++ ./2extract-src.sh   2009-02-25 03:39:56.000000000 +0900
    3 @@ -263,7 +263,11 @@
     1--- /Users/takanori/Sources/ptetex3-20080616.orig/2extract-src.sh       2008-06-16 13:50:47.000000000 +0900
     2+++ ./2extract-src.sh   2009-03-23 00:15:39.000000000 +0900
     3@@ -14,7 +14,6 @@
     4 fi
     5 
     6 PTEXENC=$SRC/texk/ptexenc/patches
     7-GSNOEMBED="-dNOKANJI -c '.setpdfwrite << /NeverEmbed [/Courier /Courier-Bold /Courier-Oblique /Courier-BoldOblique /Helvetica /Helvetica-Bold /Helvetica-Oblique /Helvetica-BoldOblique /Times-Roman /Times-Bold /Times-Italic /Times-BoldItalic /Symbol /ZapfDingbats /Ryumin-Light /GothicBBB-Medium] >> setdistillerparams'"
     8 
     9 ## start
     10 test -z "$TEXSRC_EXTRACTED" \
     11@@ -46,11 +45,6 @@
     12     || perlprint 's/LRa/LRat/' $SRC/texk/kpathsea/mktexlsr
     13 rm $PTETEX_TMP
     14 
     15-# epstopdf no embed fonts
     16-perlprint "s/OutputFilename -/OutputFilename \\\$GSNOEMBED -/;
     17-       print \"### no embed fonts\nmy \\\$GSNOEMBED=\\\"$GSNOEMBED\\\";\n\n\"
     18-       if /option BoundingBox types/" \
     19-    $SRC/texk/tetex/epstopdf
     20 # add --nostop option: don't stop even if a map file is not found
     21 cpatch archive/updmap-nostop.patch     0 $SRC/texk/tetex
     22 # ebb patch (+ArtBox)
     23@@ -133,12 +127,10 @@
     24 cpatch $PTEXENC/makejvf-1.1a-ptexenc.patch 1 $SRC/texk/makejvf
     25 
     26 ## for dvipdfmx
     27-tarx archive/dvipdfmx-20070409.tar.gz $SRC/texk
     28+tarx archive/dvipdfmx-20090115.tar.gz $SRC/texk
     29 mv $SRC/texk/dvipdfmx-* $SRC/texk/dvipdfmx || exit
     30-perlprint "s/ cid-x.map\$/ kanjix.map/g;
     31-       s|^%(D  \"gs .*%o) (%i .*\")|\1 $GSNOEMBED -f \2|" \
     32-    $SRC/texk/dvipdfmx/data/config/dvipdfmx.cfg
     33-$RM $SRC/texk/dvipdfmx/data/config/cid-x.map
     34+perlprint "s/ cid-x.map\$/ kanjix.map/g" $SRC/texk/dvipdfmx/data/dvipdfmx.cfg
     35+$RM $SRC/texk/dvipdfmx/data/cid-x.map
     36 perlnoprint "print unless /cid-x/" $SRC/texk/dvipdfmx/data/Makefile.in
     37 
     38 
     39@@ -152,8 +144,9 @@
     40 #tarx archive/dvipsk-jpatch-p1.7a.tar.gz          $SRC/texk/${P}dvipsk
     41 #cpatch $SRC/texk/${P}dvipsk/dvipsk-p1.7a.patch 1 $SRC/texk/${P}dvipsk
     42 $CP $SRC/texk/${P}dvipsk/Makefile.in $SRC/texk/${P}dvipsk/Makefile.in.tetex
     43-tarx archive/dvipsk-5.96-p1.7b.tar.gz                $SRC/texk/${P}dvipsk
     44-cpatch $SRC/texk/${P}dvipsk/dvipsk-5.96-p1.7b.diff 1 $SRC/texk/${P}dvipsk
     45+tarx archive/dvipsk-5.97-p1.7b.tar.gz                $SRC/texk/${P}dvipsk
     46+cpatch $SRC/texk/${P}dvipsk/dvipsk-5.97-p1.7b.diff 1 $SRC/texk/${P}dvipsk
     47+cpatch archive/dvipsk-lastext-boundcheck.diff      1 $SRC
     48 ## disable installing 'config.ps'
     49 $CP $SRC/texk/${P}dvipsk/Makefile.in       $SRC/texk/${P}dvipsk/Makefile.in.jp
     50 $CP $SRC/texk/${P}dvipsk/Makefile.in.tetex $SRC/texk/${P}dvipsk/Makefile.in
     51@@ -263,7 +255,11 @@
    452 
    553 
Note: See TracChangeset for help on using the changeset viewer.