summaryrefslogtreecommitdiff
path: root/app-emacs/apache-mode
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /app-emacs/apache-mode
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'app-emacs/apache-mode')
-rw-r--r--app-emacs/apache-mode/Manifest1
-rw-r--r--app-emacs/apache-mode/apache-mode-2.2.0-r1.ebuild26
-rw-r--r--app-emacs/apache-mode/files/50apache-mode-gentoo.el8
-rw-r--r--app-emacs/apache-mode/metadata.xml12
4 files changed, 47 insertions, 0 deletions
diff --git a/app-emacs/apache-mode/Manifest b/app-emacs/apache-mode/Manifest
new file mode 100644
index 000000000000..4cd9067ced85
--- /dev/null
+++ b/app-emacs/apache-mode/Manifest
@@ -0,0 +1 @@
+DIST apache-mode-2.2.0.tar.gz 16077 BLAKE2B 25b153dde0488febd361463b0f43207bd10680f7db2f28f32aa1955f9edc5a07c501646580afd124c7787da3283aa2ee4a2209bfd57f68bf73d5ad07fac41ca7 SHA512 3b309291813b309215250fc1ae1ff206df6474981302a145c305adebb6ffe6a20338b9d8fd5fef1ba491a6bd2427d372178f02d90af214dd24d389c574789aa5
diff --git a/app-emacs/apache-mode/apache-mode-2.2.0-r1.ebuild b/app-emacs/apache-mode/apache-mode-2.2.0-r1.ebuild
new file mode 100644
index 000000000000..06d273d0dc26
--- /dev/null
+++ b/app-emacs/apache-mode/apache-mode-2.2.0-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Major mode for editing Apache configuration files"
+HOMEPAGE="https://github.com/emacs-php/apache-mode/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/emacs-php/${PN}"
+else
+ SRC_URI="https://github.com/emacs-php/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="amd64 ~ppc ~riscv x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+DOCS=( README.org )
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/apache-mode/files/50apache-mode-gentoo.el b/app-emacs/apache-mode/files/50apache-mode-gentoo.el
new file mode 100644
index 000000000000..c8ceb9f8c080
--- /dev/null
+++ b/app-emacs/apache-mode/files/50apache-mode-gentoo.el
@@ -0,0 +1,8 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'apache-mode "apache-mode" "autoloaded" t)
+(add-to-list 'auto-mode-alist '("\\.htaccess$" . apache-mode))
+(add-to-list 'auto-mode-alist '("httpd\\.conf$" . apache-mode))
+(add-to-list 'auto-mode-alist '("srm\\.conf$" . apache-mode))
+(add-to-list 'auto-mode-alist '("access\\.conf$" . apache-mode))
+(add-to-list 'auto-mode-alist '("apache[12]\?\\.conf$" . apache-mode))
+(add-to-list 'auto-mode-alist '("commonapache[12]\?\\.conf$" . apache-mode))
diff --git a/app-emacs/apache-mode/metadata.xml b/app-emacs/apache-mode/metadata.xml
new file mode 100644
index 000000000000..66e56061e2dc
--- /dev/null
+++ b/app-emacs/apache-mode/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<upstream>
+ <remote-id type="github">emacs-php/apache-mode</remote-id>
+</upstream>
+<stabilize-allarches/>
+</pkgmetadata>