From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-tex/tipa/Manifest | 5 +++++ dev-tex/tipa/metadata.xml | 8 +++++++ dev-tex/tipa/tipa-1.3.ebuild | 52 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 dev-tex/tipa/Manifest create mode 100644 dev-tex/tipa/metadata.xml create mode 100644 dev-tex/tipa/tipa-1.3.ebuild (limited to 'dev-tex/tipa') diff --git a/dev-tex/tipa/Manifest b/dev-tex/tipa/Manifest new file mode 100644 index 000000000000..7938d808f1c6 --- /dev/null +++ b/dev-tex/tipa/Manifest @@ -0,0 +1,5 @@ +DIST tipa-1.3.tar.gz 3099058 SHA256 a07e3b3c7bab4c84d01faf1800de4c2a45b0e09a71c9eb595e24f187b6b28807 SHA512 b07b445e9760603f991c7ca4cd1c3358b071e21975a5e051c6ba1186cda2880c80cd874e8cee285a6b7a9ca890bc35e4e4285c12e22cdfa474920c55cebe64ed WHIRLPOOL d5fa70b2cf2fd81c9aee7f5fc7d1fbcd1dd0b50cb8c4cfda967b84275811d10fd9a0cc0ca1eb88ec9f3bca065d4eb8bc71a7f69403976058726f1e107ebecd70 +EBUILD tipa-1.3.ebuild 1312 SHA256 77d492aac44981df26fd52f1cbf50f498d54b0e1a2fc925ad9d16e3a1d5ce1fc SHA512 be84a64bed5db5794c5e111bba6a830e572159b4790efba328d4d60859c521cb0dfeb462bc6ba79c74d8b861b1feeecc0fdeffedddad71b9badd08b93f323ddc WHIRLPOOL 3f5e709bdf540683fffee0235de2bda31c906ef6eb8bc3a9ad090c87585703d39e38dc1ffc8cc95248a47596727227fbded101c21692fb81e441a228ed5fbd0e +MISC ChangeLog 2413 SHA256 a9c7473f9bc3e2552d6a19a4448b0a9c9f4fb5d6ebf654ecfe2cf0062ade968c SHA512 7fc4e7b9c3de32c2ce67995744e9c31221fbb9d3c0a6491b0db259ef451f4ed6f60afe5e204efc4f576895c9b019047c602b5196d5d83f8977349090d428fd5a WHIRLPOOL 5202634f169cb69374d1502df833ee74e800a4d5eb4bc0c09ea50045aa77fc0af5abd79fbbf9ffdec769b8844defc4320a3363339b8a5e1dd72e1cc50d92e17b +MISC ChangeLog-2015 1294 SHA256 8ac7c7d5c42bda60cef7b81c9d73e0dd52a5e85c1786995f589e5bf29c79ed06 SHA512 e421600c5a13409f4e126b39a4ff4a5fd5cce0e8bd6e1bd4a39f551976f344e7dd880bd0f97d2db1c941e58bcdd749e0025f1a6a61450a3b9421e48fb648bf8e WHIRLPOOL e8b5037d40150442882012562936ff556cf654497492902edb3598a5e41fba8eed1325d1203eeb076b992ce6ad1aa90039b10f7d798050ae79573210fb25aa2e +MISC metadata.xml 245 SHA256 b3de478821488be2cdc91b078e21c911dc384af882c5c44631a47dfa91516dc8 SHA512 1653777623e2c15e1ce13229e396723b2cc9c214983e0f8592de98c01a31badc6c38c6735ed44f937d145883b43fb6f049af3eddb9ff96b18c96ccf8f67dd690 WHIRLPOOL 701a78fc2214f5fd4bd781477f85e87e716b8d76ea831a0fa4afc8871c4286cc363679f1ff4f844555ad4f77cc7265208b83e805f56c22fc4baeed1062280c08 diff --git a/dev-tex/tipa/metadata.xml b/dev-tex/tipa/metadata.xml new file mode 100644 index 000000000000..13170c3184d8 --- /dev/null +++ b/dev-tex/tipa/metadata.xml @@ -0,0 +1,8 @@ + + + + + tex@gentoo.org + Gentoo TeX Project + + diff --git a/dev-tex/tipa/tipa-1.3.ebuild b/dev-tex/tipa/tipa-1.3.ebuild new file mode 100644 index 000000000000..1ec6a3ee4482 --- /dev/null +++ b/dev-tex/tipa/tipa-1.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="International Phonetic Alphabet package for LaTeX" +HOMEPAGE="http://www.l.u-tokyo.ac.jp/~fkr/" +SRC_URI="http://www.l.u-tokyo.ac.jp/~fkr/tipa/${P}.tar.gz" + +LICENSE="LPPL-1.2" +SLOT="0" +KEYWORDS="amd64 x86" + +IUSE="" + +DEPEND="virtual/latex-base" +RDEPEND="${DEPEND}" + +src_compile() { + # install files under /usr/share/texmf/ + sed -e 's@PREFIX=/usr/local/teTeX/share/texmf@PREFIX=/usr/share/texmf@' \ + -i Makefile || die "sed failed" + + sed -e 's/\($(TEXDIR)\)/$(DESTDIR)\/\1/' \ + -e 's/\($(FONTDIR)\)/$(DESTDIR)\/\1/g' \ + -e 's/\($(MAPDIR)\)/$(DESTDIR)\/\1/' \ + -i Makefile || die "sed failed" + + # removing `mktexlsr` from Makefile (leads to access violation) + sed -e 's/-mktexlsr//' -i Makefile || die "sed failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed." + dodoc doc/*.{tex,sty,bib,bbl} || die "dodoc failed." + + elog "A huge documentation can be found in '/usr/share/doc/${P}'." +} + +pkg_postinst() { + einfo "Running mktexlsr..." + mktexlsr || die "mktexlsr failed" + + elog + elog "Append the line" + elog "p +tipa.map" + elog "to /usr/share/texmf/dvips/config/config.ps" + elog +} + +pkg_postrm() { + einfo "Running mktexlsr..." + mktexlsr || die "mktexlsr failed" +} -- cgit v1.2.3