Changeset 17158


Ignore:
Timestamp:
Mar 24, 2006, 10:57:21 PM (15 years ago)
Author:
takanori
Message:

Bumped to ptetex3-20060324

File:
1 edited

Legend:

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

    r17023 r17158  
    1 # $Id: Portfile,v 1.5 2006/03/16 17:45:55 takanori Exp $
     1# $Id: Portfile,v 1.6 2006/03/24 22:57:21 takanori Exp $
     2PortSystem              1.0
    23
    3 set ptetex_version 20060315
     4set ptetex_version 20060324
    45
    5 PortSystem              1.0
    66name                    pTeX
    77version                 ptetex3-${ptetex_version}
    8 epoch                   20060315
     8epoch                   ${ptetex_version}
    99categories              print textproc
    1010maintainers             takanori@opendarwin.org
     
    2929                                       sha1 10f7d2fa007c95ca066d899fca0e9a8446108824 \
    3030                                       rmd160 67cb6325f1edbea89c4723791116717190ec73c4 \
    31                 ptetex3-${ptetex_version}.tar.gz md5 0be4b7f78eb993f3cb546a18633dd853 \
    32                                           sha1 5b5c4a7bd5d55d1845109a36b7b83f7cfa70d735 \
    33                                           rmd160 f85c397476722dff63214303a4f67394ce1b0100
     31                ptetex3-${ptetex_version}.tar.gz md5 34766345088e7a3f6b6a9f6c8100d85a \
     32                                                 sha1 7051e7d0a482af54004bc008a5c8abcf2d7d2768 \
     33                                                 rmd160 7f4ebe9328989d0b33615a963d998e1a4cb10309
    3434
    3535default_variants        +hiragino +otf
     
    4242worksrcdir      ptetex3-${ptetex_version}
    4343
    44 patch           {
     44configure.args  --without-texinfo --without-texi2html --with-system-gd --with-system-zlib --with-system-pnglib --with-system-ncurses --with-xdvi-x-toolkit=motif
     45configure       {
    4546                system "echo MD5CHECK=md5check  >> ${worksrcpath}/my_option"
    4647                system "echo SRC_DIR=${distpath} >> ${worksrcpath}/my_option"
     
    5455                system "echo export CPPFLAGS LDFLAGS LD_LIBRARY_PATH >> ${worksrcpath}/my_option"
    5556}
    56 
    57 configure.args  --without-texinfo --without-texi2html --with-system-gd --with-system-zlib --with-system-pnglib --with-system-ncurses --with-xdvi-x-toolkit=motif
    58 configure {}
    5957
    6058build           {
     
    8179
    8280                if {[variant_isset hiragino]} {
    83                    system "perl -pi -e \"s|^(KanjiMap utf-noEmbeddedFont.map)$|#\\1\\nKanjiMap utf-unicode-x.map|, s|^(KanjiMap otf-noEmbeddedFont.map)$|#\\1\\nKanjiMap otf-hiraginox.map|\" ${destroot}${prefix}/share/texmf-config/web2c/updmap.cfg"
    84                    system "perl -pi -e \"s|^(rml\\s.+)$|#\\1\\nrml\\tH\\tHiraMinPro-W3.otf|, s|^(rmlv\\s.+)$|#\\1\\nrmlv\\tV\\tHiraMinPro-W3.otf|, s|^(gbm\\s.+)$|#\\1\\ngbm\\tH\\tHiraKakuPro-W3.otf|, s|^(gbmv\\s.+)$|#\\1\\ngbmv\\tV\\tHiraKakuPro-W3.otf|, \" ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/cid-x.map"
     81                   system "perl -pi -e \"s|^(KanjiMap ptex-noEmbeddedFont.map)$|#! \\1|, s|^#! (KanjiMap ptex-hiragino.map)$|\\1|, s|^(KanjiMap morisawa.map)$|#! \\1\\nKanjiMap morisawa-hiraginoEmbed.map|, s|^(KanjiMap utf-noEmbeddedFont.map)$|#! \\1\\nKanjiMap utf-unicode-x.map|, s|^(KanjiMap otf-noEmbeddedFont.map)$|#! \\1|, s|^#! (KanjiMap otf-hiraginox.map)$|\\1|\" ${destroot}${prefix}/share/texmf-config/web2c/updmap.cfg"
    8582                }
     83                file copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-hiraginoEmbed.map
     84                system "perl -pi -e \"s|Ryumin-Light|HiraMinPro-W3.otf|, s|GothicBBB-Medium|HiraKakuPro-W3.otf|, s|FutoMinA101-Bold|HiraMinPro-W6.otf|, s|FutoGoB101-Bold|HiraKakuPro-W6.otf|, s|Jun101-Light|HiraMaruPro-W4.otf|\" ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-hiraginoEmbed.map"
    8685
    8786                # Modify mktex.opt to force use of varfonts
     
    108107}
    109108
     109#Embed Hiragino fonts in PDF
    110110variant hiragino {}
     111
     112#Use otf.sty
    111113variant otf {}
     114
     115#Use babel
    112116variant babel {}
    113117
    114118variant euc conflicts sjis {
    115         pre-patch { system "echo KANJI_CODE=EUC  >> ${worksrcpath}/my_option" }
     119        pre-configure { system "echo KANJI_CODE=EUC  >> ${worksrcpath}/my_option" }
    116120}
    117121variant sjis conflicts euc {
    118         pre-patch { system "echo KANJI_CODE=SJIS  >> ${worksrcpath}/my_option" }
     122        pre-configure { system "echo KANJI_CODE=SJIS  >> ${worksrcpath}/my_option" }
    119123}
    120124
Note: See TracChangeset for help on using the changeset viewer.