summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-08-15 23:49:13 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-08-15 23:49:13 +0200
commit64f92fba38318f1d6f7ad870fe2932d4958f7249 (patch)
treea52bb8b577fa912abc7e5f140b90d3795c50cf95 /app-emacs/nginx-mode
parentapp-office/libreoffice: fix build w/ gpgme 1.18.0, add which BDEPEND (diff)
downloadgentoo-64f92fba38318f1d6f7ad870fe2932d4958f7249.tar.gz
gentoo-64f92fba38318f1d6f7ad870fe2932d4958f7249.tar.bz2
gentoo-64f92fba38318f1d6f7ad870fe2932d4958f7249.zip
app-emacs/nginx-mode: new package; add version 1.1.9
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/nginx-mode')
-rw-r--r--app-emacs/nginx-mode/Manifest1
-rw-r--r--app-emacs/nginx-mode/files/50nginx-mode-gentoo.el2
-rw-r--r--app-emacs/nginx-mode/metadata.xml13
-rw-r--r--app-emacs/nginx-mode/nginx-mode-1.1.9.ebuild22
4 files changed, 38 insertions, 0 deletions
diff --git a/app-emacs/nginx-mode/Manifest b/app-emacs/nginx-mode/Manifest
new file mode 100644
index 000000000000..fab6b69bfc87
--- /dev/null
+++ b/app-emacs/nginx-mode/Manifest
@@ -0,0 +1 @@
+DIST nginx-mode-1.1.9.tar.gz 3290 BLAKE2B 7a20632ed860e1e4f0f379f8c489bdb3f6a1eb09cf790ca4124dd08b631a101796fb96efc73672cc59b812c0136015d955a9d6bab2ccb223d777f299dd1c04c7 SHA512 a209b83f39696ccea8d45b0d90a25b4cdb56f85f1288ca9a7bf83b24a7d69ae2a1caea5e71f7c62ef693f8aac3e74e5dce7761b69ded7da037904df1c9d43536
diff --git a/app-emacs/nginx-mode/files/50nginx-mode-gentoo.el b/app-emacs/nginx-mode/files/50nginx-mode-gentoo.el
new file mode 100644
index 000000000000..a31b9badce3c
--- /dev/null
+++ b/app-emacs/nginx-mode/files/50nginx-mode-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "nginx-mode-autoloads" nil t)
diff --git a/app-emacs/nginx-mode/metadata.xml b/app-emacs/nginx-mode/metadata.xml
new file mode 100644
index 000000000000..6ccd7c7d3497
--- /dev/null
+++ b/app-emacs/nginx-mode/metadata.xml
@@ -0,0 +1,13 @@
+<?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>
+ <bugs-to>https://github.com/ajc/nginx-mode/issues/</bugs-to>
+ <remote-id type="github">ajc/nginx-mode</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emacs/nginx-mode/nginx-mode-1.1.9.ebuild b/app-emacs/nginx-mode/nginx-mode-1.1.9.ebuild
new file mode 100644
index 000000000000..bf59ccaa2cc4
--- /dev/null
+++ b/app-emacs/nginx-mode/nginx-mode-1.1.9.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Emacs editing mode for Nginx config files"
+HOMEPAGE="http://github.com/ajc/nginx-mode"
+SRC_URI="https://github.com/ajc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ elisp_src_compile
+ elisp-make-autoload-file
+}