public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-tex/tipa/
@ 2019-11-09 23:01 Aaron Bauman
  0 siblings, 0 replies; only message in thread
From: Aaron Bauman @ 2019-11-09 23:01 UTC (permalink / raw
  To: gentoo-commits

commit:     4bfc4c67407892b960b16c5ba4ef901c7a3260f6
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 23:00:56 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 23:01:14 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bfc4c67

dev-tex/tipa: bump EAPI and stuff

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 dev-tex/tipa/tipa-1.3.ebuild | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/dev-tex/tipa/tipa-1.3.ebuild b/dev-tex/tipa/tipa-1.3.ebuild
index 6d68b16c4c9..02b80da6326 100644
--- a/dev-tex/tipa/tipa-1.3.ebuild
+++ b/dev-tex/tipa/tipa-1.3.ebuild
@@ -1,40 +1,39 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
 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"
+HOMEPAGE="https://www.l.u-tokyo.ac.jp/~fkr/"
+SRC_URI="https://www.l.u-tokyo.ac.jp/~fkr/tipa/${P}.tar.gz"
 
-LICENSE="LPPL-1.2"
-SLOT="0"
 KEYWORDS="amd64 x86"
 
+LICENSE="LPPL-1.2"
+SLOT="0"
 IUSE=""
 
 DEPEND="virtual/latex-base"
 RDEPEND="${DEPEND}"
 
-src_compile() {
+src_prepare() {
 	# install files under /usr/share/texmf/
 	sed -e 's@PREFIX=/usr/local/teTeX/share/texmf@PREFIX=/usr/share/texmf@' \
-		-i Makefile || die "sed failed"
+		-i Makefile || die "sed #1 failed"
 
 	sed -e 's/\($(TEXDIR)\)/$(DESTDIR)\/\1/' \
 		-e 's/\($(FONTDIR)\)/$(DESTDIR)\/\1/g' \
 		-e 's/\($(MAPDIR)\)/$(DESTDIR)\/\1/' \
-		-i Makefile || die "sed failed"
+		-i Makefile || die "sed #2 failed"
 
 	# removing `mktexlsr` from Makefile (leads to access violation)
-	sed -e 's/-mktexlsr//' -i Makefile || die "sed failed"
+	sed -e 's/-mktexlsr//' -i Makefile || die "sed #3 failed"
+	default
 }
 
 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}'."
+	emake DESTDIR="${D}" install
+	dodoc doc/*.{tex,sty,bib,bbl}
 }
 
 pkg_postinst() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-10 10:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-09 23:01 [gentoo-commits] repo/gentoo:master commit in: dev-tex/tipa/ Aaron Bauman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox