summaryrefslogtreecommitdiff
path: root/dev-tex
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/Manifest.gzbin14181 -> 14177 bytes
-rw-r--r--dev-tex/abntex/Manifest2
-rw-r--r--dev-tex/abntex/abntex-0.9_beta2-r1.ebuild (renamed from dev-tex/abntex/abntex-0.9_beta2.ebuild)19
-rw-r--r--dev-tex/hlatex/Manifest1
-rw-r--r--dev-tex/hlatex/hlatex-1.0.1-r1.ebuild115
5 files changed, 127 insertions, 10 deletions
diff --git a/dev-tex/Manifest.gz b/dev-tex/Manifest.gz
index ef2df52a9f62..81593a881ab6 100644
--- a/dev-tex/Manifest.gz
+++ b/dev-tex/Manifest.gz
Binary files differ
diff --git a/dev-tex/abntex/Manifest b/dev-tex/abntex/Manifest
index afc9f4b1b613..9b545054416d 100644
--- a/dev-tex/abntex/Manifest
+++ b/dev-tex/abntex/Manifest
@@ -1,4 +1,4 @@
DIST abntex-0.9-beta2.tar.gz 159150 BLAKE2B 6dc7417e0652f8175929d31d6f03ae4948c5510f547944258a44d0dad7b4641108e6ec5165684ddf4f6107c37d8aa35991d271b4db667ad8afdf7b5cfdab3152 SHA512 00027c5a7a60b15f9e1bf2cb782d6bdf106fbbff33b1c0be13f6404de9e3c81957a27d7c843b209a1f3b4660eb43236ff601034741cd560e6d88274f04a4edb8
DIST abntex-doc-0.9-beta2.tar.gz 1350153 BLAKE2B 16e916c88b324d969ac72ab4b7b59e258ecc56cc245d192a60c8c11317be1800e0f1df4e3324216b32baa7b1d9fe8a6bde81ec7a9deb18cb84cfac1f5db6ea02 SHA512 2084e4d3a613140ab53dab2c782e0b7e07294bf60615d79ac7b0a75fd6ae350f365401fb5722266c1e540ab8a94671299cabcd007f799be01c520f39d1af6878
-EBUILD abntex-0.9_beta2.ebuild 1404 BLAKE2B 17a083cab873de83d03c4b39cb5f6bf2988281e36bb6872c05d1309b9dc97c48a08d5766ac6babd75fd18de0bed575f97aec868300c03ed775b9c96661c667b5 SHA512 ff2670efbef002e704f71016f201b8df3f8ef87d338368f25aac8a830040c9838b3db3a2b2a02881771c229373b6b606e642ccc1f2c43fef925c155c48caf2b1
+EBUILD abntex-0.9_beta2-r1.ebuild 1223 BLAKE2B d1c566c6231d84b1cae5377a12b908ca0b0667fa10343be9e109651a449e474336ef423c9d32b85561f0f76a3c79bd5b03d3acd6b688b3bb66d3f81c58493d86 SHA512 606b112ffd4747cbde950d76120d7d0b2053c13e870abd8a0f8c6386ad73fb11cb232afcdf486f3fc931b128a6dc2227eec04921045db80d0e3872c1ae0255f2
MISC metadata.xml 530 BLAKE2B e53a751233e50d245c6f3639e57e273dfd8ee0470236c16192e54f951f749ff1c4459016490063e339145efc500aad0154824078fe3ad907546e3acf1665e154 SHA512 84109b451aa326477d5b46a56c02b7bfcfd7d6a9b1da146befc11a5b91580894987223bcdd19c4179adfab4aec809a0b837723e5c5a73a54f899f6098e9bd5cc
diff --git a/dev-tex/abntex/abntex-0.9_beta2.ebuild b/dev-tex/abntex/abntex-0.9_beta2-r1.ebuild
index a2c742a8a63c..e198e8baa33b 100644
--- a/dev-tex/abntex/abntex-0.9_beta2.ebuild
+++ b/dev-tex/abntex/abntex-0.9_beta2-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=3
+EAPI=6
inherit latex-package
@@ -30,30 +30,31 @@ src_prepare() {
# fix permissions
find . -type f -exec chmod 0644 "{}" + || die 'chmod 0644 failed.'
find . -type d -exec chmod 0755 "{}" + || die 'chmod 0755 failed.'
+ default
}
src_install() {
- dobin bin/geratss || die 'dobin failed.'
+ dobin bin/geratss
if use examples; then
insinto /usr/share/doc/${PF}/examples
- doins -r texmf/doc/* || die 'could not install examples.'
+ doins -r texmf/doc/*
fi
- rm -rf texmf/doc
+ rm -rf texmf/doc || die
insinto /usr/share/texmf-site
- doins -r texmf/* || die 'could not install texmf.'
+ doins -r texmf/*
if use lyx; then
insinto /usr/share/lyx
- doins -r lyx/* || die 'could not install lyx files.'
+ doins -r lyx/*
fi
- dodoc LEIAME || die 'could not install LEIAME'
+ dodoc LEIAME
if use doc; then
insinto /usr/share/doc/${PF}/docs
- doins -r compiled.docs/* || die "could not install doc"
+ doins -r compiled.docs/*
fi
}
diff --git a/dev-tex/hlatex/Manifest b/dev-tex/hlatex/Manifest
index 26f14ef5931b..56d56be8a265 100644
--- a/dev-tex/hlatex/Manifest
+++ b/dev-tex/hlatex/Manifest
@@ -14,5 +14,6 @@ DIST uhc-shinmun-1.0.tar.gz 4794977 BLAKE2B 84e1e3a872acf6897d34261a676fb810ef58
DIST uhc-taza-1.0.tar.gz 1338672 BLAKE2B 8c91e9d1c0490c4e63760baa933f6639aa20fd441868d259f21839816e3abbaf6d7e664a0c76d6afb7bca06c86aa2c78e43a6de74273c158d32a2c4368a0e9f3 SHA512 87ae8ff615e76b1a570f14a4d8f29ae3e15a7dccb75c7b80c1e5bb64374c2b749090f9f6a706cfd74c36d39584549cd36bdbd2ede13c50a9c9d5c3b8a44346b8
DIST uhc-vada-1.0.tar.gz 1225522 BLAKE2B f15ffe19bc9ae2ec83116ab700b12716bea53a8cdc5bb62e5362eff4e17d9feaa2c1decdbf0bc7e2ad1228cd96d95347e415ec91222db44d5d0687143b661b17 SHA512 663ea0a1d3f968dc30387cd7962962969af6c2ade41c6de585f24b116e79ce897539ddb412735bd19a7c1083a69bd975ba198b442ca25ea30d6811ebbb8421ad
DIST uhc-yetgul-1.0.tar.gz 5198946 BLAKE2B a9795852f0a075b78896f76fe01301104b16b21fd8b44d5545f99c6bbaf038f64a25bd5805ca65b09d627162651814856fb997d933740e19e638e161f597df7d SHA512 e620bfc42eb30d3b3a60964a68071d6ea68a2a6a8f1c9e1d07a3a9c75dcfabb6b26beb5d65ba76c16aaee5f1cd42c87991033d581e49acc67bae923aefaf6ddd
+EBUILD hlatex-1.0.1-r1.ebuild 2416 BLAKE2B eb33e6e05777036a0c80bd9d84b64193107c899d32847a2ea615e40ae40d800286f9617b1a823d484a75c456ff832d8dafbe542a5e53ed19dc9c74f87b490af6 SHA512 74dc54c9331c202470a79c398cc3d36bbae76bd0c17096221012d6b061e372abba204091ff7a4324eb28772573e6f1bc186abe87932c2ac3eb87059d9ffc02de
EBUILD hlatex-1.0.1.ebuild 2419 BLAKE2B b66e156f087752aa05ca78a1282d0702adf591e6395dca6253288e65d5034fd6e13295e2e1d77636046390a322fe1e2b008b5b32ee3fb729e7c09aebccd6f22d SHA512 34c079942f96facb7d3f14eca3a8d8a47574388130dc973979680135a37086f36b61cd998640295359e99f828e824ea9ab3ec0964c12aa0a2bb2fa231a77075d
MISC metadata.xml 336 BLAKE2B b50f21b184d0548ece37497188f8d6cd0dd664ef669c7e64af31accefa53819e1a20dc8a40a7aff7d28546444ce26bd8eeca12acd9d9ea9459d8764a5ace1464 SHA512 e94ba5fcd5ceb62065d4bcc67d0ef1fa9053589073124a55a775324ea9bdab3d8af4aa3ba393f3388674c73fe9b58fd6598b815bc481a1b2caadf1dce11b75a2
diff --git a/dev-tex/hlatex/hlatex-1.0.1-r1.ebuild b/dev-tex/hlatex/hlatex-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..c1cf71c7a38a
--- /dev/null
+++ b/dev-tex/hlatex/hlatex-1.0.1-r1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs latex-package
+
+MY_P="HLaTeX-${PV}"
+DESCRIPTION="HLaTeX is a LaTeX package to use Hangul with LaTeX"
+HOMEPAGE="http://project.ktug.or.kr/hlatex/"
+UHCFONTS="uhc-myoungjo-1.0.tar.gz
+ uhc-gothic-1.0.tar.gz
+ uhc-taza-1.0.tar.gz
+ uhc-graphic-1.0.tar.gz
+ uhc-gungseo-1.0.tar.gz
+ uhc-shinmun-1.0.tar.gz
+ uhc-pilgi-1.0.tar.gz
+ uhc-pen-1.0.tar.gz
+ uhc-bom-1.0.tar.gz
+ uhc-yetgul-1.0.tar.gz
+ uhc-jamo-1.0.tar.gz
+ uhc-vada-1.0.tar.gz
+ uhc-pilgia-1.0.tar.gz
+ uhc-dinaru-1.0.tar.gz"
+
+SRC_URI="ftp://ftp.ktug.or.kr/pub/ktug/hlatex/${MY_P}.tar.gz
+ ftp://ftp.ktug.or.kr/pub/ktug/hlatex/fonts/uhc-fonts-1.0.tar.gz
+ ${UHCFONTS//uhc-/ftp://ftp.ktug.or.kr/pub/ktug/hlatex/fonts/uhc-}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+S="${WORKDIR}/HLaTeX"
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+ unpack uhc-fonts-1.0.tar.gz
+ cd "${S}"/contrib
+ cat >Makefile <<-EOF
+CC=$(tc-getCC)
+all: hmakeindex hbibtex
+hmakeindex: hmakeindex.c
+hbibtex: hbibtex.c
+EOF
+}
+
+src_compile() {
+ cd "${S}"/contrib
+ emake
+}
+
+src_install() {
+ cd "${S}"/latex
+ insinto ${TEXMF}/tex/latex/hlatex
+ doins *
+
+ cd "${S}"/lambda
+ insinto ${TEXMF}/tex/lambda/hlatex
+ doins u8hangul.tex uhc-test.tex uhc*.fd
+
+ insinto ${TEXMF}/omega/otp/hlatex
+ doins hlatex.otp
+
+ insinto ${TEXMF}/omega/ocp/hlatex
+ doins hlatex.ocp
+
+ cd "${S}"/contrib
+ insinto ${TEXMF}/tex/latex/hlatex
+ doins hbname-k.tex khyper.sty showhkeys.sty showhtags.sty
+ doins hangulfn.sty hfn-k.tex
+
+ insinto ${TEXMF}/tex/lambda/hlatex
+ doins hbname-u.tex hfn-u.tex
+
+ insinto ${TEXMF}/bibtex/bst/hlatex
+ doins halpha.bst
+
+ insinto ${TEXMF}/makeindex
+ doins hind.ist hglo.ist
+
+ dobin hmakeindex hbibtex
+
+ cd "${S}"
+ dodoc ChangeLog.ko NEWS* README.en
+
+ cd "${WORKDIR}"/uhc-fonts-1.0
+ insinto ${TEXMF}/fonts/map/hlatex
+ doins uhc-base.map uhc-extra.map
+
+ cd "${ED}"/${TEXMF}/fonts
+ for X in ${UHCFONTS}
+ do
+ unpack ${X}
+ done
+}
+
+pkg_postinst() {
+ updmap-sys --enable Map=uhc-base.map
+ updmap-sys --enable Map=uhc-extra.map
+ texhash
+}
+
+pkg_postrm() {
+ if [ ! -e "${EPREFIX}"${TEXMF}/fonts/map/hlatex/uhc-base.map ] ; then
+ updmap-sys --disable Map=uhc-base.map
+ fi
+
+ if [ ! -e "${EPREFIX}"${TEXMF}/fonts/map/hlatex/uhc-extra.map ] ; then
+ updmap-sys --disable Map=uhc-extra.map
+ fi
+
+ texhash
+}