From d29795d2659ade017a3d5148703d3af25e69334d Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Sun, 19 Jan 2020 17:31:24 +0300 Subject: dev-tex/slatex: port to EAPI=7 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Mikle Kolyada --- dev-tex/slatex/slatex-20090928_p20180415.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'dev-tex') diff --git a/dev-tex/slatex/slatex-20090928_p20180415.ebuild b/dev-tex/slatex/slatex-20090928_p20180415.ebuild index a74acfadcc98..afcfca95701d 100644 --- a/dev-tex/slatex/slatex-20090928_p20180415.ebuild +++ b/dev-tex/slatex/slatex-20090928_p20180415.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 # for updating the texmf database, id est latex-package_rehash inherit latex-package -DESCRIPTION="SLaTeX is a Scheme program allowing you to write Scheme in your (La)TeX source" +DESCRIPTION="A Scheme program allowing you to write Scheme in your (La)TeX source" HOMEPAGE="http://www.ccs.neu.edu/home/dorai/slatex/slatxdoc.html" SRC_URI="http://www.ccs.neu.edu/home/dorai/slatex/${PN}.tar.bz2 -> ${P}.tar.bz2" @@ -19,10 +19,11 @@ DEPEND="${RDEPEND} dev-scheme/scmxlate" S="${WORKDIR}/${PN}" + TARGET_DIR="/usr/share/${PN}" src_prepare() { - eapply_user + default sed "s:\"/home/dorai/.www/slatex/slatex.scm\":\"${TARGET_DIR}/slatex.scm\":" \ -i scmxlate-slatex-src.scm || die "sed failed" } -- cgit v1.2.3-65-gdbad