diff options
Diffstat (limited to 'dev-tex/hlatex/hlatex-0.991.ebuild')
-rw-r--r-- | dev-tex/hlatex/hlatex-0.991.ebuild | 121 |
1 files changed, 0 insertions, 121 deletions
diff --git a/dev-tex/hlatex/hlatex-0.991.ebuild b/dev-tex/hlatex/hlatex-0.991.ebuild deleted file mode 100644 index e717ab75b9d3..000000000000 --- a/dev-tex/hlatex/hlatex-0.991.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2014 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.11 2014/08/10 21:26:16 slyfox 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="mirror://gentoo/${P}.tar.gz - mirror://gentoo/${P}-gentoo.tar.gz" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="x86 ppc alpha ~amd64" -IUSE="" - -add_line() { - - FILE=$1 - STRING=$2 - - if [ ! -e "${FILE}" ] - then - return - fi - - if [ -z "`grep "^${STRING}$" ${FILE}`" ] - then - echo "${STRING}" >> ${FILE} - fi - -} - -del_line() { - - FILE=$1 - STRING=$2 - - if [ ! -e "${FILE}" ] - then - return - fi - - cp ${FILE} ${FILE}.temp - CMD=`echo "/^${STRING}$/d"` - sed -e "${CMD}" ${FILE}.temp > ${FILE} - rm ${FILE}.temp - -} - -src_install() { - - dodir ${TEXMF}/dvipdfm/uhc - cp -pPR uhc-dvipdfm.map ${D}${TEXMF}/dvipdfm/uhc - - dodir ${TEXMF}/pdftex/uhc - cp -pPR uhc-pdftex.map ${D}${TEXMF}/pdftex/uhc - - cd ${S}/HLaTeX - - dodir ${TEXMF}/tex/latex/hlatex - cp -pPR 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 -pPR uhc/lambda/*.tex uhc/lambda/*.fd ${D}${TEXMF}/omega/latex/hlatex - - dodir ${TEXMF}/omega/otp/hlatex - cp -pPR uhc/lambda/ksx1001.otp ${D}${TEXMF}/omega/otp/hlatex - - dodir ${TEXMF}/omega/ocp/hlatex - cp -pPR uhc/lambda/ksx1001.ocp ${D}${TEXMF}/omega/ocp/hlatex - - dodir ${TEXMF}/bibtex/bst/misc - cp -pPR contrib/halpha.bst ${D}${TEXMF}/bibtex/bst/misc - - dodir ${TEXMF}/makeindex - cp -pPR contrib/hind.ist contrib/hglo.ist ${D}${TEXMF}/makeindex - - dodir ${TEXMF}/dvips/config - cp -pPR 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 -pPR * ${D}${TEXMF}/fonts - -} - -pkg_postinst() { - - add_line "${TEXMF}/pdftex/config/pdftex.cfg" "map +uhc-pdftex.map" - add_line "${TEXMF}/dvips/config/config.ps" "p +uhc-down.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 - -} |