From fb9c65f1b8187201afba290a911246c181d59f22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Tue, 5 Oct 2021 02:37:06 +0200 Subject: [PATCH] dev-scheme/kawa: fix install phase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Maciej Barć --- dev-scheme/kawa/kawa-3.1.1.ebuild | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/dev-scheme/kawa/kawa-3.1.1.ebuild b/dev-scheme/kawa/kawa-3.1.1.ebuild index e07387f..93fd1ce 100644 --- a/dev-scheme/kawa/kawa-3.1.1.ebuild +++ b/dev-scheme/kawa/kawa-3.1.1.ebuild @@ -3,6 +3,8 @@ EAPI=7 +JAVA_PKG_IUSE="source" + inherit autotools java-pkg-2 DESCRIPTION=" Java-based Scheme system & Language Framework" @@ -68,3 +70,21 @@ src_configure() { src_compile() { emake -j1 } + +src_install() { + use source && java-pkg_dosrc ./kawa/* ./gnu/* + java-pkg_newjar ./lib/kawa.jar + + java-pkg_dolauncher "kawa" --main kawa.repl + java-pkg_dolauncher "qexo" --main kawa.repl --pkg_args \ "--xquery" + use servlets && + java-pkg_dolauncher "kawa-cgi-servlet" --main gnu.kawa.servlet.CGIServletWrapper + use jemacs && + java-pkg_dolauncher "jemacs" --main gnu.jemacs.lang.ELisp + + einstalldocs + doinfo doc/kawa.info* + cp doc/kawa.man doc/kawa.1 || die + cp doc/qexo.man doc/qexo.1 || die + doman doc/*.1 +}