diff options
author | Mamoru Komachi <usata@gentoo.org> | 2005-02-21 16:50:21 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2005-02-21 16:50:21 +0000 |
commit | c980cd02fa3ac850357946a806a764e465c2bab1 (patch) | |
tree | 030e0e4d8c22199ac657d7d5a85ef4ba8daea44b /app-text/ptex | |
parent | stable on ia64 #79585 (Manifest recommit) (diff) | |
download | gentoo-2-c980cd02fa3ac850357946a806a764e465c2bab1.tar.gz gentoo-2-c980cd02fa3ac850357946a806a764e465c2bab1.tar.bz2 gentoo-2-c980cd02fa3ac850357946a806a764e465c2bab1.zip |
Version bumped. Marked 3.1.4-r2 stable on ppc-macos.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'app-text/ptex')
-rw-r--r-- | app-text/ptex/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/ptex/files/digest-ptex-3.1.3 | 7 | ||||
-rw-r--r-- | app-text/ptex/files/digest-ptex-3.1.8.20050218 | 4 | ||||
-rw-r--r-- | app-text/ptex/ptex-3.1.3.ebuild | 84 | ||||
-rw-r--r-- | app-text/ptex/ptex-3.1.4-r2.ebuild | 4 | ||||
-rw-r--r-- | app-text/ptex/ptex-3.1.5.ebuild | 4 | ||||
-rw-r--r-- | app-text/ptex/ptex-3.1.8.20050218.ebuild | 161 |
7 files changed, 176 insertions, 96 deletions
diff --git a/app-text/ptex/ChangeLog b/app-text/ptex/ChangeLog index 47121f7fc19d..c880535a316a 100644 --- a/app-text/ptex/ChangeLog +++ b/app-text/ptex/ChangeLog @@ -1,6 +1,12 @@ # 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.34 2005/02/21 15:00:52 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ChangeLog,v 1.35 2005/02/21 16:50:21 usata Exp $ + +*ptex-3.1.8.20050218 (22 Feb 2005) + + 22 Feb 2005; Mamoru KOMACHI <usata@gentoo.org> -ptex-3.1.3.ebuild, + ptex-3.1.4-r2.ebuild, ptex-3.1.5.ebuild, +ptex-3.1.8.20050218.ebuild: + Version bumped. Marked 3.1.4-r2 stable on ppc-macos. 20 Feb 2005; Aron Griffis <agriffis@gentoo.org> ptex-3.1.5.ebuild, ptex-3.1.8.20050111.ebuild: diff --git a/app-text/ptex/files/digest-ptex-3.1.3 b/app-text/ptex/files/digest-ptex-3.1.3 deleted file mode 100644 index 3e1bebddc710..000000000000 --- a/app-text/ptex/files/digest-ptex-3.1.3 +++ /dev/null @@ -1,7 +0,0 @@ -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 0a0ba30552331663f496d41b8ca2a299 tetex-2.0.2-gentoo.tar.gz 1704 -MD5 95aedfd68991f2ce0b1d94c8a662ef95 ptex-src-3.1.3.tar.gz 120649 -MD5 d0c01d4114dde202e96c97b1a2ef8523 ptex-texmf-2.1.tar.gz 1864219 -MD5 a072a2196015caa15834522728a91a78 dvipsk-jpatch-p1.6.tar.gz 28637 diff --git a/app-text/ptex/files/digest-ptex-3.1.8.20050218 b/app-text/ptex/files/digest-ptex-3.1.8.20050218 new file mode 100644 index 000000000000..448d41d7c387 --- /dev/null +++ b/app-text/ptex/files/digest-ptex-3.1.8.20050218 @@ -0,0 +1,4 @@ +MD5 944a4641e79e61043fdaf8f38ecbb4b3 tetex-src-3.0.tar.gz 12749314 +MD5 11aa15c8d3e28ee7815e0d5fcdf43fd4 tetex-texmf-3.0.tar.gz 91762123 +MD5 eb8bf517a42e82a2a5ebb3f41b291d0e ptetex3-20050218.tar.gz 2931885 +MD5 3d45189842f826b84ed867ab74a8b9fe tetex-3.0-gentoo.tar.gz 1352 diff --git a/app-text/ptex/ptex-3.1.3.ebuild b/app-text/ptex/ptex-3.1.3.ebuild deleted file mode 100644 index ccc0a4c5ca8f..000000000000 --- a/app-text/ptex/ptex-3.1.3.ebuild +++ /dev/null @@ -1,84 +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.3.ebuild,v 1.16 2005/01/01 16:32:00 eradicator Exp $ - -PTEX_TEXMF_PV=2.1 -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.6.tar.gz" - -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="x86 alpha amd64 ppc sparc ppc64 ppc-macos" -IUSE="" - -#PDEPEND="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.6.tar.gz - epatch dvipsk-5.92b-p1.6.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 - doins ${FILESDIR}/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 -} diff --git a/app-text/ptex/ptex-3.1.4-r2.ebuild b/app-text/ptex/ptex-3.1.4-r2.ebuild index e5052cca2c7c..46d7f4608a11 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.7 2005/01/22 21:15:15 weeve Exp $ +# $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 $ PTEX_TEXMF_PV=2.2 TETEX_PV=2.0.2 @@ -24,7 +24,7 @@ SRC_URI="${SRC_URI} LICENSE="GPL-2 BSD" SLOT="0" -KEYWORDS="x86 alpha amd64 ppc sparc ppc64 ~ppc-macos" +KEYWORDS="x86 alpha amd64 ppc sparc ppc64 ppc-macos" IUSE="X" DEPEND="X? ( >=media-libs/freetype-2 diff --git a/app-text/ptex/ptex-3.1.5.ebuild b/app-text/ptex/ptex-3.1.5.ebuild index 778be2e49f83..cc4e55dd4d48 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.2 2005/02/21 15:00:52 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ptex-3.1.5.ebuild,v 1.3 2005/02/21 16:50:21 usata Exp $ PTEX_TEXMF_PV=2.3 TETEX_PV=2.0.2 @@ -24,7 +24,7 @@ SRC_URI="${SRC_URI} LICENSE="GPL-2 BSD" SLOT="0" -KEYWORDS="~x86 ~alpha ~amd64 ~ppc ~sparc ~ppc64 ~ppc-macos ~ia64" +KEYWORDS="x86 ~alpha ~amd64 ppc ~sparc ~ppc64 ppc-macos ~ia64" IUSE="X" DEPEND="X? ( >=media-libs/freetype-2 diff --git a/app-text/ptex/ptex-3.1.8.20050218.ebuild b/app-text/ptex/ptex-3.1.8.20050218.ebuild new file mode 100644 index 000000000000..487c9986de39 --- /dev/null +++ b/app-text/ptex/ptex-3.1.8.20050218.ebuild @@ -0,0 +1,161 @@ +# 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.20050218.ebuild,v 1.1 2005/02/21 16:50:21 usata Exp $ + +TETEX_PV=3.0 +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-${PV//*.} + +S=${WORKDIR}/tetex-src-${TETEX_PV} + +SRC_PATH_PTEX="ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex" +SRC_PATH_TETEX="ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/current/distrib" +TETEX_SRC="tetex-src-${TETEX_PV}.tar.gz" +TETEX_TEXMF="tetex-texmf-${TETEX_PV}.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-*.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() { + sed -i -e "/mktexlsr/,+3d" -e "s/\(updmap-sys\)/\1 --nohash/" Makefile.in || die + + 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 +} |