dev-scheme/kawa: fix install phase

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
Maciej Barć 2021-10-05 02:37:06 +02:00
parent 4a58212bf4
commit fb9c65f1b8
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A

View File

@ -3,6 +3,8 @@
EAPI=7 EAPI=7
JAVA_PKG_IUSE="source"
inherit autotools java-pkg-2 inherit autotools java-pkg-2
DESCRIPTION=" Java-based Scheme system & Language Framework" DESCRIPTION=" Java-based Scheme system & Language Framework"
@ -68,3 +70,21 @@ src_configure() {
src_compile() { src_compile() {
emake -j1 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
}