diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-05 11:54:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-05 11:54:04 +0100 |
commit | e8c80f80fd116cc679f261d8bc6ee6c9bfc3f0a0 (patch) | |
tree | fdb4ba25c4f5599b0ea6a964a1bd990b216c7154 /app-emacs/ess/ess-18.10.2-r3.ebuild | |
parent | 3f5490a92f684d302af15210584c70ed8ea3fab4 (diff) |
gentoo auto-resync : 05:10:2023 - 11:54:04
Diffstat (limited to 'app-emacs/ess/ess-18.10.2-r3.ebuild')
-rw-r--r-- | app-emacs/ess/ess-18.10.2-r3.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-emacs/ess/ess-18.10.2-r3.ebuild b/app-emacs/ess/ess-18.10.2-r3.ebuild new file mode 100644 index 000000000000..bfc3a549235d --- /dev/null +++ b/app-emacs/ess/ess-18.10.2-r3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp readme.gentoo-r1 + +DESCRIPTION="Emacs Speaks Statistics" +HOMEPAGE="https://ess.r-project.org/" +SRC_URI="https://ess.r-project.org/downloads/ess/${P}.tgz" + +LICENSE="GPL-2+ GPL-3+ Texinfo-manual" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" +RESTRICT="test" + +BDEPEND="app-text/texi2html + virtual/latex-base" + +PATCHES=( "${FILESDIR}"/${P}-emacs-28.patch ) +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + default + sed -i -e 's/font-lock-reference-face/font-lock-constant-face/g' \ + lisp/*.el || die +} + +src_compile() { + default +} + +src_install() { + emake PREFIX="${ED}/usr" \ + LISPDIR="${ED}${SITELISP}/ess" \ + ETCDIR="${ED}${SITEETC}/ess" \ + DOCDIR="${ED}/usr/share/doc/${PF}" \ + install + + # Version 18* doesn't install *.el files any more #685978 + elisp-install ${PN} lisp/*.{el,elc} lisp/obsolete/*.{el,elc} + elisp-make-site-file "${SITEFILE}" ${PN} "(load \"ess-autoloads\" nil t)" + + # Most documentation is installed by the package's build system. + dodoc ChangeLog *NEWS doc/TODO + newdoc doc/ChangeLog ChangeLog-doc + + local DOC_CONTENTS="\ + Please see /usr/share/doc/${PF} for the complete documentation." + readme.gentoo_create_doc +} |