diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-tex/tipa | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-tex/tipa')
-rw-r--r-- | dev-tex/tipa/Manifest | 1 | ||||
-rw-r--r-- | dev-tex/tipa/metadata.xml | 5 | ||||
-rw-r--r-- | dev-tex/tipa/tipa-1.3.ebuild | 53 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-tex/tipa/Manifest b/dev-tex/tipa/Manifest new file mode 100644 index 000000000000..8ec759954b40 --- /dev/null +++ b/dev-tex/tipa/Manifest @@ -0,0 +1 @@ +DIST tipa-1.3.tar.gz 3099058 SHA256 a07e3b3c7bab4c84d01faf1800de4c2a45b0e09a71c9eb595e24f187b6b28807 SHA512 b07b445e9760603f991c7ca4cd1c3358b071e21975a5e051c6ba1186cda2880c80cd874e8cee285a6b7a9ca890bc35e4e4285c12e22cdfa474920c55cebe64ed WHIRLPOOL d5fa70b2cf2fd81c9aee7f5fc7d1fbcd1dd0b50cb8c4cfda967b84275811d10fd9a0cc0ca1eb88ec9f3bca065d4eb8bc71a7f69403976058726f1e107ebecd70 diff --git a/dev-tex/tipa/metadata.xml b/dev-tex/tipa/metadata.xml new file mode 100644 index 000000000000..ba6a8a8800d5 --- /dev/null +++ b/dev-tex/tipa/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>tex</herd> +</pkgmetadata> diff --git a/dev-tex/tipa/tipa-1.3.ebuild b/dev-tex/tipa/tipa-1.3.ebuild new file mode 100644 index 000000000000..3c64797900d1 --- /dev/null +++ b/dev-tex/tipa/tipa-1.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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" +} |