diff options
-rw-r--r-- | print/texfamily/DESCR | 19 | ||||
-rw-r--r-- | print/texfamily/Makefile | 163 | ||||
-rw-r--r-- | print/texfamily/PLIST | 183 | ||||
-rw-r--r-- | print/texfamily/distinfo | 34 | ||||
-rw-r--r-- | print/texfamily/patches/patch-aa | 116 | ||||
-rw-r--r-- | print/texfamily/patches/patch-ab | 17 | ||||
-rw-r--r-- | print/texfamily/patches/patch-ac | 11 | ||||
-rw-r--r-- | print/texfamily/patches/patch-ad | 39 | ||||
-rw-r--r-- | print/texfamily/patches/patch-ae | 63 | ||||
-rw-r--r-- | print/texfamily/patches/patch-af | 13 | ||||
-rw-r--r-- | print/texfamily/patches/patch-ag | 13 | ||||
-rw-r--r-- | print/texfamily/patches/patch-ah | 44 | ||||
-rw-r--r-- | print/texfamily/patches/patch-ai | 23 | ||||
-rw-r--r-- | print/texfamily/patches/patch-aj | 13 |
14 files changed, 751 insertions, 0 deletions
diff --git a/print/texfamily/DESCR b/print/texfamily/DESCR new file mode 100644 index 00000000000..90b27c20629 --- /dev/null +++ b/print/texfamily/DESCR @@ -0,0 +1,19 @@ +TeXfamily 1.2.1 is a correction of previous release 1.2 of TeX package with +Japanese and other language, based on teTeX 1.0.7. + +NetBSD version of this package contains several programs: + +1. Programs included with original TeXfamily + - NTT JTeX 1.9.1 (Japanese TeX) + - MuLTeX 0.8.1 (Multi-Lingual TeX) + +2. Tools for JTex/MuLTeX (available from TeXfamily's site) + - dvi2ps-3.2j (dvi2ps with Japanese support) + - jmakeindex (indexing tool with Japanese support) + +3. ASCII pTeX and tools for it + - ASCII Publishing TeX (ptex) 2.1.10 + - dvipsk-p1.5e (dvips with Japanese support) + - mendexk2.4f (indexing tool with Japanese support) + +This package contains executables. diff --git a/print/texfamily/Makefile b/print/texfamily/Makefile new file mode 100644 index 00000000000..b2bca3aeb2d --- /dev/null +++ b/print/texfamily/Makefile @@ -0,0 +1,163 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $ + +DISTNAME= TeXfamily-1.2.1 +PKGREVISION= 2 +CATEGORIES= japanese print +MASTER_SITES= ftp://ftp.math.s.chiba-u.ac.jp/tex/texfam-1.2/ \ + ftp://ftp.math.s.chiba-u.ac.jp/tex/texfam-1.2.1/ \ + ftp://ftp.math.s.chiba-u.ac.jp/tex/ \ + ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/tetex/ \ + ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/dvips/ \ + ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/mendex/ +DISTFILES= texfam-1.2${EXTRACT_SUFX} \ + web2c-j1.9${EXTRACT_SUFX} \ + web2c-j1.9.1${EXTRACT_SUFX} \ + web2c-m0.8${EXTRACT_SUFX} \ + web2c-m0.8.1${EXTRACT_SUFX} \ + dvi2ps-3.2j${EXTRACT_SUFX} \ + jmakeindex${EXTRACT_SUFX} \ + ptex-src-2.1.10${EXTRACT_SUFX} \ + dvipsk-jpatch-p1.5e${EXTRACT_SUFX} \ + mendexk2.4f${EXTRACT_SUFX} + +PATCH_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/tetex/ +PATCHFILES= ptex2.1.10-11.patch +PATCH_DIST_ARGS= -d ${WRKSRC}/texk/web2c/ptex-src-2.1.10 + +MAINTAINER= kei@netbsd.org +COMMENT= TeXfamily (pTeX, JTeX, MuLTeX) - executables + +DEPENDS+= TeXfamily-share>=1.2.1nb2:../../print/texfamily-share +DEPENDS+= ja-vflib-lib-[0-9]*:../../print/ja-vflib-lib + +DIST_SUBDIR= TeXfamily +TETEX_DIR= ${_PKGSRCDIR}/print/teTeX-bin/${WRKDIR:T}/teTeX-1.0 +WRKSRC= ${TETEX_DIR} +EXTRACT_ONLY= # none + +ALL_TARGET= all +INSTALL_TARGET= install strip +USE_GMAKE= yes +USE_X11= yes +PLIST_SUBST+= MV="${MV}" +CFLAGS+= -Dunix +MAKEFLAGS+= PREFIX=${PREFIX} +GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--prefix=${PREFIX} \ + --enable-local-texmf=texmf.local \ + --without-texinfo \ + --without-dialog \ + --disable-multiplatform \ + --enable-ipc \ + --with-epsfwin \ + --with-hp2627win \ + --with-mftalkwin \ + --with-x11 \ + --with-libwww-config=${LOCALBASE}/bin/libwww-config \ + --with-system-pnglib \ + --with-pnglib-libdir=${LOCALBASE}/lib \ + --with-pnglib-include=${LOCALBASE}/include \ + --with-system-zlib +.include "../../mk/bsd.prefs.mk" +.if defined(PAPERSIZE) && ${PAPERSIZE} == "A4" +CONFIGURE_ARGS+=--enable-a4 +.endif + +.if ${OPSYS} != "SunOS" +CONFIGURE_ARGS+=--enable-auto-core \ + --with-zlib-libdir=/usr/lib \ + --with-zlib-include=/usr/include +.else +CONFIGURE_ARGS+= --with-zlib-libdir=${LOCALBASE}/lib \ + --with-zlib-include=${LOCALBASE}/include +.endif + +CONFIGURE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ + INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ + INSTALL_DATA="${INSTALL_DATA}" + +pre-extract: + if [ ! -e ${WRKSRC} ]; then \ + cd ../../print/teTeX-bin && ${MAKE} patch; \ + elif [ ! -e ${WRKSRC}/texk/texfam.ac ]; then \ + cd ../../print/teTeX-bin && ${MAKE} clean; ${MAKE} patch; \ + fi + +post-extract: + ${GTAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/texfam-1.2${EXTRACT_SUFX} \ + -C ${WRKSRC}/.. + ${GTAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/web2c-j1.9${EXTRACT_SUFX} \ + -C ${WRKSRC}/texk + ${GTAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/web2c-j1.9.1${EXTRACT_SUFX} \ + -C ${WRKSRC}/texk + ${GTAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/web2c-m0.8${EXTRACT_SUFX} \ + -C ${WRKSRC}/texk + ${GTAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/web2c-m0.8.1${EXTRACT_SUFX} \ + -C ${WRKSRC}/texk + ${GTAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/ptex-src-2.1.10${EXTRACT_SUFX} \ + -C ${WRKSRC}/texk/web2c + ${GTAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/dvi2ps-3.2j${EXTRACT_SUFX} \ + -C ${WRKSRC}/texk + ${GTAR} -xzf \ + ${DISTDIR}/${DIST_SUBDIR}/dvipsk-jpatch-p1.5e${EXTRACT_SUFX} \ + -C ${WRKDIR} + ${GTAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/mendexk2.4f${EXTRACT_SUFX} \ + -C ${WRKSRC}/texk + ${GTAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/jmakeindex${EXTRACT_SUFX} \ + -C ${WRKSRC}/texk + ${SED} -e "s|\$TEXMF/ptex/plain/||" \ + ${LOCALBASE}/share/texmf.local/ptex/plain/base/ptex.tex > \ + ${WRKSRC}/texk/web2c/ptex-src-2.1.10/ptex.tex + ${RM} -f ${WRKSRC}/texmf ${WRKSRC}/texmf.local + ${LN} -s ${LOCALBASE}/share/texmf ${WRKSRC} + ${LN} -s ${LOCALBASE}/share/texmf.local ${WRKSRC} + +pre-patch: + ${PATCH} -d ${WRKSRC}/texk/dvipsk --quiet -E -p1 < \ + ${WRKDIR}/dvipsk586.patch + +post-patch: + ${MV} ${WRKSRC}/texk/kpathsea/texmf.in \ + ${WRKSRC}/texk/kpathsea/texmf.in.orig + ${SED} -e 's,@TEXMFSITE@,${TEXMFSITE},' \ + ${WRKSRC}/texk/kpathsea/texmf.in.orig > \ + ${WRKSRC}/texk/kpathsea/texmf.in + +post-configure: + (cd ${WRKSRC}/texk/web2c/ptex-src-2.1.10; \ + ./configure EUC ${LOCALBASE}/share/texmf.local) + +do-build: + (cd ${WRKSRC}/texk/web2c; ${GMAKE}) + (cd ${WRKSRC}/texk/web2c-j; ${GMAKE}) + (cd ${WRKSRC}/texk/web2c-m; ${GMAKE}) + (cd ${WRKSRC}/texk/web2c/ptex-src-2.1.10; ${GMAKE}) + (cd ${WRKSRC}/texk/dvi2ps-3.2j; ${GMAKE} ${MAKEFLAGS} all newlib) + (cd ${WRKSRC}/texk/dvipsk; ${GMAKE}) + (cd ${WRKSRC}/texk/mendexk2.4f; ${GMAKE}) + (cd ${WRKSRC}/texk/jmakeindex/src; ${MAKE} -f makefile.unx) + +do-install: + (cd ${WRKSRC}/texk/web2c-j; ${GMAKE} install) + (cd ${WRKSRC}/texk/web2c-m; ${GMAKE} install) + (cd ${WRKSRC}/texk/web2c/ptex-src-2.1.10; ${GMAKE} install) + (cd ${WRKSRC}/texk/dvi2ps-3.2j; \ + ${GMAKE} install install-lib install-MakePK install-lprdvi) + (cd ${WRKSRC}/texk/dvi2ps-3.2j; ${GMAKE} install install-man) + ${INSTALL_DATA_DIR} ${LOCALBASE}/share/texmf.local/doc/dvi2ps + ${INSTALL_DATA} ${WRKSRC}/texk/dvi2ps-3.2j/doc/* \ + ${LOCALBASE}/share/texmf.local/doc/dvi2ps + (cd ${WRKSRC}/texk/dvipsk; \ + ${SETENV} texmflcl=${LOCALBASE}/share/texmf.local \ + ${GMAKE} install) + ${INSTALL_PROGRAM} ${WRKSRC}/texk/mendexk2.4f/mendex ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/texk/jmakeindex/src/jmakeindex \ + ${PREFIX}/bin + +post-install: + mktexlsr ${LOCALBASE}/share/texmf.local + +pre-clean: + cd ../../print/teTeX-bin && ${MAKE} clean + +.include "../../mk/bsd.pkg.mk" diff --git a/print/texfamily/PLIST b/print/texfamily/PLIST new file mode 100644 index 00000000000..608659cd65f --- /dev/null +++ b/print/texfamily/PLIST @@ -0,0 +1,183 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $ +bin/MakePK +bin/dvi2ps +bin/inijtex +bin/inimultex +bin/iniptex +bin/jbibtex +bin/jmakeindex +bin/jlatex +bin/jlatex209 +bin/jtex +bin/lprdvi +bin/mendex +bin/mullatex +bin/multex +bin/pdvips +bin/pdvitype +bin/pjbibtex +bin/platex +bin/ppltotf +bin/ptex +bin/ptftopl +bin/virjtex +bin/virmultex +bin/virptex +man/man1/dvi2ps.1 +man/ja_JP.EUC/man1/dvi2ps.1 +share/texmf.local/doc/dvi2ps/DOCS +share/texmf.local/doc/dvi2ps/QandA +share/texmf.local/doc/dvi2ps/bugs.doc +share/texmf.local/doc/dvi2ps/changes.doc +share/texmf.local/doc/dvi2ps/dvi2ps.doc +share/texmf.local/doc/dvi2ps/fontdesc.doc +share/texmf.local/doc/dvi2ps/hints.doc +share/texmf.local/doc/dvi2ps/history +share/texmf.local/doc/dvi2ps/install.doc +share/texmf.local/doc/dvi2ps/kanji.doc +share/texmf.local/doc/dvi2ps/lib.doc +share/texmf.local/doc/dvi2ps/local.mf +share/texmf.local/doc/dvi2ps/lprdvi.doc +share/texmf.local/doc/dvi2ps/metafont.doc +share/texmf.local/doc/dvi2ps/nup.doc +share/texmf.local/doc/dvi2ps/printers.doc +share/texmf.local/doc/dvi2ps/psfiles.doc +share/texmf.local/doc/dvi2ps/psfonts.doc +share/texmf.local/doc/dvi2ps/report.doc +share/texmf.local/doc/dvi2ps/special.doc +share/texmf.local/doc/dvi2ps/texfix.doc +share/texmf.local/doc/dvi2ps/vfontcap.add +share/texmf.local/doc/dvi2ps/vfref.doc +share/texmf.local/dvi2ps/LW16-600J +share/texmf.local/dvi2ps/LWIINTX-J +share/texmf.local/dvi2ps/RicohSP10 +share/texmf.local/dvi2ps/SPARCptr +share/texmf.local/dvi2ps/bifont +share/texmf.local/dvi2ps/bikanji +share/texmf.local/dvi2ps/bikant1 +share/texmf.local/dvi2ps/bitbk +share/texmf.local/dvi2ps/bitmap +share/texmf.local/dvi2ps/bmbi +share/texmf.local/dvi2ps/bothside.ps +share/texmf.local/dvi2ps/config +share/texmf.local/dvi2ps/configk +share/texmf.local/dvi2ps/defaulttray.ps +share/texmf.local/dvi2ps/dvi2.ps +share/texmf.local/dvi2ps/dvips.ps +share/texmf.local/dvi2ps/fonts/a2n +share/texmf.local/dvi2ps/fonts/asc-bikanji +share/texmf.local/dvi2ps/fonts/asc-bitmap +share/texmf.local/dvi2ps/fonts/asc-wada +share/texmf.local/dvi2ps/fonts/asc-wadaz +share/texmf.local/dvi2ps/fonts/bikan-mor2 +share/texmf.local/dvi2ps/fonts/bikan-rsp +share/texmf.local/dvi2ps/fonts/bikan-wada +share/texmf.local/dvi2ps/fonts/bikan-wadaz +share/texmf.local/dvi2ps/fonts/fonts-bitmap +share/texmf.local/dvi2ps/fonts/fonts-t1 +share/texmf.local/dvi2ps/fonts/generate +share/texmf.local/dvi2ps/fonts/mul-bikanji +share/texmf.local/dvi2ps/fonts/mul-bitmap +share/texmf.local/dvi2ps/fonts/muldecomp +share/texmf.local/dvi2ps/fonts/n2a +share/texmf.local/dvi2ps/fonts/ntt-bikanji +share/texmf.local/dvi2ps/fonts/ntt-bitmap +share/texmf.local/dvi2ps/fonts/ntt-wada +share/texmf.local/dvi2ps/fonts/ntt-wadaz +share/texmf.local/dvi2ps/fonts/nttdecomp +share/texmf.local/dvi2ps/fonts/psfonts +share/texmf.local/dvi2ps/fonts/psfonts-0 +share/texmf.local/dvi2ps/fonts/psfonts-0.map +share/texmf.local/dvi2ps/fonts/psfonts-8r +share/texmf.local/dvi2ps/fonts/psfonts-8r.map +share/texmf.local/dvi2ps/fonts/psfonts-misc.map +share/texmf.local/dvi2ps/fonts/psfonts-std +share/texmf.local/dvi2ps/fonts/psfonts-std.map +share/texmf.local/dvi2ps/fonts/psfonts.ps +share/texmf.local/dvi2ps/fonts/t1ams.map +share/texmf.local/dvi2ps/fonts/t1cm.map +share/texmf.local/dvi2ps/fonts/vtex +share/texmf.local/dvi2ps/fonts/vtex.ps +share/texmf.local/dvi2ps/fontsk/a2n +share/texmf.local/dvi2ps/fontsk/asc-bikanji +share/texmf.local/dvi2ps/fontsk/asc-bitmap +share/texmf.local/dvi2ps/fontsk/asc-wada +share/texmf.local/dvi2ps/fontsk/asc-wadaz +share/texmf.local/dvi2ps/fontsk/bikan-mor2 +share/texmf.local/dvi2ps/fontsk/bikan-rsp +share/texmf.local/dvi2ps/fontsk/bikan-wada +share/texmf.local/dvi2ps/fontsk/bikan-wadaz +share/texmf.local/dvi2ps/fontsk/fonts-bitmap +share/texmf.local/dvi2ps/fontsk/fonts-t1 +share/texmf.local/dvi2ps/fontsk/generate +share/texmf.local/dvi2ps/fontsk/mul-bikanji +share/texmf.local/dvi2ps/fontsk/mul-bitmap +share/texmf.local/dvi2ps/fontsk/muldecomp +share/texmf.local/dvi2ps/fontsk/n2a +share/texmf.local/dvi2ps/fontsk/ntt-bikanji +share/texmf.local/dvi2ps/fontsk/ntt-bitmap +share/texmf.local/dvi2ps/fontsk/ntt-wada +share/texmf.local/dvi2ps/fontsk/ntt-wadaz +share/texmf.local/dvi2ps/fontsk/nttdecomp +share/texmf.local/dvi2ps/fontsk/psfonts +share/texmf.local/dvi2ps/fontsk/psfonts-0 +share/texmf.local/dvi2ps/fontsk/psfonts-0.map +share/texmf.local/dvi2ps/fontsk/psfonts-8r +share/texmf.local/dvi2ps/fontsk/psfonts-8r.map +share/texmf.local/dvi2ps/fontsk/psfonts-misc.map +share/texmf.local/dvi2ps/fontsk/psfonts-std +share/texmf.local/dvi2ps/fontsk/psfonts-std.map +share/texmf.local/dvi2ps/fontsk/psfonts.ps +share/texmf.local/dvi2ps/fontsk/t1ams.map +share/texmf.local/dvi2ps/fontsk/t1ams0.map +share/texmf.local/dvi2ps/fontsk/t1cm.map +share/texmf.local/dvi2ps/fontsk/vtex +share/texmf.local/dvi2ps/fontsk/vtex.ps +share/texmf.local/dvi2ps/header +share/texmf.local/dvi2ps/headers/color.ps +share/texmf.local/dvi2ps/headers/dvi2.ps +share/texmf.local/dvi2ps/headers/psifont.ps +share/texmf.local/dvi2ps/headers/special.ps +share/texmf.local/dvi2ps/macfix.ps +share/texmf.local/dvi2ps/multex +share/texmf.local/dvi2ps/old +share/texmf.local/dvi2ps/oldfix.ps +share/texmf.local/dvi2ps/printer/LW16 +share/texmf.local/dvi2ps/printer/LWII +share/texmf.local/dvi2ps/printer/RicohSP10 +share/texmf.local/dvi2ps/printer/SPARC +share/texmf.local/dvi2ps/tombo.ps +share/texmf.local/dvi2ps/tumble.ps +share/texmf.local/dvi2ps/vtexe +share/texmf.local/dvi2ps/wadalab +share/texmf.local/dvi2ps/wadalabz +share/texmf.local/dvips/base/color.pro +share/texmf.local/dvips/base/crop.pro +share/texmf.local/dvips/base/finclude.pro +share/texmf.local/dvips/base/hps.pro +share/texmf.local/dvips/base/psfonts.map +share/texmf.local/dvips/base/special.pro +share/texmf.local/dvips/base/tex.pro +share/texmf.local/dvips/base/texc.pro +share/texmf.local/dvips/base/texps.pro +share/texmf.local/ls-R +share/texmf.local/web2c/jlatex.fmt +share/texmf.local/web2c/jlatex209.fmt +share/texmf.local/web2c/jtex.fmt +share/texmf.local/web2c/jtex.pool +share/texmf.local/web2c/mullatex.fmt +share/texmf.local/web2c/multex.fmt +share/texmf.local/web2c/multex.pool +share/texmf.local/web2c/platex.fmt +share/texmf.local/web2c/ptex.fmt +share/texmf.local/web2c/ptex.pool +share/texmf.local/web2c/texmf.cnf +@dirrm share/texmf.local/web2c +@dirrm share/texmf.local/dvips/base +@dirrm share/texmf.local/dvips +@dirrm share/texmf.local/dvi2ps/printer +@dirrm share/texmf.local/dvi2ps/headers +@dirrm share/texmf.local/dvi2ps/fontsk +@dirrm share/texmf.local/dvi2ps/fonts +@dirrm share/texmf.local/dvi2ps +@dirrm share/texmf.local/doc/dvi2ps diff --git a/print/texfamily/distinfo b/print/texfamily/distinfo new file mode 100644 index 00000000000..8fac1094ff4 --- /dev/null +++ b/print/texfamily/distinfo @@ -0,0 +1,34 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $ + +SHA1 (TeXfamily/texfam-1.2.tar.gz) = 510ef7048c1353a75d84d548738e8e2a94d83be9 +Size (TeXfamily/texfam-1.2.tar.gz) = 154286 bytes +SHA1 (TeXfamily/web2c-j1.9.tar.gz) = 1fd7c3fbcc81fe82935a86259bb382ae20ad6742 +Size (TeXfamily/web2c-j1.9.tar.gz) = 195277 bytes +SHA1 (TeXfamily/web2c-j1.9.1.tar.gz) = 088b24d04c487e1815e2de07d9dd4d637fbc33a2 +Size (TeXfamily/web2c-j1.9.1.tar.gz) = 86610 bytes +SHA1 (TeXfamily/web2c-m0.8.tar.gz) = c9c48ea58f856831178ea362918696b71bea9f95 +Size (TeXfamily/web2c-m0.8.tar.gz) = 153807 bytes +SHA1 (TeXfamily/web2c-m0.8.1.tar.gz) = 6131a4642299334c91e75f53f16393c50296be93 +Size (TeXfamily/web2c-m0.8.1.tar.gz) = 85513 bytes +SHA1 (TeXfamily/dvi2ps-3.2j.tar.gz) = 3f055f7388ebe9f9bf873374eda7c612462207fe +Size (TeXfamily/dvi2ps-3.2j.tar.gz) = 171083 bytes +SHA1 (TeXfamily/jmakeindex.tar.gz) = 14e68b3cbd0f80ae383b540a5391d8ccecc4ba57 +Size (TeXfamily/jmakeindex.tar.gz) = 283656 bytes +SHA1 (TeXfamily/ptex-src-2.1.10.tar.gz) = d5d1cfe0f56d9b4bcd660486d1af8923bc935426 +Size (TeXfamily/ptex-src-2.1.10.tar.gz) = 132496 bytes +SHA1 (TeXfamily/dvipsk-jpatch-p1.5e.tar.gz) = 568bb4ed176603f43e3f5f0c25c6ff778d093399 +Size (TeXfamily/dvipsk-jpatch-p1.5e.tar.gz) = 23009 bytes +SHA1 (TeXfamily/mendexk2.4f.tar.gz) = aa65a16a2bc965877fb19e8798ee80790917c588 +Size (TeXfamily/mendexk2.4f.tar.gz) = 22371 bytes +SHA1 (TeXfamily/ptex2.1.10-11.patch) = 8fcef65143761e1862d9e9c80f98a2e5211f57b0 +Size (TeXfamily/ptex2.1.10-11.patch) = 4430 bytes +SHA1 (patch-aa) = dfc441babfff2fefee43dd38a6f1393859f1d370 +SHA1 (patch-ab) = 6dc92be09afbce61d62468873c21add1564ac02c +SHA1 (patch-ac) = eeb266e3fc5a6b646ffc498c08107a9dd76c6660 +SHA1 (patch-ad) = 3292baba0f31f191c13a12dd3cd39e8bd2e091f7 +SHA1 (patch-ae) = 644182534b6001d167b45b25378c33873563ef61 +SHA1 (patch-af) = 999a897d77004503253e7f443e9108d969a4ad11 +SHA1 (patch-ag) = fcd691409227e6025ffc52c23df5a82ab23bf0c3 +SHA1 (patch-ah) = 08b0d94c7347693da7fe024eb0ab81916a598529 +SHA1 (patch-ai) = 9f62fe1d16f4004997718fbc7b6f9ad3bef607c6 +SHA1 (patch-aj) = 16eee3e2af7f4fc02c8da9577dc363cd271b8bc3 diff --git a/print/texfamily/patches/patch-aa b/print/texfamily/patches/patch-aa new file mode 100644 index 00000000000..70cb9f4f8af --- /dev/null +++ b/print/texfamily/patches/patch-aa @@ -0,0 +1,116 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $ + +--- texk/web2c/ptex-src-2.1.10/Makefile.in.orig Thu Feb 8 17:56:34 2001 ++++ texk/web2c/ptex-src-2.1.10/Makefile.in Tue Oct 23 14:47:40 2001 +@@ -4,10 +4,15 @@ + + default: programs formats + +-programs=ptex tftopl pltotf pdvitype jbibtex ++programs=ptex ptftopl ppltotf pdvitype pjbibtex + formats=ptex.fmt platex.fmt + + ac_include ../../make/paths.mk ++# ++texmflcl = @texmflocal@ ++web2c_lcl_dir = $(texmflcl)/web2c ++fmt_lcl_dir = $(web2c_lcl_dir) ++texpool_lcl_dir = $(web2c_lcl_dir) + + # Used for triptrap. + DIFF = diff +@@ -105,6 +110,9 @@ + fi + + ### TFtoPL ++ptftopl: tftopl ++ rm -f ptftopl ++ $(LN) tftopl ptftopl + tftopl: tftopl.o $(plib_o) $(kpathsea) $(proglib) + $(kpathsea_link) tftopl.o $(plib_o) $(LOADLIBES) + tftopl.o: tftopl.c kanji.h maintain.h ptexhelp.h +@@ -115,6 +123,9 @@ + $(srcdir)/tie -m tftopl.web $(srcdir)/tftopl.web $(srcdir)/tftopl.ch + + ### PLtoTF ++ppltotf: pltotf ++ rm -f ppltotf ++ $(LN) pltotf ppltotf + pltotf: pltotf.o $(plib_o) $(kpathsea) $(proglib) + $(kpathsea_link) pltotf.o $(plib_o) $(LOADLIBES) + pltotf.o: pltotf.c kanji.h maintain.h ptexhelp.h +@@ -135,6 +146,9 @@ + $(LN) $(srcdir)/dvitype.web pdvitype.web + + ### jBibTeX ++pjbibtex: jbibtex ++ rm -f pjbibtex ++ $(LN) jbibtex pjbibtex + jbibtex: jbibtex.o jbibextra.o $(plib_o) $(kpathsea) $(proglib) + $(kpathsea_link) jbibtex.o jbibextra.o $(plib_o) $(LOADLIBES) + jbibtex.o: jbibtex.c jbibextra.h kanji.h maintain.h ptexhelp.h +@@ -175,7 +189,12 @@ + texmf.cnf: $(kpathsea_dir)/texmf.cnf + $(SHELL) $(thisdir)/mkconf $< > texmf.cnf + +-dumpenv = TEXMFCNF=$(thisdir) TEXMF=$(texmf) ++#dumpenv = TEXMFCNF=$(thisdir) TEXMF=$(texmf) ++newtexmf = $(srcdir)/../../texmf ++newtexmflcl = $(srcdir)/../../texmf.local ++texin = $(srcdir):{$(newtexmf),$(newtexmflcl)}/ptex// ++texfonts = {$(newtexmf),$(newtexmflcl)}/fonts/tfm/ptex// ++dumpenv = TEXMFCNF=../../kpathsea TEXINPUTS=.:$(texin): TEXFONTS=$(texfonts): + + ptex.fmt: ptex texmf.cnf + $(dumpenv) $(MAKE) $(makeargs) files="--progname=ptex ptex.tex min10.tfm" prereq-check +@@ -183,7 +202,7 @@ + + platex.fmt: ptex texmf.cnf + $(dumpenv) $(MAKE) $(makeargs) files="--progname=platex platex.ltx" prereq-check +- $(dumpenv) ./ptex -ini --progname=platex \\input platex.ltx </dev/null ++ $(dumpenv) ./ptex -ini --progname=platex \\input platex.ltx </dev/null || ${TRUE} + + # This is meant to be called recursively, with $(files) set. + prereq-check: $(kpathsea_dir)/kpsewhich +@@ -212,31 +231,31 @@ + + # The actual binary executables and pool files. + install-programs: $(programs) +- $(SHELL) $(top_srcdir)/mkinstalldirs $(bindir) $(texpooldir) ++ $(SHELL) $(top_srcdir)/mkinstalldirs $(bindir) $(texpool_lcl_dir) + for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done + + # The links to ptex for each format and for {ini,vir}ptex. + install-links: install-programs + cd $(bindir) && \ +- (rm -f iniptex virptex; $(LN) ptex iniptex; $(LN) ptex virptex) ++ (rm -f iniptex virptex platex; $(LN) ptex iniptex; $(LN) ptex virptex; $(LN) ptex platex) + + # Always do plain.*, so examples from the TeXbook (etc.) will work. + install-formats: $(formats) +- $(SHELL) $(top_srcdir)/mkinstalldirs $(fmtdir) +- for f in $(formats); do $(INSTALL_DATA) $$f $(fmtdir)/$$f; done ++ $(SHELL) $(top_srcdir)/mkinstalldirs $(fmt_lcl_dir) ++ for f in $(formats); do $(INSTALL_DATA) $$f $(fmt_lcl_dir)/$$f; done + + # Auxiliary files. + install-data:: + $(SHELL) $(top_srcdir)/mkinstalldirs \ +- $(texpooldir) $(web2cdir) $(fontnamedir) +- $(INSTALL_DATA) ptex.pool $(texpooldir)/ptex.pool +- if [ -f $(web2cdir)/texmf.cnf ]; then \ +- mv -f $(web2cdir)/texmf.cnf $(web2cdir)/texmf.cnf.orig ;\ ++ $(texpool_lcl_dir) $(web2c_lcl_dir) $(fontnamedir) ++ $(INSTALL_DATA) ptex.pool $(texpool_lcl_dir)/ptex.pool ++ if [ -f $(web2c_lcl_dir)/texmf.cnf ]; then \ ++ mv -f $(web2c_lcl_dir)/texmf.cnf $(web2c_lcl_dir)/texmf.cnf.orig ;\ + else true; fi +- $(INSTALL_DATA) texmf.cnf $(web2cdir)/texmf.cnf ++ $(INSTALL_DATA) texmf.cnf $(web2c_lcl_dir)/texmf.cnf + # tcx files + # cd $(thisdir)/share && \ +-# for f in *.tcx; do $(INSTALL_DATA) $$f $(web2cdir)/$$f; done ++# for f in *.tcx; do $(INSTALL_DATA) $$f $(web2c_lcl_dir)/$$f; done + # map files are not provided with pTeX + # cd $(thisdir)/share && \ + # for f in *.map; do $(INSTALL_DATA) $$f $(fontnamedir)/$$f; done diff --git a/print/texfamily/patches/patch-ab b/print/texfamily/patches/patch-ab new file mode 100644 index 00000000000..4cb9f956c35 --- /dev/null +++ b/print/texfamily/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $ + +--- texk/web2c/ptex-src-2.1.10/configure.orig Tue Feb 29 15:25:45 2000 ++++ texk/web2c/ptex-src-2.1.10/configure Tue May 2 19:23:40 2000 +@@ -6,5 +6,5 @@ + + printUsage () { +- echo "Usage: $progname {EUC|JIS|SJIS}" ++ echo "Usage: $progname {EUC|JIS|SJIS} texmf_local_dir" + exit 1 + } +@@ -37,4 +37,4 @@ + export CONFIG_FILES CONFIG_HEADERS + ../config.status +-sed -e "s/@kanjicode@/$kanjicode/" Makefile > $$ && mv -f $$ Makefile ++sed -e "s/@kanjicode@/$kanjicode/" -e "s|@texmflocal@|$2|" Makefile > $$ && mv -f $$ Makefile + exit 0 diff --git a/print/texfamily/patches/patch-ac b/print/texfamily/patches/patch-ac new file mode 100644 index 00000000000..07cd147a3d9 --- /dev/null +++ b/print/texfamily/patches/patch-ac @@ -0,0 +1,11 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $ + +--- texk/make/paths.mk.orig Mon Jan 11 00:42:53 1999 ++++ texk/make/paths.mk Wed May 3 03:48:36 2000 +@@ -47,5 +47,5 @@ + + # The directory used by varfonts. +-vartexfonts = /var/tmp/texfonts ++vartexfonts = /var/spool/texfonts + + # Regular input files. diff --git a/print/texfamily/patches/patch-ad b/print/texfamily/patches/patch-ad new file mode 100644 index 00000000000..da80a6e17d9 --- /dev/null +++ b/print/texfamily/patches/patch-ad @@ -0,0 +1,39 @@ +$NetBSD: patch-ad,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $ + +--- texk/dvipsk/Makefile.in.orig Sat May 6 03:23:01 2000 ++++ texk/dvipsk/Makefile.in Sat May 6 03:52:33 2000 +@@ -19,4 +19,5 @@ + ac_include ../make/texi.mk + prog_cflags = -DUNIX -DKPATHSEA -DNeedFunctionPrototypes -DSHIFTLOWCHARS ++psheaderdir = $(texmflcl)/dvips + + # The `t[mp]-' business is so that we don't create an empty .pro file, +@@ -37,5 +38,5 @@ + + program = dvips +-programs = afm2tfm $(program) ++programs = pdvips + + +@@ -44,4 +45,7 @@ + $(program): $(kpathsea) $(objects) + $(kpathsea_link) $(objects) $(LOADLIBES) ++pdvips: $(program) ++ rm -f pdvips ++ ln $(program) pdvips + afm2tfm: $(kpathsea) afm2tfm.o + $(kpathsea_link) afm2tfm.o $(LOADLIBES) +@@ -82,6 +86,4 @@ + # PostScript prologues and encodings. + for h in $(prologues); do $(INSTALL_DATA) $$h $(psheaderdir)/base/$$h; done +- cd $(srcdir)/reencode && \ +- for e in *.enc; do $(INSTALL_DATA) $$e $(psheaderdir)/base/$$e; done + # config.ps. Any one config.ps will be wrong for most people, so don't + # install anything by default. +@@ -97,4 +99,6 @@ + $(INSTALL_DATA) $(srcdir)/psfonts.map $(psheaderdir)/base/psfonts.map; \ + else true; fi ++ ++_installed: + # Info files. + cd $(srcdir) && for i in $(program).i*; do \ diff --git a/print/texfamily/patches/patch-ae b/print/texfamily/patches/patch-ae new file mode 100644 index 00000000000..4a28381fa9e --- /dev/null +++ b/print/texfamily/patches/patch-ae @@ -0,0 +1,63 @@ +$NetBSD: patch-ae,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $ + +--- texk/dvi2ps-3.2j/Makefile.orig Mon Sep 11 18:16:11 2000 ++++ texk/dvi2ps-3.2j/Makefile +@@ -2,16 +2,17 @@ + # your site: + # + # BINAREA and DVI2LIB are relative to PREFIX +-PREFIX=${DESTDIR}/usr/local ++#PREFIX=${DESTDIR}/usr/local + # where dvi2ps is installed + BINAREA=${PREFIX}/bin + # + # directory for dvi2ps: where the auxiliary files are installed +-DVI2LIB=${PREFIX}/lib/dvi2ps ++DVI2LIB=${PREFIX}/share/texmf.local/dvi2ps + # + # directory for man and doc + MANAREA=${PREFIX}/man +-JMANAREA=${PREFIX}/man/ja ++JMANAREA=${PREFIX}/man/ja_JP.EUC ++# XXX above should be ja_JP.eucJP. + DOCAREA=${PREFIX}/doc/dvi2ps + # + # name of default fontdesc file in your site +@@ -45,19 +46,19 @@ + FONTF = -DFREETYPE -DVFLIB + # FREETYPE -- FTLIB, FTINC + # VFLIB -- FTLIB, FTINC, VFLIB, VFLIBINC +-FTLIB = -L${PREFIX}/lib -lttf ++FTLIB = -R${PREFIX}/lib -L${PREFIX}/lib -lttf + FTINC = -I${PREFIX}/include/freetype +-VFLIB = -L${PREFIX}/lib -lVFlib2 ++VFLIB = -R${PREFIX}/lib -L${PREFIX}/lib -lVFlib2 -lttf -lintl + VFLIBINC = -I${PREFIX}/include + + # kpathsea +-KPSELIB = -L${PREFIX}/lib -lkpathsea ++KPSELIB = -R${PREFIX}/lib -L${PREFIX}/lib -lkpathsea + KPSEINC = -I${PREFIX}/include -DKPATHSEA + + # +-CC=gcc ++#CC=gcc + # +-CCFLAGS = -g -O -DPOSIX ++CCFLAGS = -O2 -DPOSIX + #CCFLAGS = -O # SUNOS 4.X etc ... + #CCFLAGS = -O -DPOSIX # NetBSD FreeBSD (gcc 2.X), Linux + #CCFLAGS = -O -DMSDOS -DPOSIX # DJGCC (gcc 2.X) +@@ -180,10 +181,8 @@ + ./tools/psstrip < color.psdoc > ${HDR}/color.ps + + install-man: +- ${INSTALL} -c -m 444 man/div2ps.1 ${MANAREA}/cat1/dvi2ps.1 +- ${INSTALL} -c -m 444 man/div2ps.man ${MANAREA}/man1/dvi2ps.1 +- ${INSTALL} -c -m 444 man/div2ps.1j ${JMANAREA}/cat1/dvi2ps.1 +- ${INSTALL} -c -m 444 man/div2ps.jman ${JMANAREA}/man1/dvi2ps.1 ++ ${INSTALL} -c -m 444 man/dvi2ps.man ${MANAREA}/man1/dvi2ps.1 ++ ${INSTALL} -c -m 444 man/dvi2ps.jman ${JMANAREA}/man1/dvi2ps.1 + + install-doc: + -mkdir ${DOCAREA} diff --git a/print/texfamily/patches/patch-af b/print/texfamily/patches/patch-af new file mode 100644 index 00000000000..3aaf977d69f --- /dev/null +++ b/print/texfamily/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $ + +--- texk/web2c/Makefile.in.orig Tue Sep 18 13:53:39 2001 ++++ texk/web2c/Makefile.in Tue Sep 18 13:54:03 2001 +@@ -443,7 +443,7 @@ + + latex.fmt: tex + $(dumpenv) $(MAKE) $(makeargs) files="--progname=latex latex.ltx" prereq-check +- $(dumpenv) ./tex --progname=latex --ini \\input latex.ltx </dev/null ++ $(dumpenv) ./tex --progname=latex --ini \\input latex.ltx </dev/null || ${TRUE} + + latex209.fmt: tex + $(dumpenv) $(MAKE) $(makeargs) files="--progname=latex209 lplain.tex" prereq-check diff --git a/print/texfamily/patches/patch-ag b/print/texfamily/patches/patch-ag new file mode 100644 index 00000000000..cd5ade6595e --- /dev/null +++ b/print/texfamily/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $ + +--- texk/web2c-j/Makefile.in.orig Mon Sep 17 18:08:21 2001 ++++ texk/web2c-j/Makefile.in Mon Sep 17 18:08:41 2001 +@@ -464,7 +464,7 @@ + + jlatex.fmt: jtex + $(dumpenv) $(MAKE) $(makeargs) files="--progname=jlatex jlatex.ltx" prereq-check +- $(dumpenv) ./jtex --progname=jlatex --ini \\input jlatex.ltx </dev/null ++ $(dumpenv) ./jtex --progname=jlatex --ini \\input jlatex.ltx </dev/null || ${TRUE} + + jlatex209.fmt: jtex + $(dumpenv) $(MAKE) $(makeargs) files="--progname=jlatex209 jlplain.tex" prereq-check diff --git a/print/texfamily/patches/patch-ah b/print/texfamily/patches/patch-ah new file mode 100644 index 00000000000..eaf9211c02d --- /dev/null +++ b/print/texfamily/patches/patch-ah @@ -0,0 +1,44 @@ +$NetBSD: patch-ah,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $ + +--- texk/jmakeindex/src/makefile.unx.orig Fri Apr 13 15:00:08 2001 ++++ texk/jmakeindex/src/makefile.unx Fri Apr 13 15:15:04 2001 +@@ -6,7 +6,7 @@ + # University of California, Berkeley + # + +-DEST = /usr/local/bin ++DEST = ${PREFIX}/bin + + MANDIR = /usr/local/man/manl + +@@ -24,11 +24,9 @@ + + CFLAGS = -O + +-LDFLAGS = $(CFLAGS) +- + LIBS = + +-LINKER = cc ++LINKER = ${CC} + + MAKEFILE = Makefile + +@@ -48,7 +46,7 @@ + scanst.c \ + sortid.c + +-PROGRAM = makeindex ++PROGRAM = jmakeindex + + TAR = $(PROGRAM).tar + +@@ -62,7 +60,7 @@ + @size $(PROGRAM) + + install: $(PROGRAM) +- install -c -s -m 0755 $(PROGRAM) $(DEST) ++ ${INSTALL_PROGRAM} $(PROGRAM) $(DEST) + @ls -lgs $(DEST)/$(PROGRAM) + + tar:; @rm -f $(TAR) diff --git a/print/texfamily/patches/patch-ai b/print/texfamily/patches/patch-ai new file mode 100644 index 00000000000..7e6c3b10212 --- /dev/null +++ b/print/texfamily/patches/patch-ai @@ -0,0 +1,23 @@ +$NetBSD: patch-ai,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $ + +--- texk/kpathsea/texmf.in.orig Mon Apr 16 16:50:18 2001 ++++ texk/kpathsea/texmf.in Mon Apr 16 16:53:20 2001 +@@ -60,6 +60,9 @@ + % A place for local additions to a "standard" texmf tree. For example: + TEXMFLOCAL = @texmflocal@ + ++% Add site-specific configurations as well as above. ++TEXMFSITE = @TEXMFSITE@ ++ + % If defined, teTeX's texconfig stores modifications here (instead of the + % TEXMFMAIN tree). + % VARTEXMF = @texmf@-var +@@ -74,7 +77,7 @@ + % - list $VARTEXMF in the TEXMF definition; + % - make sure that $VARTEXMF precedes $TEXMFMAIN in the TEXMF definition. + %TEXMF = !!$TEXMFMAIN +-TEXMF = {!!$TEXMFLOCAL,!!$TEXMFMAIN} ++TEXMF = {!!$TEXMFSITE,!!$TEXMFLOCAL,!!$TEXMFMAIN} + + % The system trees. These are the trees that are shared by all the users. + SYSTEXMF = $TEXMF diff --git a/print/texfamily/patches/patch-aj b/print/texfamily/patches/patch-aj new file mode 100644 index 00000000000..5ec7dad5741 --- /dev/null +++ b/print/texfamily/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $ + +--- texk/web2c-m/Makefile.in.orig Tue Sep 18 15:37:37 2001 ++++ texk/web2c-m/Makefile.in Tue Sep 18 15:38:07 2001 +@@ -460,7 +460,7 @@ + + mullatex.fmt: multex + $(dumpenv) $(MAKE) $(makeargs) files="--progname=mullatex mullatex.ltx" prereq-check +- $(dumpenv) ./multex --progname=mullatex --ini \\input mullatex.ltx </dev/null ++ $(dumpenv) ./multex --progname=mullatex --ini \\input mullatex.ltx </dev/null || ${TRUE} + + mullatex209.fmt: multex + $(dumpenv) $(MAKE) $(makeargs) files="--progname=mullatex209 mullplain.tex" prereq-check |