summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text')
-rw-r--r--app-text/ptex/ChangeLog7
-rw-r--r--app-text/ptex/Manifest16
-rw-r--r--app-text/ptex/files/digest-ptex-3.1.46
-rw-r--r--app-text/ptex/ptex-3.1.4.ebuild84
4 files changed, 110 insertions, 3 deletions
diff --git a/app-text/ptex/ChangeLog b/app-text/ptex/ChangeLog
index e2beceb5e8c3..89582ecdfa86 100644
--- a/app-text/ptex/ChangeLog
+++ b/app-text/ptex/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/ptex
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ChangeLog,v 1.18 2004/07/29 02:37:15 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ChangeLog,v 1.19 2004/10/01 07:52:49 usata Exp $
+
+*ptex-3.1.4 (01 Oct 2004)
+
+ 01 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> +ptex-3.1.4.ebuild:
+ Version bumped.
28 Jul 2004; Tom Gall <tgall@gentoo.org> ptex-3.1.3.ebuild:
stable on ppc64
diff --git a/app-text/ptex/Manifest b/app-text/ptex/Manifest
index 2a7942701daf..bfa46b34fec9 100644
--- a/app-text/ptex/Manifest
+++ b/app-text/ptex/Manifest
@@ -1,8 +1,20 @@
-MD5 26eb64bce5c619346d551634de3da715 ChangeLog 2564
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 f37a80133cac33b55bb77b13db14fae1 ChangeLog 2679
MD5 d2fd604b88f163116f23670ca84b1815 metadata.xml 531
+MD5 c98faa42d61722316cf9178e414ae474 ptex-3.1.4.ebuild 1911
MD5 ba640e59d90475a28d8055a04c96f10d ptex-3.1.3.ebuild 1895
-MD5 cb7b6b0b14b8e8b5b1ae59795883d687 files/digest-ptex-3.1.3 416
+MD5 2d234949b4bccea51b2dd3370d251937 files/digest-ptex-3.1.4 417
MD5 8d6f7372f16899ab048c61a738b48065 files/psfonts-ja.map 1184
MD5 d15f2d9ab04bcfa15c3e737f106d1625 files/psfonts-novflib-ja.map 1158
MD5 476a1c8128397ff7a381c43fe723a522 files/tetex-2.0.2-dont-run-config.diff 1243
MD5 50c560b391869be15a001b738e0b7bfe files/tetex-2.0.2.diff 2010
+MD5 cb7b6b0b14b8e8b5b1ae59795883d687 files/digest-ptex-3.1.3 416
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.4 (GNU/Linux)
+
+iD8DBQFBXQt5VWNWqTUmv+0RAinDAJ0RGwAkIi3p5qHK4QKdTY+zgR9FQQCdGpKP
+I8MVTo5LDE09vY8ijCpEHqk=
+=GC6E
+-----END PGP SIGNATURE-----
diff --git a/app-text/ptex/files/digest-ptex-3.1.4 b/app-text/ptex/files/digest-ptex-3.1.4
new file mode 100644
index 000000000000..9d13593c0fb3
--- /dev/null
+++ b/app-text/ptex/files/digest-ptex-3.1.4
@@ -0,0 +1,6 @@
+MD5 a16f6bba227d55e79aeee46fbbd82d28 tetex-src-2.0.2.tar.gz 11745933
+MD5 d3bdb96f9077e43b2115d3cc471743b3 tetex-texmf-2.0.2.tar.gz 52424280
+MD5 40d4b2c5582eccbee4b6ec692c3cc253 tetex-texmfsrc-2.0.2.tar.gz 22909537
+MD5 ffdcb5b304f3014077bfc227343e2ef1 ptex-src-3.1.4.tar.gz 121053
+MD5 9171f289677684d97f28e95026e75426 ptex-texmf-2.2.tar.gz 1866278
+MD5 cf7c5744c27d585384e414cf3e5ca4cd dvipsk-jpatch-p1.6a.tar.gz 29428
diff --git a/app-text/ptex/ptex-3.1.4.ebuild b/app-text/ptex/ptex-3.1.4.ebuild
new file mode 100644
index 000000000000..bd25cddfe1e1
--- /dev/null
+++ b/app-text/ptex/ptex-3.1.4.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2004 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.ebuild,v 1.1 2004/10/01 07:52:49 usata Exp $
+
+PTEX_TEXMF_PV=2.2
+TETEX_PV=2.0.2
+
+inherit tetex eutils
+
+DESCRIPTION="The ASCII publishing TeX distribution"
+HOMEPAGE="http://www.ascii.co.jp/pb/ptex/"
+
+PTEX_SRC="ptex-src-${PV}.tar.gz"
+PTEX_TEXMF="ptex-texmf-${PTEX_TEXMF_PV}.tar.gz"
+
+SRC_PATH_PTEX="ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex"
+SRC_URI="${SRC_URI}
+ ${SRC_PATH_PTEX}/tetex/${PTEX_SRC}
+ ${SRC_PATH_PTEX}/tetex/${PTEX_TEXMF}
+ ${SRC_PATH_PTEX}/dvips/dvipsk-jpatch-p1.6a.tar.gz"
+
+LICENSE="GPL-2 BSD"
+SLOT="0"
+KEYWORDS="~x86 ~alpha ~amd64 ~ppc ~sparc ~ppc64"
+IUSE="X"
+
+PDEPEND="X? ( app-text/xdvik )"
+
+src_unpack() {
+ tetex_src_unpack
+
+ einfo "Unpacking pTeX sources..."
+ cd ${S}/texmf
+ unpack ${PTEX_TEXMF}
+
+ cd ${S}/texk/web2c
+ unpack ${PTEX_SRC}
+
+ cd ${S}/texk
+ unpack dvipsk-jpatch-p1.6a.tar.gz
+ epatch dvipsk-5.92b-p1.6a.patch
+}
+
+src_compile() {
+ tetex_src_compile
+
+ cat >>${S}/texk/web2c/fmtutil.cnf<<-EOF
+
+ # Japanese pLaTeX:
+ ptex ptex - ptex.ini
+ platex ptex language.dat platex.ini
+ platex209 ptex language.dat plplain.ini
+ EOF
+
+ cat >>${S}/texk/web2c/texmf.cnf<<-EOF
+
+ CMAPINPUTS = .;/opt/Acrobat5/Resource/Font//;/usr/share/xpdf//
+ EOF
+
+ cd ${S}/texk/web2c/${PN}-src-${PV} || die
+ ./configure EUC || die "configure pTeX failed"
+
+ make programs || die "make pTeX failed"
+}
+
+src_install() {
+ tetex_src_install
+
+ einfo "Installing pTeX..."
+ cd ${S}/texk/web2c/${PN}-src-${PV} || die
+ 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
+ cat >>${D}/usr/share/texmf/web2c/updmap.cfg<<-EOF
+
+ # Japanese fonts
+ MixedMap psfonts-ja.map
+ EOF
+
+ docinto dvipsk
+ cd ${S}/texk/dvipsk
+ dodoc ../ChangeLog.jpatch ../README.jpatch
+}