summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-01-19 17:31:24 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-01-19 17:31:24 +0300
commitd29795d2659ade017a3d5148703d3af25e69334d (patch)
tree405eb347649a88623d0d967d55ed22c162c4ec60 /dev-tex
parentdev-tex/floatflt: port to EAPI=7 (diff)
downloadgentoo-d29795d2659ade017a3d5148703d3af25e69334d.tar.gz
gentoo-d29795d2659ade017a3d5148703d3af25e69334d.tar.bz2
gentoo-d29795d2659ade017a3d5148703d3af25e69334d.zip
dev-tex/slatex: port to EAPI=7
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/slatex/slatex-20090928_p20180415.ebuild9
1 files changed, 5 insertions, 4 deletions
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"
}