[31267] trunk/dports/tex/pTeX
takanori at macports.org
takanori at macports.org
Sun Nov 18 21:27:33 PST 2007
Revision: 31267
http://trac.macosforge.org/projects/macports/changeset/31267
Author: takanori at macports.org
Date: 2007-11-18 21:27:32 -0800 (Sun, 18 Nov 2007)
Log Message:
-----------
pTeX: Linted.
Modified Paths:
--------------
trunk/dports/tex/pTeX/Portfile
Added Paths:
-----------
trunk/dports/tex/pTeX/files/patch-7font-search.sh.diff
Removed Paths:
-------------
trunk/dports/tex/pTeX/files/patch-7font-search.sh
Modified: trunk/dports/tex/pTeX/Portfile
===================================================================
--- trunk/dports/tex/pTeX/Portfile 2007-11-19 05:27:14 UTC (rev 31266)
+++ trunk/dports/tex/pTeX/Portfile 2007-11-19 05:27:32 UTC (rev 31267)
@@ -1,228 +1,225 @@
# $Id$
-PortSystem 1.0
-name pTeX
-version 20071030
-epoch ${version}
-categories tex print textproc japanese
-maintainers takanori at macports.org
-description Japanese TeX (pTeX) processing environment
-long_description ${description}
-platforms darwin
-homepage http://www.nn.iij4u.or.jp/~tutimura/tex/ptetex.html
-master_sites http://ftp.lab.kdd.co.jp/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
- http://ftp.nara.wide.ad.jp/pub/TeX/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
- http://ftp.riken.go.jp/pub/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
- http://ftp.yz.yamagata-u.ac.jp/pub/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
- http://dante.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
- http://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
- ftp://ftp.lab.kdd.co.jp/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
- ftp://ftp.meisei-u.ac.jp/pub/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
- ftp://ftp.nara.wide.ad.jp/pub/TeX/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
- ftp://ftp.riken.go.jp/pub/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
- ftp://ftp.u-aizu.ac.jp/pub/tex/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
- ftp://ftp.yz.yamagata-u.ac.jp/pub/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
- ftp://dante.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
- ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
- ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
- http://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/:ptetex3 \
- macports::ptetex3 \
- macports::cmap
-distname ptetex3-${version}
-distfiles tetex-src-3.0.tar.gz:tetex \
- tetex-texmf-3.0po.tar.gz:tetex \
- ${distname}${extract.suffix}:ptetex3 \
- cmap-gs854.tar.gz:cmap
-patchfiles patch-7font-search.sh
+PortSystem 1.0
-checksums tetex-src-3.0.tar.gz md5 944a4641e79e61043fdaf8f38ecbb4b3 \
- sha1 7637789f7f4929694aed1b89820f5bad4753e8fc \
- rmd160 15a139f5f36993e4ed3583260e175cfb13ce7bcc \
- tetex-texmf-3.0po.tar.gz md5 ed9d30d9162d16ac8d5065cde6e0f6fa \
- sha1 1be97f57a26a6e9b72ebfd932e45914a959aff16 \
- rmd160 a1e87733fa3cbef04e39a690ed8549aeaaddb241 \
- ${distname}${extract.suffix} md5 27cec4fce85bbab128f6631fe501e172 \
- sha1 b31bc5a21de6f3d9a3a50aa1fc9ed33d8e087a52 \
- rmd160 3814df24fff37f2612ba0e1863d36f1954239c88 \
- cmap-gs854.tar.gz md5 e8cbefa9584c4c72b01b05c127371c8b \
- sha1 ba004879d1e486734ac780e3023975e2ae0fcee6 \
- rmd160 af6f603525f80d519c08f9205817a9a99616ff3b
+name pTeX
+version 20071030
+epoch ${version}
+categories tex print textproc japanese
+maintainers takanori
+description Japanese TeX (pTeX) processing environment
+long_description \
+ ${description}
+platforms darwin
+homepage http://www.nn.iij4u.or.jp/~tutimura/tex/ptetex.html
+master_sites http://ftp.lab.kdd.co.jp/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
+ http://ftp.nara.wide.ad.jp/pub/TeX/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
+ http://ftp.riken.go.jp/pub/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
+ http://ftp.yz.yamagata-u.ac.jp/pub/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
+ http://dante.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
+ http://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
+ ftp://ftp.lab.kdd.co.jp/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
+ ftp://ftp.meisei-u.ac.jp/pub/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
+ ftp://ftp.nara.wide.ad.jp/pub/TeX/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
+ ftp://ftp.riken.go.jp/pub/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
+ ftp://ftp.u-aizu.ac.jp/pub/tex/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
+ ftp://ftp.yz.yamagata-u.ac.jp/pub/CTAN/systems/unix/teTeX/3.0/distrib/:tetex \
+ ftp://dante.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
+ ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
+ ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
+ http://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/:ptetex3 \
+ macports::ptetex3 \
+ macports::cmap
+distname ptetex3-${version}
+distfiles tetex-src-3.0.tar.gz:tetex \
+ tetex-texmf-3.0po.tar.gz:tetex \
+ ${distname}${extract.suffix}:ptetex3 \
+ cmap-gs854.tar.gz:cmap
+patchfiles patch-7font-search.sh.diff
+checksums tetex-src-3.0.tar.gz md5 944a4641e79e61043fdaf8f38ecbb4b3 \
+ sha1 7637789f7f4929694aed1b89820f5bad4753e8fc \
+ rmd160 15a139f5f36993e4ed3583260e175cfb13ce7bcc \
+ tetex-texmf-3.0po.tar.gz md5 ed9d30d9162d16ac8d5065cde6e0f6fa \
+ sha1 1be97f57a26a6e9b72ebfd932e45914a959aff16 \
+ rmd160 a1e87733fa3cbef04e39a690ed8549aeaaddb241 \
+ ${distname}${extract.suffix} md5 27cec4fce85bbab128f6631fe501e172 \
+ sha1 b31bc5a21de6f3d9a3a50aa1fc9ed33d8e087a52 \
+ rmd160 3814df24fff37f2612ba0e1863d36f1954239c88 \
+ cmap-gs854.tar.gz md5 e8cbefa9584c4c72b01b05c127371c8b \
+ sha1 ba004879d1e486734ac780e3023975e2ae0fcee6 \
+ rmd160 af6f603525f80d519c08f9205817a9a99616ff3b
-depends_lib bin:gs:ghostscript \
- bin:perl:perl5.8 \
- lib:libX11:XFree86 \
- lib:libXm:openmotif \
- port:fontconfig \
- port:freetype \
- port:gd2 \
- port:jpeg \
- port:libiconv \
- port:libpng \
- port:ncurses \
- port:t1lib \
- port:zlib
-depends_build bin:bash:bash \
- port:nkf
-depends_run port:texi2html \
- port:texinfo
+depends_lib bin:gs:ghostscript \
+ bin:perl:perl5.8 \
+ lib:libX11:XFree86 \
+ lib:libXm:openmotif \
+ port:fontconfig \
+ port:freetype \
+ port:gd2 \
+ port:jpeg \
+ port:libiconv \
+ port:libpng \
+ port:ncurses \
+ port:t1lib \
+ port:zlib
+depends_build bin:bash:bash \
+ port:nkf
+depends_run port:texi2html \
+ port:texinfo
-extract.only ${distname}${extract.suffix}
-post-extract {
- system "cd ${worksrcpath} && gzip -dc ${distpath}/cmap-gs854.tar.gz | tar --no-same-owner -xf -"
+extract.only ${distname}${extract.suffix}
+post-extract {
+ system "cd ${worksrcpath} && gzip -dc ${distpath}/cmap-gs854.tar.gz | tar --no-same-owner -xf -"
}
-configure.args --without-texi2html \
- --without-texinfo \
- --with-system-gd \
- --with-system-ncurses \
- --with-system-pnglib \
- --with-system-t1lib \
- --with-system-zlib \
- --with-xdvi-x-toolkit=motif
-# --enable-shared
-configure {
- set fd [open [file join ${worksrcpath} my_option] w 0644]
- puts ${fd} "TMP_PREFIX=${workpath}/temp"
- puts ${fd} "SRC_DIR=${distpath}"
- puts ${fd} "PREFIX=${prefix}"
- puts ${fd} "DATADIR=${prefix}/share"
- puts ${fd} "CONF_OPTION=\"\$CONF_OPTION ${configure.args}\""
- if {[variant_isset sjis]} {
- puts ${fd} "KANJI_CODE=SJIS"
- } elseif {[variant_isset utf8]} {
- puts ${fd} "KANJI_CODE=UTF8"
- } else {
- puts ${fd} "KANJI_CODE=EUC"
- }
- if {[variant_isset nox11]} {
- puts ${fd} "XDVI=echo"
- puts ${fd} "PXDVI=echo"
- }
- puts ${fd} "CFLAGS=\"${configure.cflags}\""
- puts ${fd} "CPPFLAGS=\"${configure.cppflags}\""
- puts ${fd} "LDFLAGS=\"${configure.ldflags}\""
- puts ${fd} "LD_LIBRARY_PATH=\"\$LD_LIBRARY_PATH:${prefix}/lib\""
- puts ${fd} "export CFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH"
- close ${fd}
+configure.args --without-texi2html \
+ --without-texinfo \
+ --with-system-gd \
+ --with-system-ncurses \
+ --with-system-pnglib \
+ --with-system-t1lib \
+ --with-system-zlib \
+ --with-xdvi-x-toolkit=motif
+# --enable-shared
+configure {
+ set fd [open [file join ${worksrcpath} my_option] w 0644]
+ puts ${fd} "TMP_PREFIX=${workpath}/temp"
+ puts ${fd} "SRC_DIR=${distpath}"
+ puts ${fd} "PREFIX=${prefix}"
+ puts ${fd} "DATADIR=${prefix}/share"
+ puts ${fd} "CONF_OPTION=\"\$CONF_OPTION ${configure.args}\""
+ if {[variant_isset sjis]} {
+ puts ${fd} "KANJI_CODE=SJIS"
+ } elseif {[variant_isset utf8]} {
+ puts ${fd} "KANJI_CODE=UTF8"
+ } else {
+ puts ${fd} "KANJI_CODE=EUC"
+ }
+ if {[variant_isset nox11]} {
+ puts ${fd} "XDVI=echo"
+ puts ${fd} "PXDVI=echo"
+ }
+ puts ${fd} "CFLAGS=\"${configure.cflags}\""
+ puts ${fd} "CPPFLAGS=\"${configure.cppflags}\""
+ puts ${fd} "LDFLAGS=\"${configure.ldflags}\""
+ puts ${fd} "LD_LIBRARY_PATH=\"\$LD_LIBRARY_PATH:${prefix}/lib\""
+ puts ${fd} "export CFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH"
+ close ${fd}
}
-build.target all0
-pre-build {
- if {![variant_isset no_otf]} {build.target-append otf}
- if {[variant_isset babel]} {build.target-append babel}
- build.target-append fonty
+build.target all0
+pre-build {
+ if {![variant_isset no_otf]} {build.target-append otf}
+ if {[variant_isset babel]} {build.target-append babel}
+ build.target-append fonty
}
-test.run yes
+test.run yes
-destroot {
- system "(cd ${workpath}/temp; tar cf - bin include lib share) | (cd ${destroot}${prefix}; tar xf -)"
- system "(cd ${workpath}/temp; tar cf - info man) | (cd ${destroot}${prefix}/share; tar xf -)"
- delete ${destroot}${prefix}/share/info/dir
+destroot {
+ system "(cd ${workpath}/temp; tar cf - bin include lib share) | (cd ${destroot}${prefix}; tar xf -)"
+ system "(cd ${workpath}/temp; tar cf - info man) | (cd ${destroot}${prefix}/share; tar xf -)"
+ delete ${destroot}${prefix}/share/info/dir
- file copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-hiraginoEmbed.map
- foreach {mori hira} {Ryumin-Light HiraMinPro-W3.otf
- GothicBBB-Medium HiraKakuPro-W3.otf
- FutoMinA101-Bold HiraMinPro-W6.otf
- FutoGoB101-Bold HiraKakuPro-W6.otf
- Jun101-Light HiraMaruPro-W4.otf} {
- reinplace "s|${mori}|${hira}|g" ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-hiraginoEmbed.map
- }
- reinplace "s|^\\(KanjiMap morisawa.map\\)$|\\1\\\n#! KanjiMap morisawa-hiraginoEmbed.map|" ${destroot}${prefix}/share/texmf-config/web2c/updmap.cfg
+ copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-hiraginoEmbed.map
+ foreach {mori hira} {Ryumin-Light HiraMinPro-W3.otf
+ GothicBBB-Medium HiraKakuPro-W3.otf
+ FutoMinA101-Bold HiraMinPro-W6.otf
+ FutoGoB101-Bold HiraKakuPro-W6.otf
+ Jun101-Light HiraMaruPro-W4.otf} {
+ reinplace "s|${mori}|${hira}|g" ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-hiraginoEmbed.map
+ }
+ reinplace "s|^\\(KanjiMap morisawa.map\\)$|\\1\\\n#! KanjiMap morisawa-hiraginoEmbed.map|" ${destroot}${prefix}/share/texmf-config/web2c/updmap.cfg
- # I would like to keep this backward compatibility for a while.
- system "cd ${destroot}${prefix} && patch -p0 < ${filespath}/oldfmtfiles.diff"
- foreach f {ptex platex} {
- foreach e {euc jis sjis utf8} {
- ln -s ptex ${destroot}${prefix}/bin/${f}-${e}
- }
- }
+ # I would like to keep this backward compatibility for a while.
+ system "cd ${destroot}${prefix} && patch -p0 < ${filespath}/oldfmtfiles.diff"
+ foreach f {ptex platex} {
+ foreach e {euc jis sjis utf8} {
+ ln -s ptex ${destroot}${prefix}/bin/${f}-${e}
+ }
+ }
- # Update ls-R, map and fmt files (before packaging)
- set destroot_var "PATH=\"${destroot}${prefix}/bin:$env(PATH)\" TEXMFMAIN=${destroot}${prefix}/share/texmf LD_LIBRARY_PATH=${destroot}${prefix}/lib"
- system "${destroot_var} mktexlsr"
- if {![variant_isset no_hiragino]} {
- system "${destroot_var} updmap-sys --setoption kanjiEmbed hiragino --nomkmap || true"
- system "${destroot_var} updmap-sys --disable morisawa.map --nomkmap || true"
- system "${destroot_var} updmap-sys --enable KanjiMap morisawa-hiraginoEmbed.map --nomkmap || true"
- system "${destroot_var} updmap-sys"
- }
- system "${destroot_var} fmtutil-sys --all"
+ # Update ls-R, map and fmt files (before packaging)
+ set destroot_var "PATH=\"${destroot}${prefix}/bin:$env(PATH)\" TEXMFMAIN=${destroot}${prefix}/share/texmf LD_LIBRARY_PATH=${destroot}${prefix}/lib"
+ system "${destroot_var} mktexlsr"
+ if {![variant_isset no_hiragino]} {
+ system "${destroot_var} updmap-sys --setoption kanjiEmbed hiragino --nomkmap || true"
+ system "${destroot_var} updmap-sys --disable morisawa.map --nomkmap || true"
+ system "${destroot_var} updmap-sys --enable KanjiMap morisawa-hiraginoEmbed.map --nomkmap || true"
+ system "${destroot_var} updmap-sys"
+ }
+ system "${destroot_var} fmtutil-sys --all"
- # Modify mktex.opt to force use of varfonts
- reinplace "s|MT_FEATURES=appendonlydir|MT_FEATURES=appendonlydir:varfonts|g" ${destroot}${prefix}/share/texmf/web2c/mktex.opt
+ # Modify mktex.opt to force use of varfonts
+ reinplace "s|MT_FEATURES=appendonlydir|MT_FEATURES=appendonlydir:varfonts|g" ${destroot}${prefix}/share/texmf/web2c/mktex.opt
- # Add a directory for local enhancements
- file mkdir ${destroot}${prefix}/share/texmf-local
- system "touch ${destroot}${prefix}/share/texmf-local/.ptetex3-${version}"
+ # Add a directory for local enhancements
+ file mkdir ${destroot}${prefix}/share/texmf-local
+ system "touch ${destroot}${prefix}/share/texmf-local/.ptetex3-${version}"
}
-
-post-destroot {
- file mkdir ${destroot}${prefix}/share/doc
- ln -s ../texmf/doc/ptetex ${destroot}${prefix}/share/doc/ptetex3
+post-destroot {
+ file mkdir ${destroot}${prefix}/share/doc
+ ln -s ../texmf/doc/ptetex ${destroot}${prefix}/share/doc/ptetex3
}
-post-activate {
- system "ranlib ${prefix}/lib/libkpathsea.a"
- system "ranlib ${prefix}/lib/libptexenc.a"
+post-activate {
+ system "ranlib ${prefix}/lib/libkpathsea.a"
+ system "ranlib ${prefix}/lib/libptexenc.a"
- system "${prefix}/bin/mktexlsr"
+ system "${prefix}/bin/mktexlsr"
- # Not elegant. But this will be helpful if you are using these packages
- foreach f {tipa.map} {
- system "(${prefix}/bin/kpsewhich ${f} > /dev/null) && ${prefix}/bin/updmap-sys --enable MixedMap ${f} --nomkmap || true"
- }
- 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} {
- system "(${prefix}/bin/kpsewhich ${f} > /dev/null) && ${prefix}/bin/updmap-sys --enable Map ${f} --nomkmap || true"
- }
+ # Not elegant. But this will be helpful if you are using these packages
+ foreach f {tipa.map} {
+ system "(${prefix}/bin/kpsewhich ${f} > /dev/null) && ${prefix}/bin/updmap-sys --enable MixedMap ${f} --nomkmap || true"
+ }
+ 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} {
+ system "(${prefix}/bin/kpsewhich ${f} > /dev/null) && ${prefix}/bin/updmap-sys --enable Map ${f} --nomkmap || true"
+ }
- system "${prefix}/bin/updmap-sys"
- system "${prefix}/bin/fmtutil-sys --all"
+ system "${prefix}/bin/updmap-sys"
+ system "${prefix}/bin/fmtutil-sys --all"
}
-universal_variant no
+universal_variant no
-#Don't embed hiragino fonts in PDF
-variant no_hiragino {}
+variant no_hiragino description {Do not embed Hiragino fonts in PDF} {}
-#Don't use otf.sty
-variant no_otf {}
+variant no_otf description {Do not use otf.sty} {}
-#Use babel
-variant babel {}
+variant babel description {Use babel} {}
-variant euc conflicts sjis utf8 {}
-variant sjis conflicts euc utf8 {}
-variant utf8 conflicts euc sjis {}
+variant euc conflicts sjis utf8 description {Set default character set to EUC-JP} {}
+variant sjis conflicts euc utf8 description {Set default character set to Shift_JIS} {}
+variant utf8 conflicts euc sjis description {Set default character set to UTF-8} {}
-variant nox11 conflicts motif xaw xaw3d nextaw {
- depends_lib-delete lib:libX11:XFree86 lib:libXm:openmotif port:fontconfig port:freetype port:gd2 port:jpeg port:libiconv
- # gd2 requires X11
- configure.args-delete --with-system-gd --with-xdvi-x-toolkit=motif
- configure.args-append --without-system-gd --without-x --without-xdvik
+variant nox11 conflicts motif xaw xaw3d nextaw description {Do not use X11} {
+ depends_lib-delete lib:libX11:XFree86 lib:libXm:openmotif port:fontconfig port:freetype port:gd2 port:jpeg port:libiconv
+ # gd2 requires X11
+ configure.args-delete --with-system-gd --with-xdvi-x-toolkit=motif
+ configure.args-append --without-system-gd --without-x --without-xdvik
}
-variant motif conflicts nox11 xaw xaw3d nextaw {}
-variant xaw conflicts nox11 motif xaw3d nextaw {
- depends_lib-delete lib:libXm:openmotif
- depends_lib-append lib:libXaw:XFree86
- configure.args-delete --with-xdvi-x-toolkit=motif
- configure.args-append --with-xdvi-x-toolkit=xaw
+variant motif conflicts nox11 xaw xaw3d nextaw description {Use motif} {}
+variant xaw conflicts nox11 motif xaw3d nextaw description {Use xaw} {
+ depends_lib-delete lib:libXm:openmotif
+ depends_lib-append lib:libXaw:XFree86
+ configure.args-delete --with-xdvi-x-toolkit=motif
+ configure.args-append --with-xdvi-x-toolkit=xaw
}
-variant xaw3d conflicts nox11 motif xaw nextaw {
- depends_lib-delete lib:libXm:openmotif
- depends_lib-append port:Xaw3d
- configure.args-delete --with-xdvi-x-toolkit=motif
- configure.args-append --with-xdvi-x-toolkit=xaw3d
+variant xaw3d conflicts nox11 motif xaw nextaw description {Use xaw3d} {
+ depends_lib-delete lib:libXm:openmotif
+ depends_lib-append port:Xaw3d
+ configure.args-delete --with-xdvi-x-toolkit=motif
+ configure.args-append --with-xdvi-x-toolkit=xaw3d
}
-variant nextaw conflicts nox11 motif xaw xaw3d {
- depends_lib-delete lib:libXm:openmotif
- depends_lib-append port:neXtaw
- configure.args-delete --with-xdvi-x-toolkit=motif
- configure.args-append --with-xdvi-x-toolkit=neXtaw
+variant nextaw conflicts nox11 motif xaw xaw3d description {Use nextaw} {
+ depends_lib-delete lib:libXm:openmotif
+ depends_lib-append port:neXtaw
+ configure.args-delete --with-xdvi-x-toolkit=motif
+ configure.args-append --with-xdvi-x-toolkit=neXtaw
}
platform darwin 9 {}
-livecheck.check regex
-livecheck.url http://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/?N=D
-livecheck.regex ptetex3-(\[0-9\]+)\\.tar
+livecheck.check regex
+livecheck.url http://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/?N=D
+livecheck.regex ptetex3-(\[0-9\]+)\\.tar
Deleted: trunk/dports/tex/pTeX/files/patch-7font-search.sh
===================================================================
--- trunk/dports/tex/pTeX/files/patch-7font-search.sh 2007-11-19 05:27:14 UTC (rev 31266)
+++ trunk/dports/tex/pTeX/files/patch-7font-search.sh 2007-11-19 05:27:32 UTC (rev 31267)
@@ -1,60 +0,0 @@
---- ./7font-search.sh.orig 2007-11-01 22:49:05.000000000 +0900
-+++ ./7font-search.sh 2007-11-01 22:52:34.000000000 +0900
-@@ -101,37 +101,8 @@
-
- # -----------------------------------
-
--mksymlink $CMAP <<EOF
--### \xA5\xEA\xA5\xF3\xA5\xAF̾ \xB8\xA1\xBA\xF7\xA5ǥ\xA3\xA5쥯\xA5ȥ\xEA/\xA5ե\xA1\xA5\xA4\xA5\xEB
--Acrobat4 /usr{,/local,/sfw}{,/lib}/Acrobat4/Resource/CMap
--Acrobat5 /usr{,/local,/sfw}{,/lib}/Acrobat5/Resource/Font
--Acrobat7 /usr{,/local,/sfw}{,/lib}{,/Adobe}/Acrobat7.0/Resource/CMap
--ghostscript /usr{,/local,/sfw}/{share,lib}/ghostscript{,/*}/Resource/CMap
--openwinja /usr/openwin/lib/locale/ja/X11/Resource/CMap
--openwinko /usr/openwin/lib/locale/ko/X11/Resource/CMap
--openwinzh /usr/openwin/lib/locale/zh/X11/Resource/CMap
--openwintw /usr/openwin/lib/locale/zh_TW.BIG5/X11/Resource/CMap
--EOF
--
--mksymlink $TRUETYPE <<EOF
--### \xA5\xEA\xA5\xF3\xA5\xAF̾ \xB8\xA1\xBA\xF7\xA5ǥ\xA3\xA5쥯\xA5ȥ\xEA/\xA5ե\xA1\xA5\xA4\xA5\xEB
--x11 /usr{,/local,/X11R6}/lib/X11/fonts/truetype
--X11 /usr{,/local,/X11R6}/lib/X11/fonts/TrueType
--X11TTF /usr{,/local,/X11R6}/lib/X11/fonts/TTF
--openwin /usr/openwin/lib/locale/ja/X11/fonts/TT
--truetype /usr/share/fonts/truetype
--TTF /usr/share/fonts/TTF
--ja /usr/share/fonts/ja/TrueType
--japanese /usr/share/fonts/japanese/TrueType
--QtPalmtop /opt/QtPalmtop/lib/X11/fonts/TrueType
--EOF
--
--mksymlink $OPENTYPE <<EOF
--### \xA5\xEA\xA5\xF3\xA5\xAF̾ \xB8\xA1\xBA\xF7\xA5ǥ\xA3\xA5쥯\xA5ȥ\xEA/\xA5ե\xA1\xA5\xA4\xA5\xEB
--# for test (contains white space)
--hoge "/tmp/hoge hoge"
--QtPalmtop /opt/QtPalmtop/lib/X11/fonts/opentype
--EOF
-+$MKDIR $CMAP/ghostscript
-+$CP ./cmap-gs854/* $CMAP/ghostscript
-
- if test -d /System/Library/Fonts; then # Mac OS X
- LC_ALL=ja_JP.UTF-8
-@@ -145,17 +116,6 @@
- EOF
- fi
-
--if test -d /cygdrive; then # cygwin
--mksymlink $CMAP <<EOF
--Acrobat5 "`cygpath --mixed "$PROGRAMFILES"`/Adobe/Acrobat 5.0/Resource/Cmap"
--Acrobat6 "`cygpath --mixed "$PROGRAMFILES"`/Adobe/Acrobat 6.0/Resource/CMap"
--Acrobat7 "`cygpath --mixed "$PROGRAMFILES"`/Adobe/Acrobat 7.0/Resource/CMap"
--EOF
--mksymlink $TRUETYPE <<EOF
--windows "`cygpath --mixed -W`/Fonts"
--EOF
--fi
--
- (IFS=";"; NUM=1; for f in $EXTRA_CMAP; do
- echo "extra$NUM $f"
- NUM=`expr $NUM + 1`
Copied: trunk/dports/tex/pTeX/files/patch-7font-search.sh.diff (from rev 31187, trunk/dports/tex/pTeX/files/patch-7font-search.sh)
===================================================================
--- trunk/dports/tex/pTeX/files/patch-7font-search.sh.diff (rev 0)
+++ trunk/dports/tex/pTeX/files/patch-7font-search.sh.diff 2007-11-19 05:27:32 UTC (rev 31267)
@@ -0,0 +1,60 @@
+--- ./7font-search.sh.orig 2007-11-01 22:49:05.000000000 +0900
++++ ./7font-search.sh 2007-11-01 22:52:34.000000000 +0900
+@@ -101,37 +101,8 @@
+
+ # -----------------------------------
+
+-mksymlink $CMAP <<EOF
+-### \xA5\xEA\xA5\xF3\xA5\xAF̾ \xB8\xA1\xBA\xF7\xA5ǥ\xA3\xA5쥯\xA5ȥ\xEA/\xA5ե\xA1\xA5\xA4\xA5\xEB
+-Acrobat4 /usr{,/local,/sfw}{,/lib}/Acrobat4/Resource/CMap
+-Acrobat5 /usr{,/local,/sfw}{,/lib}/Acrobat5/Resource/Font
+-Acrobat7 /usr{,/local,/sfw}{,/lib}{,/Adobe}/Acrobat7.0/Resource/CMap
+-ghostscript /usr{,/local,/sfw}/{share,lib}/ghostscript{,/*}/Resource/CMap
+-openwinja /usr/openwin/lib/locale/ja/X11/Resource/CMap
+-openwinko /usr/openwin/lib/locale/ko/X11/Resource/CMap
+-openwinzh /usr/openwin/lib/locale/zh/X11/Resource/CMap
+-openwintw /usr/openwin/lib/locale/zh_TW.BIG5/X11/Resource/CMap
+-EOF
+-
+-mksymlink $TRUETYPE <<EOF
+-### \xA5\xEA\xA5\xF3\xA5\xAF̾ \xB8\xA1\xBA\xF7\xA5ǥ\xA3\xA5쥯\xA5ȥ\xEA/\xA5ե\xA1\xA5\xA4\xA5\xEB
+-x11 /usr{,/local,/X11R6}/lib/X11/fonts/truetype
+-X11 /usr{,/local,/X11R6}/lib/X11/fonts/TrueType
+-X11TTF /usr{,/local,/X11R6}/lib/X11/fonts/TTF
+-openwin /usr/openwin/lib/locale/ja/X11/fonts/TT
+-truetype /usr/share/fonts/truetype
+-TTF /usr/share/fonts/TTF
+-ja /usr/share/fonts/ja/TrueType
+-japanese /usr/share/fonts/japanese/TrueType
+-QtPalmtop /opt/QtPalmtop/lib/X11/fonts/TrueType
+-EOF
+-
+-mksymlink $OPENTYPE <<EOF
+-### \xA5\xEA\xA5\xF3\xA5\xAF̾ \xB8\xA1\xBA\xF7\xA5ǥ\xA3\xA5쥯\xA5ȥ\xEA/\xA5ե\xA1\xA5\xA4\xA5\xEB
+-# for test (contains white space)
+-hoge "/tmp/hoge hoge"
+-QtPalmtop /opt/QtPalmtop/lib/X11/fonts/opentype
+-EOF
++$MKDIR $CMAP/ghostscript
++$CP ./cmap-gs854/* $CMAP/ghostscript
+
+ if test -d /System/Library/Fonts; then # Mac OS X
+ LC_ALL=ja_JP.UTF-8
+@@ -145,17 +116,6 @@
+ EOF
+ fi
+
+-if test -d /cygdrive; then # cygwin
+-mksymlink $CMAP <<EOF
+-Acrobat5 "`cygpath --mixed "$PROGRAMFILES"`/Adobe/Acrobat 5.0/Resource/Cmap"
+-Acrobat6 "`cygpath --mixed "$PROGRAMFILES"`/Adobe/Acrobat 6.0/Resource/CMap"
+-Acrobat7 "`cygpath --mixed "$PROGRAMFILES"`/Adobe/Acrobat 7.0/Resource/CMap"
+-EOF
+-mksymlink $TRUETYPE <<EOF
+-windows "`cygpath --mixed -W`/Fonts"
+-EOF
+-fi
+-
+ (IFS=";"; NUM=1; for f in $EXTRA_CMAP; do
+ echo "extra$NUM $f"
+ NUM=`expr $NUM + 1`
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071118/dd16dd97/attachment.html
More information about the macports-changes
mailing list