summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-08-05 00:07:12 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-08-05 00:07:12 +0000
commit19f6bb50eedc9cb42406ce5dc1ceedb8ce3f882e (patch)
treef7bfb9597237b36e34a202d04d09e739a3db58ac /dev-tex/cjk-latex
parentSet SUPPORT_PYTHON_ABIS. (diff)
downloadgentoo-2-19f6bb50eedc9cb42406ce5dc1ceedb8ce3f882e.tar.gz
gentoo-2-19f6bb50eedc9cb42406ce5dc1ceedb8ce3f882e.tar.bz2
gentoo-2-19f6bb50eedc9cb42406ce5dc1ceedb8ce3f882e.zip
remove old
(Portage version: 2.2_rc35/cvs/Linux x86_64)
Diffstat (limited to 'dev-tex/cjk-latex')
-rw-r--r--dev-tex/cjk-latex/ChangeLog5
-rw-r--r--dev-tex/cjk-latex/cjk-latex-4.8.1.ebuild153
2 files changed, 4 insertions, 154 deletions
diff --git a/dev-tex/cjk-latex/ChangeLog b/dev-tex/cjk-latex/ChangeLog
index 8f5221c86294..208aa95d82c8 100644
--- a/dev-tex/cjk-latex/ChangeLog
+++ b/dev-tex/cjk-latex/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-tex/cjk-latex
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v 1.42 2009/05/28 16:12:18 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/ChangeLog,v 1.43 2009/08/05 00:07:12 aballier Exp $
+
+ 05 Aug 2009; Alexis Ballier <aballier@gentoo.org> -cjk-latex-4.8.1.ebuild:
+ remove old
28 May 2009; Raúl Porcel <armin76@gentoo.org> cjk-latex-4.8.2.ebuild:
alpha/arm/ia64/s390/sh/sparc stable wrt #270385
diff --git a/dev-tex/cjk-latex/cjk-latex-4.8.1.ebuild b/dev-tex/cjk-latex/cjk-latex-4.8.1.ebuild
deleted file mode 100644
index ee3e04b65666..000000000000
--- a/dev-tex/cjk-latex/cjk-latex-4.8.1.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/cjk-latex/cjk-latex-4.8.1.ebuild,v 1.7 2009/03/18 19:26:46 armin76 Exp $
-
-inherit latex-package elisp-common toolchain-funcs multilib
-
-MY_P="${P/-latex/}"
-
-DESCRIPTION="A LaTeX 2e macro package which enables the use of CJK scripts in various encodings"
-HOMEPAGE="http://cjk.ffii.org/"
-# fonts are taken from ftp://ftp.ctan.org/tex-archive/fonts/CJK.zip
-SRC_URI="ftp://ftp.ffii.org/pub/cjk/${MY_P}.tar.gz
- mirror://gentoo/${MY_P}-fonts.zip
- doc? ( ftp://ftp.ffii.org/pub/cjk/${MY_P}-doc.tar.gz )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="doc emacs"
-
-DEPEND="virtual/latex-base
- emacs? ( virtual/emacs )"
-RDEPEND="${DEPEND}
- app-arch/unzip"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- for i in "${WORKDIR}"/CJK/*.tar.gz; do
- tar -xzf ${i} || die "failed to unpack $i"
- done
- find texmf/fonts/hbf -type f -exec cp {} "${T}" \; || die
- sed -i -e "/^pk_files/s/no/yes/" \
- -e "/^dpi_x/s/300/500/" \
- texmf/hbf2gf/*.cfg || die
-}
-
-src_compile() {
- tc-export CC
- cd utils
- for d in *conv; do
- cd $d
- local f=`echo $d | tr '[:upper:]' '[:lower:]'`
- echo "all: $f" >> Makefile
- emake || die || die "building $f failed"
- if [ $d = CEFconv ] ; then
- echo "all: cef5conv cefsconv" >> Makefile
- emake || die "building $d failed"
- fi
- cd -
- done
- cd hbf2gf
- econf --with-kpathsea-lib=/usr/$(get_libdir) \
- --with-kpathsea-include=/usr/include/kpathsea
- emake || die "building hbf2gf failed!"
- cd -
-
- if use emacs ; then
- cd lisp
- elisp-compile *.el
- cd emacs
- elisp-compile *.el
- cd ../mule-2.3
- elisp-compile *.el
- fi
-
- cd "${T}"
-
- for f in "${S}"/texmf/hbf2gf/*.cfg ; do
- env HBF_TARGET="${S}/texmf/fonts" "${S}/utils/hbf2gf/hbf2gf" $f || die
- done
-
- einfo "Generating pk fonts"
- for gf in *.gf ; do
- gftopk $gf || die
- done
-}
-
-src_install() {
- cd utils
- for d in *conv; do
- cd $d
- local f=`echo $d | tr '[:upper:]' '[:lower:]'`
- dobin *latex *conv
- doman *.1
- cd -
- done
- cd hbf2gf
- einstall || die "einstall failed"
-
- cd "${S}"
-
- # Install pk fonts
- for d in texmf/fonts/pk/modeless/*/* ; do
- insinto /usr/share/${d}
- for f in "${T}"/${d##*/}*.pk ; do
- newins $f `basename ${f/.pk/.500pk}` || die "newins failed"
- done
- done
-
- insinto "${TEXMF}/tex/latex/${PN}"
- doins -r texinput/* || die "installing texinput files failed"
- doins -r contrib/wadalab || die "installing wadalab failed"
-
- if use emacs ; then
- cd utils/lisp
- elisp-install ${PN} *.el{,c} emacs/*.el{,c} mule-2.3/*.el{,c}
- fi
-
- cd "${S}"
-
- # uwpatch stuff
- insinto ${TEXMF}/scripts/uwpatch
- doins uwpatch/uwpatchold.sh
- insinto ${TEXMF}/fonts/afm/uwpatch
- doins uwpatch/*.afm
-
- # jisksp40 stuff
- insinto ${TEXMF}
- doins -r jisksp40/texmf/*
-
- # kanji48 stuff
- insinto ${TEXMF}
- doins -r kanji48/texmf/*
-
- use doc || rm -rf texmf/doc
- insinto ${TEXMF}
- doins -r texmf/* || die "installing texmf failed"
-
- # Move fonts because hbf2gf expects them in MISCFONTS
- mv "${D}/${TEXMF}/fonts/hbf" "${D}/${TEXMF}/fonts/misc" || die "mv font failed"
-
- insinto ${TEXMF}/hbf2gf
- doins utils/hbf2gf/cfg/*
-
- insinto ${TEXMF}/scripts/subfonts
- doins utils/subfonts/*
-
- rm -f doc/COPYING doc/INSTALL
- dodoc ChangeLog README
- if use doc ; then
- insinto /usr/share/doc/${PF}
- doins -r doc/*
- doins -r examples
- fi
- docinto uwpatch
- dodoc uwpatch/README
-
- prepalldocs
-}