summaryrefslogtreecommitdiff
path: root/app-emacs/pov-mode
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/pov-mode')
-rw-r--r--app-emacs/pov-mode/Manifest4
-rw-r--r--app-emacs/pov-mode/files/50pov-mode-gentoo.el9
-rw-r--r--app-emacs/pov-mode/metadata.xml9
-rw-r--r--app-emacs/pov-mode/pov-mode-3.3.ebuild29
4 files changed, 51 insertions, 0 deletions
diff --git a/app-emacs/pov-mode/Manifest b/app-emacs/pov-mode/Manifest
new file mode 100644
index 000000000000..f2dbe43a1b13
--- /dev/null
+++ b/app-emacs/pov-mode/Manifest
@@ -0,0 +1,4 @@
+AUX 50pov-mode-gentoo.el 423 BLAKE2B e622ca33adb577987c9d68e1baa2e7415e12cb74866cf64f16f693f06fa886866d3154e68cdbffaf2d929f50ffc8db29ef2c6b356f98f873eced5ee8ff4da518 SHA512 d2d27e6770909ebd08a8c53dbfba3896aca814637c861623746e66097f0f21686507322c734c0a48e15ee281cca0e51a82fff716276f9aec65e5a1419c8dc028
+DIST pov-mode-3.3.tar.gz 65929 BLAKE2B eddaa355b58ad397e377c055fbc06fcdf552fd32057246d11d9b11908635da72c9b19e8b2179fcad54bbe5a5d158a36faf0d42e62b79d4a4e5a57405672dafde SHA512 e705f25f1eb719152dbf5ec17c833f67b4c7be5b1ff9ddab94f67830d9d2caddabc47bcc6ce4864521eedd2728f4b59a6d2c0ddaba83f0b194bb0834d86e9396
+EBUILD pov-mode-3.3.ebuild 615 BLAKE2B 9a69e7ac29c7b44f42380b9e363e339340dac9e2bd052008f903f2df0e135525e1108c63317bef38b4808043674cf83da99fb2267db179bd24babaec5d048f89 SHA512 e2b80cf0fba25fc171d4e3f6c2f07ba65a091470a630cd8efaf1cd19ca4070dc6e7db1f22131c45f4945077504be4fa05ba4a62f02eeacdb211059e7ba174ddd
+MISC metadata.xml 282 BLAKE2B 432e60a3b04def9f566fde3852011e006c0d578c72c42115734d1af5c128440fcee68134c8f891baad437e64a8d61fbbac49e70a35ed4f6f85641e888d3a2547 SHA512 1838e22e1f5b849b816a05d1b25bd81333c8cf67ceb996177e05ba7a555b8e0e307e62cb53e6f1217f4216823e2fecf050e85437678503d60e10c6b2d5303072
diff --git a/app-emacs/pov-mode/files/50pov-mode-gentoo.el b/app-emacs/pov-mode/files/50pov-mode-gentoo.el
new file mode 100644
index 000000000000..0489820ec5f6
--- /dev/null
+++ b/app-emacs/pov-mode/files/50pov-mode-gentoo.el
@@ -0,0 +1,9 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'pov-mode "pov-mode" "PoVray scene file mode" t)
+(add-to-list 'auto-mode-alist '("\\.pov\\'" . pov-mode))
+;;(add-to-list 'auto-mode-alist '("\\.inc\\'" . pov-mode))
+
+;; Override customization variables setting various directories.
+(setq pov-include-dir "/usr/share/povray/include")
+(setq pov-insertmenu-location "@SITEETC@/InsertMenu")
+(setq pov-icons-location "@SITEETC@/")
diff --git a/app-emacs/pov-mode/metadata.xml b/app-emacs/pov-mode/metadata.xml
new file mode 100644
index 000000000000..c918cdef9591
--- /dev/null
+++ b/app-emacs/pov-mode/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<stabilize-allarches/>
+</pkgmetadata>
diff --git a/app-emacs/pov-mode/pov-mode-3.3.ebuild b/app-emacs/pov-mode/pov-mode-3.3.ebuild
new file mode 100644
index 000000000000..4251766d372c
--- /dev/null
+++ b/app-emacs/pov-mode/pov-mode-3.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Emacs mode for povray"
+HOMEPAGE="http://gitorious.org/pov-mode/"
+SRC_URI="http://gitorious.org/${PN}/${PN}/archive-tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-3 FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="sys-apps/texinfo"
+
+S="${WORKDIR}/${PN}-${PN}"
+SITEFILE="50${PN}-gentoo.el"
+ELISP_REMOVE="${PN}-pkg.el ${PN}.info"
+ELISP_TEXINFO="info/${PN}.texi"
+DOCS="README"
+
+src_install() {
+ elisp_src_install
+ insinto ${SITEETC}/${PN}
+ doins *.xpm
+ doins -r InsertMenu/
+}