1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit elisp readme.gentoo-r1
8 DESCRIPTION="Elisp client for the LysKOM conference system"
9 HOMEPAGE="http://www.lysator.liu.se/lyskom/klienter/emacslisp/index.en.html"
10 # snapshot of git://git.lysator.liu.se/${PN}/${PN}.git
11 SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
15 KEYWORDS="~amd64 ~sparc ~x86"
19 ELISP_PATCHES="${PN}-0.48_p20161231-no-git.patch"
20 SITEFILE="50${PN}-gentoo.el"
25 sed -i "s/@@DATE@@/${d:0:4}-${d:4:2}-${d:6:2}/" src/Makefile || die
29 emake -C src EMACS=emacs
30 # Info page is in Swedish only
31 use l10n_sv && emake -C doc elisp-client
35 elisp-install ${PN} src/lyskom.{el,elc}
36 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
37 dodoc src/{ChangeLog*,README,TODO} doc/NEWS*
38 use l10n_sv && doinfo doc/elisp-client
40 DOC_CONTENTS="If you prefer an English language environment, add the
41 following line to your ~/.emacs file:
42 \n\t(setq-default kom-default-language 'en)"
43 readme.gentoo_create_doc