From 9aa80713372911cec499b3adb2cd746790920916 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 29 Jun 2021 10:15:54 +0100 Subject: gentoo resync : 29.06.2021 --- dev-lang/mozart/mozart-2.0.1.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'dev-lang/mozart/mozart-2.0.1.ebuild') diff --git a/dev-lang/mozart/mozart-2.0.1.ebuild b/dev-lang/mozart/mozart-2.0.1.ebuild index d469901f25b6..510d6729b40b 100644 --- a/dev-lang/mozart/mozart-2.0.1.ebuild +++ b/dev-lang/mozart/mozart-2.0.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit cmake java-pkg-2 java-ant-2 +inherit cmake elisp-common java-pkg-2 java-ant-2 PATCHSET_VER="1" @@ -30,6 +30,8 @@ DEPEND="${RDEPEND} dev-lang/scala:2.12 test? ( dev-cpp/gtest:= )" +SITEFILE="50${PN}-gentoo.el" + S="${WORKDIR}/${PN}2-${PV}" src_prepare() { @@ -71,12 +73,19 @@ src_install() { dolib.so "${BUILD_DIR}"/vm/vm/main/libmozartvm.so dolib.so "${BUILD_DIR}"/vm/boostenv/main/libmozartvmboost.so + + if use emacs; then + elisp-install ${PN} "${S}"/opi/emacs/*.el + elisp-site-file-install "${FILESDIR}"/"${SITEFILE}" \ + || die "elsip-site-file-install failed" + fi } pkg_postinst() { if use emacs; then xdg_icon_cache_update xdg_desktop_database_update + elisp-site-regen fi } @@ -84,5 +93,6 @@ pkg_postrm() { if use emacs; then xdg_icon_cache_update xdg_desktop_database_update + elisp-site-regen fi } -- cgit v1.2.3