diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-09-12 18:57:22 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-09-12 19:00:44 +0200 |
commit | 5cfbc8649447c9f6b568ec01e43a735d80229c78 (patch) | |
tree | b4993992a48442f698f41ee3d05871caf7479a88 /app-xemacs/ebuild-mode/ebuild-mode-1.67.ebuild | |
parent | app-emacs/ebuild-mode: add 1.67 (diff) | |
download | gentoo-5cfbc8649447c9f6b568ec01e43a735d80229c78.tar.gz gentoo-5cfbc8649447c9f6b568ec01e43a735d80229c78.tar.bz2 gentoo-5cfbc8649447c9f6b568ec01e43a735d80229c78.zip |
app-xemacs/ebuild-mode: add 1.67
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-xemacs/ebuild-mode/ebuild-mode-1.67.ebuild')
-rw-r--r-- | app-xemacs/ebuild-mode/ebuild-mode-1.67.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-xemacs/ebuild-mode/ebuild-mode-1.67.ebuild b/app-xemacs/ebuild-mode/ebuild-mode-1.67.ebuild new file mode 100644 index 000000000000..db4d01173c23 --- /dev/null +++ b/app-xemacs/ebuild-mode/ebuild-mode-1.67.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature + +DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs" +SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" + +RDEPEND=">=app-editors/xemacs-21.4.20-r5 + app-xemacs/sh-script" +BDEPEND="${RDEPEND}" + +src_compile() { + local XEMACS="${EPREFIX}/usr/bin/xemacs" + + "${XEMACS}" -batch -q --no-site-file \ + -eval "(add-to-list 'load-path nil)" \ + -f batch-byte-compile \ + ebuild-mode.el gentoo-newsitem-mode.el || die + + "${XEMACS}" -batch -q --no-site-file \ + -eval "(setq autoload-package-name \"${PN}\")" \ + -eval "(setq generated-autoload-file \"${S}/auto-autoloads.el\")" \ + -l autoload -f batch-update-autoloads \ + ebuild-mode.el gentoo-newsitem-mode.el || die +} + +src_install() { + insinto /usr/share/xemacs/site-packages/lisp/${PN} + doins *.el *.elc +} + +pkg_postinst() { + optfeature "ebuild commands support" sys-apps/portage + optfeature "additional development tools" dev-util/pkgdev + optfeature "ebuild QA utilities" dev-util/pkgcheck +} |