summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/ptex/ChangeLog6
-rw-r--r--app-text/ptex/files/digest-ptex-3.1.8.200501114
-rw-r--r--app-text/ptex/ptex-3.1.4-r2.ebuild4
-rw-r--r--app-text/ptex/ptex-3.1.5.ebuild4
-rw-r--r--app-text/ptex/ptex-3.1.8.20050111.ebuild159
5 files changed, 9 insertions, 168 deletions
diff --git a/app-text/ptex/ChangeLog b/app-text/ptex/ChangeLog
index ec28cdbf477d..2ed08393185b 100644
--- a/app-text/ptex/ChangeLog
+++ b/app-text/ptex/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/ptex
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ChangeLog,v 1.36 2005/02/24 18:07:48 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ChangeLog,v 1.37 2005/03/06 20:47:40 usata Exp $
+
+ 07 Mar 2005; Mamoru KOMACHI <usata@gentoo.org> ptex-3.1.4-r2.ebuild,
+ ptex-3.1.5.ebuild, -ptex-3.1.8.20050111.ebuild:
+ Fixed incorrect newins psfonts-ja.map.
24 Feb 2005; Gustavo Zacarias <gustavoz@gentoo.org> ptex-3.1.5.ebuild:
Stable on sparc
diff --git a/app-text/ptex/files/digest-ptex-3.1.8.20050111 b/app-text/ptex/files/digest-ptex-3.1.8.20050111
deleted file mode 100644
index fb87fd16f5d3..000000000000
--- a/app-text/ptex/files/digest-ptex-3.1.8.20050111
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 7e03edfba11b1d387448cd1b4e3c57cc tetex-src-2.99.9.20050111-beta.tar.gz 12580419
-MD5 4fdb60db585347ff2f3c7d9b3bca4e23 tetex-texmf-2.99.9.20050111-beta.tar.gz 90868185
-MD5 b09e06a55e96c268b8b93ca99b8c860c ptetex3-20050119.tar.gz 2928136
-MD5 addd74a87918b8193e5c8494138e41d7 tetex-2.99.9.20050111-gentoo.tar.gz 1663
diff --git a/app-text/ptex/ptex-3.1.4-r2.ebuild b/app-text/ptex/ptex-3.1.4-r2.ebuild
index 46d7f4608a11..3d4f8250f809 100644
--- a/app-text/ptex/ptex-3.1.4-r2.ebuild
+++ b/app-text/ptex/ptex-3.1.4-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ptex-3.1.4-r2.ebuild,v 1.8 2005/02/21 16:50:21 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ptex-3.1.4-r2.ebuild,v 1.9 2005/03/06 20:47:40 usata Exp $
PTEX_TEXMF_PV=2.2
TETEX_PV=2.0.2
@@ -105,7 +105,7 @@ src_install() {
einstall bindir=${D}/usr/bin texmf=${D}/usr/share/texmf || die
insinto /usr/share/texmf/dvips/config
- newins ${FILESDIR}/psfonts-novflib-ja.map psfonts-ja.map
+ doins ${FILESDIR}/psfonts-ja.map || die
cat >>${D}/usr/share/texmf/web2c/updmap.cfg<<-EOF
# Japanese fonts
diff --git a/app-text/ptex/ptex-3.1.5.ebuild b/app-text/ptex/ptex-3.1.5.ebuild
index 2a5236836055..baced765a5bc 100644
--- a/app-text/ptex/ptex-3.1.5.ebuild
+++ b/app-text/ptex/ptex-3.1.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ptex-3.1.5.ebuild,v 1.5 2005/02/24 18:07:48 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ptex-3.1.5.ebuild,v 1.6 2005/03/06 20:47:40 usata Exp $
PTEX_TEXMF_PV=2.3
TETEX_PV=2.0.2
@@ -105,7 +105,7 @@ src_install() {
einstall bindir=${D}/usr/bin texmf=${D}/usr/share/texmf || die
insinto /usr/share/texmf/dvips/config
- newins ${FILESDIR}/psfonts-novflib-ja.map psfonts-ja.map
+ doins ${FILESDIR}/psfonts-ja.map || die
cat >>${D}/usr/share/texmf/web2c/updmap.cfg<<-EOF
# Japanese fonts
diff --git a/app-text/ptex/ptex-3.1.8.20050111.ebuild b/app-text/ptex/ptex-3.1.8.20050111.ebuild
deleted file mode 100644
index a4c23b6d35fc..000000000000
--- a/app-text/ptex/ptex-3.1.8.20050111.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ptex-3.1.8.20050111.ebuild,v 1.2 2005/02/21 15:00:52 agriffis Exp $
-
-TETEX_PV=2.99.9.20050111
-TEXMF_PATH=/var/lib/texmf
-
-inherit tetex eutils
-
-DESCRIPTION="The ASCII publishing TeX distribution"
-HOMEPAGE="http://www.ascii.co.jp/pb/ptex/
- http://www.misojiro.t.u-tokyo.ac.jp/~tutimura/ptetex3/0README
- http://www.fsci.fuk.kindai.ac.jp/aftp/pub/ptex/utils/"
-
-PTEX_TEXMF_PV=2.3
-PTEX_SRC="ptex-src-${PV%.*}.tar.gz"
-PTEX_TEXMF="ptex-texmf-${PTEX_TEXMF_PV}.tar.gz"
-PTETEX=ptetex3-20050119
-
-S=${WORKDIR}/tetex-src-${TETEX_PV}-beta
-
-SRC_PATH_PTEX="ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex"
-SRC_PATH_TETEX="ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta"
-TETEX_SRC="tetex-src-${TETEX_PV}-beta.tar.gz"
-TETEX_TEXMF="tetex-texmf-${TETEX_PV}-beta.tar.gz"
-TETEX_TEXMF_SRC=""
-SRC_URI="${SRC_PATH_TETEX}/${TETEX_SRC}
- ${SRC_PATH_TETEX}/${TETEX_TEXMF}
- http://www.misojiro.t.u-tokyo.ac.jp/~tutimura/ptetex3/${PTETEX}.tar.gz
- mirror://gentoo/tetex-${TETEX_PV}-gentoo.tar.gz"
-
-LICENSE="GPL-2 BSD"
-SLOT="0"
-KEYWORDS="~x86 ~alpha ~amd64 ~ppc ~sparc ~ppc64 ~ppc-macos ~ia64"
-IUSE="X motif lesstif Xaw3d neXt"
-
-DEPEND="X? ( >=media-libs/freetype-2
- >=media-fonts/kochi-substitute-20030809-r3
- motif? ( lesstif? ( x11-libs/lesstif )
- !lesstif? ( x11-libs/openmotif ) )
- !motif? ( neXt? ( x11-libs/neXtaw )
- !neXt? ( Xaw3d? ( x11-libs/Xaw3d ) ) )
- !app-text/xdvik
- )
- !dev-tex/memoir
- !dev-tex/lineno
- !dev-tex/SIunits
- !dev-tex/floatflt
- !dev-tex/g-brief
- !dev-tex/pgf
- !dev-tex/xcolor
- !dev-tex/xkeyval"
-
-src_unpack() {
- unpack ${PTETEX}.tar.gz
- tetex_src_unpack
-
- einfo "Unpacking pTeX sources ..."
- cd ${S}/texmf
- echo ">>> Unpacking ${PTEX_TEXMF} to ${S}/texmf ..."
- tar xzf ${WORKDIR}/${PTETEX}/archive/${PTEX_TEXMF} || die
-
- cd ${S}/texk/web2c
- echo ">>> Unpacking ${PTEX_SRC} to ${S}/texk/web2c ..."
- tar xzf ${WORKDIR}/${PTETEX}/archive/${PTEX_SRC} || die
-
- cd ${S}/texk
- echo ">>> Unpacking dvipsk-jpatch to ${S}/texk ..."
- tar xzf ${WORKDIR}/${PTETEX}/archive/dvipsk-*.tar.gz || die
- epatch dvipsk-*.diff
-
- if use X ; then
- cd ${S}
- epatch ${WORKDIR}/${PTETEX}/archive/xdvik-*-jp.diff.gz
- cat >>${S}/texk/xdvik/vfontmap.sample<<-EOF
-
- # TrueType fonts
- min /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
- nmin /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
- goth /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
- tmin /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
- tgoth /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
- ngoth /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
- jis /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
- jisg /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
- dm /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
- dg /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
- mgoth /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
- fmin /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
- fgoth /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
- EOF
- fi
-}
-
-src_compile() {
- if use X ; then
- export CPPFLAGS="${CPPFLAGS} -I/usr/include/freetype2"
-
- if use motif ; then
- if use lesstif ; then
- append-ldflags -L/usr/X11R6/lib/lesstif -R/usr/X11R6/lib/lesstif
- export CPPFLAGS="${CPPFLAGS} -I/usr/X11R6/include/lesstif"
- fi
- toolkit="motif"
- elif use neXt ; then
- toolkit="neXtaw"
- elif use Xaw3d ; then
- toolkit="xaw3d"
- else
- toolkit="xaw"
- fi
-
- TETEX_ECONF="--with-vflib=vf2ft --enable-freetype --with-x-toolkit=${toolkit}"
- fi
-
- tetex_src_compile
-
- # make ptex.tex visible to ptex
- TEXMF="${S}/texmf" ${S}/texk/kpathsea/mktexlsr || die
-
- cd ${S}/texk/web2c/${PTEX_SRC%.tar.gz} || die
- chmod +x configure
- ./configure EUC || die "configure pTeX failed"
-
- make || die "make pTeX failed"
-}
-
-src_install() {
- tetex_src_install base doc fixup
-
- einfo "Installing pTeX ..."
- dodir ${TEXMF_PATH}/web2c
- cd ${S}/texk/web2c/${PTEX_SRC%.tar.gz} || die
- einstall bindir=${D}/usr/bin texmf=${D}${TEXMF_PATH} || die
-
- # ptex reinstalls ${TEXMF_PATH}/web2c
- tetex_src_install link
-
- insinto /usr/share/texmf/fonts/map/dvips/tetex
- doins ${FILESDIR}/psfonts-ja.map || die
- insinto /etc/texmf/updmap.d
- doins ${FILESDIR}/20updmap-ja.cfg
- insinto /etc/texmf/fmtutil.d
- doins ${FILESDIR}/20fmtutil-platex.cnf
- insinto /etc/texmf/texmf.d
- doins ${FILESDIR}/20texmf-cmap.cnf
-
- docinto dvipsk
- cd ${S}/texk/dvipsk
- dodoc ../ChangeLog.jpatch ../README.jpatch
-
- if use X ; then
- cd ${S}/texk/xdvik
- docinto xdvik
- dodoc ANNOUNCE BUGS CHANGES.xdvik-jp FAQ README.*
- docinto xdvik/READMEs
- dodoc READMEs/*
- fi
-}