diff options
| author | root <root@alpha.trunkmasters.com> | 2026-09-15 16:25:10 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-09-15 16:25:10 -0500 |
| commit | 709cefca42ef2a976a9aff8afb44a95ffc545b79 (patch) | |
| tree | 4a0c9baada24031c4187bce895ad742f7f5eb85f /app-xemacs | |
| parent | c012d247f03a893c117c88f73bcf6cb6494dcd22 (diff) | |
| download | baldeagleos-repo-709cefca42ef2a976a9aff8afb44a95ffc545b79.tar.gz baldeagleos-repo-709cefca42ef2a976a9aff8afb44a95ffc545b79.tar.xz baldeagleos-repo-709cefca42ef2a976a9aff8afb44a95ffc545b79.zip | |
Adding metadata
Diffstat (limited to 'app-xemacs')
| -rw-r--r-- | app-xemacs/ebuild-mode/Manifest | 1 | ||||
| -rw-r--r-- | app-xemacs/ebuild-mode/ebuild-mode-1.85.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/app-xemacs/ebuild-mode/Manifest b/app-xemacs/ebuild-mode/Manifest index ea89db77e650..a4f58fc9e8da 100644 --- a/app-xemacs/ebuild-mode/Manifest +++ b/app-xemacs/ebuild-mode/Manifest @@ -1 +1,2 @@ DIST ebuild-mode-1.84.tar.xz 52864 BLAKE2B 915374ea20e9ba9d8a15a009a55ac081f33e0ac56395362a5b326464c25478a4cf3d16ff1144963aa13ca091cb2603d144fbe1c4f61c653a4456cf20c03c61f4 SHA512 d3218b4811e0b1f68f3f8e409e9fee825783923e6a4ad8cdcaa7f39d96580b2e7a5678814fc219992f0fe4c1dd1505c0abc725c2cec8ff251d6fbc2d9af9ef55 +DIST ebuild-mode-1.85.tar.xz 53428 BLAKE2B afc036a88cd82d8c1a6a5cb307b72938a906c62a4cb8ac4dd15d3cbd812751d8bc21a527574a862e7a0211bf349546cb26623894f6e1fb26171f6167582275f7 SHA512 eb09e11e7ad24a51e0fe478079e479ef1fd6760e992e09743b99942fe698a757be854dc10f6f6bd3ffe81040ff67ce19bca271e1aca37989ba4f7368f4d79f35 diff --git a/app-xemacs/ebuild-mode/ebuild-mode-1.85.ebuild b/app-xemacs/ebuild-mode/ebuild-mode-1.85.ebuild new file mode 100644 index 000000000000..041c6a40283b --- /dev/null +++ b/app-xemacs/ebuild-mode/ebuild-mode-1.85.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +inherit optfeature + +if [[ ${PV} = 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/ebuild-mode.git" + EGIT_BRANCH="master" + EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}" + S="${WORKDIR}/${PN}" +else + SRC_URI="https://distfiles.gentoo.org/pub/proj/emacs/${P}.tar.xz" + KEYWORDS="~amd64 ~hppa ~x86" +fi + +DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs" + +LICENSE="GPL-2+" +SLOT="0" + +RDEPEND=">=app-editors/xemacs-21.5.35 + app-xemacs/sh-script + app-xemacs/tty-format" +BDEPEND="${RDEPEND}" + +EMACS="${EPREFIX}/usr/bin/xemacs" +EMACSFLAGS="-batch -q -no-site-file" + +src_compile() { + ${EMACS} ${EMACSFLAGS} \ + -eval "(add-to-list 'load-path nil)" \ + -f batch-byte-compile \ + ebuild-mode.el gentoo-newsitem-mode.el || die + + ${EMACS} ${EMACSFLAGS} \ + -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_test() { + emake check EMACS="${EMACS}" EMACSFLAGS="${EMACSFLAGS}" +} + +src_install() { + insinto /usr/lib/xemacs/site-packages/lisp/${PN} + doins ebuild-mode.{el,elc} ebuild-mode-keywords.el \ + gentoo-newsitem-mode.{el,elc} ebuild-mode-kw-gen.el \ + auto-autoloads.el +} + +pkg_postinst() { + optfeature "directory support" app-xemacs/dired + optfeature "ebuild commands support" sys-apps/portage + optfeature "additional development tools" dev-util/pkgdev + optfeature "ebuild QA utilities" dev-util/pkgcheck +} |
