diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-09-02 01:34:51 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-09-02 01:34:51 +0000 |
commit | 2a91e375cb7c8470cbb55163f8d2ee87aabaf6c3 (patch) | |
tree | 3cf28ff01a34b5644d457110ea73846d238712bb /dev-tex | |
parent | x86/ppc/hppa/ia64 stable (Manifest recommit) (diff) | |
download | gentoo-2-2a91e375cb7c8470cbb55163f8d2ee87aabaf6c3.tar.gz gentoo-2-2a91e375cb7c8470cbb55163f8d2ee87aabaf6c3.tar.bz2 gentoo-2-2a91e375cb7c8470cbb55163f8d2ee87aabaf6c3.zip |
Initial import. Ebuild submitted by Hwang Joonhyung <envia@chol.com>, closing bug #51406.
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/hlatex/ChangeLog | 11 | ||||
-rw-r--r-- | dev-tex/hlatex/Manifest | 2 | ||||
-rw-r--r-- | dev-tex/hlatex/files/digest-hlatex-0.991 | 2 | ||||
-rw-r--r-- | dev-tex/hlatex/hlatex-0.991.ebuild | 113 | ||||
-rw-r--r-- | dev-tex/hlatex/metadata.xml | 6 |
5 files changed, 134 insertions, 0 deletions
diff --git a/dev-tex/hlatex/ChangeLog b/dev-tex/hlatex/ChangeLog new file mode 100644 index 000000000000..8910a706e5e2 --- /dev/null +++ b/dev-tex/hlatex/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-tex/hlatex +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/hlatex/ChangeLog,v 1.1 2004/09/02 01:34:51 usata Exp $ + +*hlatex-0.991 (02 Sep 2004) + + 02 Sep 2004; Mamoru KOMACHI <usata@gentoo.org> +metadata.xml, + +hlatex-0.991.ebuild: + Initial import. Ebuild submitted by Hwang Joonhyung <envia@chol.com>, + closing bug #51406. + diff --git a/dev-tex/hlatex/Manifest b/dev-tex/hlatex/Manifest new file mode 100644 index 000000000000..6fa067a2958b --- /dev/null +++ b/dev-tex/hlatex/Manifest @@ -0,0 +1,2 @@ +MD5 a5436a4523ecbd1d34f62f35099cea2b hlatex-0.991.ebuild 2578 +MD5 cb574b2ff1d38560d4201882a41a7e8f files/digest-hlatex-0.991 136 diff --git a/dev-tex/hlatex/files/digest-hlatex-0.991 b/dev-tex/hlatex/files/digest-hlatex-0.991 new file mode 100644 index 000000000000..c98f3d059c58 --- /dev/null +++ b/dev-tex/hlatex/files/digest-hlatex-0.991 @@ -0,0 +1,2 @@ +MD5 09399d62abd05a7088961b0cd5eb4e12 hlatex-0.991.tar.gz 55037319 +MD5 c75b165c7b4bb5916d137ee4a76e7dfd hlatex-0.991-gentoo.tar.gz 21074 diff --git a/dev-tex/hlatex/hlatex-0.991.ebuild b/dev-tex/hlatex/hlatex-0.991.ebuild new file mode 100644 index 000000000000..629f51fcb34d --- /dev/null +++ b/dev-tex/hlatex/hlatex-0.991.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/hlatex/hlatex-0.991.ebuild,v 1.1 2004/09/02 01:34:51 usata Exp $ + +inherit latex-package + +DESCRIPTION="HLaTeX is a LaTeX package to use Hangul with LaTeX." +HOMEPAGE="http://ftp.ktug.or.kr/mirrors/HLaTeX/hlatex.html" +#SRC_URI="ftp://ftp.dante.de/tex-archive/languages/korean/HLaTeX.tar.gz ftp://ftp.dante.de/tex-archive/fonts/korean/HLaTeX.tar.gz" +SRC_URI="http://user.chollian.net/~jh1228/data/gentoo/${P}.tar.gz + mirror://gentoo/${P}-gentoo.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="virtual/tetex" + +add_line() { + + FILE=$1 + STRING=$2 + + if [ -z "`grep "^${STRING}$" ${FILE}`" ] + then + echo "${STRING}" >> ${FILE} + fi + +} + +del_line() { + + FILE=$1 + STRING=$2 + + cp ${FILE} ${FILE}.temp + CMD=`echo "/^${STRING}$/d"` + sed -e "${CMD}" ${FILE}.temp > ${FILE} + rm ${FILE}.temp + +} + +src_install() { + + dodir ${TEXMF}/dvipdfm/uhc + cp -a uhc-dvipdfm.map ${D}${TEXMF}/dvipdfm/uhc + + dodir ${TEXMF}/pdftex/uhc + cp -a uhc-pdftex.map ${D}${TEXMF}/pdftex/uhc + + cd ${S}/HLaTeX + + dodir ${TEXMF}/tex/latex/hlatex + cp -a hfont.tex hangul.sty hfont.sty josa.tab hfont.cfg \ + uhc/latex/* moonttf/*.fd moonttf/moonttf.sty \ + ${D}${TEXMF}/tex/latex/hlatex + + dodir ${TEXMF}/omega/latex/hlatex + cp -a uhc/lambda/*.tex uhc/lambda/*.fd ${D}${TEXMF}/omega/latex/hlatex + + dodir ${TEXMF}/omega/otp/hlatex + cp -a uhc/lambda/ksx1001.otp ${D}${TEXMF}/omega/otp/hlatex + + dodir ${TEXMF}/omega/ocp/hlatex + cp -a uhc/lambda/ksx1001.ocp ${D}${TEXMF}/omega/ocp/hlatex + + dodir ${TEXMF}/bibtex/bst/misc + cp -a contrib/halpha.bst ${D}${TEXMF}/bibtex/bst/misc + + dodir ${TEXMF}/makeindex + cp -a contrib/hind.ist contrib/hglo.ist ${D}${TEXMF}/makeindex + + dodir ${TEXMF}/dvips/config + cp -a uhc/config/uhc-down.map ${D}${TEXMF}/dvips/config + + dodoc changelog.ks hlatex-en.html hlatex-ko.html hlatex.html \ + hlguide.bib hlguide.tex news.099 readme.eng \ + docinto doc + dodoc doc/* + + cd ${S}/Fonts + + for i in * + do + gunzip -c $i | tar xvf - + rm $i + done + + dodir ${TEXMF}/fonts + cp -a * ${D}${TEXMF}/fonts + +} + +pkg_postinst() { + + add_line "${TEXMF}/dvips/config/config.ps" "p +uhc-down.map" + add_line "${TEXMF}/pdftex/config/pdftex.cfg" "map +uhc-pdftex.map" + add_line "${TEXMF}/dvipdfm/config/config" "f uhc-dvipdfm.map" + + texhash + +} + +pkg_postrm() { + + del_line "${TEXMF}/dvips/config/config.ps" "p +uhc-down.map" + del_line "${TEXMF}/pdftex/config/pdftex.cfg" "map +uhc-pdftex.map" + del_line "${TEXMF}/dvipdfm/config/config" "f uhc-dvipdfm.map" + + texhash + +} + diff --git a/dev-tex/hlatex/metadata.xml b/dev-tex/hlatex/metadata.xml new file mode 100644 index 000000000000..61e9f4afad9c --- /dev/null +++ b/dev-tex/hlatex/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cjk</herd> +<herd>text-markup</herd> +</pkgmetadata> |