summaryrefslogtreecommitdiff
path: root/app-doc/elisp-manual
diff options
context:
space:
mode:
Diffstat (limited to 'app-doc/elisp-manual')
-rw-r--r--app-doc/elisp-manual/Manifest25
-rw-r--r--app-doc/elisp-manual/elisp-manual-18.1.03.ebuild36
-rw-r--r--app-doc/elisp-manual/elisp-manual-19.2.4.2.ebuild36
-rw-r--r--app-doc/elisp-manual/elisp-manual-20.2.5.ebuild36
-rw-r--r--app-doc/elisp-manual/elisp-manual-21.2.8-r2.ebuild36
-rw-r--r--app-doc/elisp-manual/elisp-manual-22.2.9.ebuild33
-rw-r--r--app-doc/elisp-manual/elisp-manual-23.4.ebuild33
-rw-r--r--app-doc/elisp-manual/elisp-manual-24.5.ebuild33
-rw-r--r--app-doc/elisp-manual/elisp-manual-25.3.ebuild27
-rw-r--r--app-doc/elisp-manual/files/elisp-manual-22.2.9-direntry.patch19
-rw-r--r--app-doc/elisp-manual/files/elisp-manual-24.5-direntry.patch22
-rw-r--r--app-doc/elisp-manual/files/elisp-manual-25.3-direntry.patch22
-rw-r--r--app-doc/elisp-manual/metadata.xml28
13 files changed, 386 insertions, 0 deletions
diff --git a/app-doc/elisp-manual/Manifest b/app-doc/elisp-manual/Manifest
new file mode 100644
index 000000000000..b224546077dd
--- /dev/null
+++ b/app-doc/elisp-manual/Manifest
@@ -0,0 +1,25 @@
+AUX elisp-manual-22.2.9-direntry.patch 528 BLAKE2B af22a56dffd52ea5fa7dd6e6f5867047f9644b28a13f9b05107ff0d1a586664cc53f6bb3f620b5ff9ec26a6c05007f8a13e4b7ab3420a208fce6e4c6c83a330c SHA512 e54872caae13a26fb03b59f9e0df4450d7ea53501b4bfec094b24aa05a165b06040d8218834d9626d454e6fe790ae40702c2e0d5c0277dd50520dd5d06f886ad
+AUX elisp-manual-24.5-direntry.patch 471 BLAKE2B aef00ba84bd30f8d8831d6530ed2b417b2259a31fe109d04163bbdc9768b7dc55631c7dddacc48fba3ed357648b4da3d01543905c8d41edc60f4c7e05ac00574 SHA512 22572dc6ec4274af69838885c7a8c0e0f70d3add3371113bdf0d206660e8eb5cdd6df1a4781d074bc80d80c0606436bd105caa7e6575f51d07a7722266114b2e
+AUX elisp-manual-25.3-direntry.patch 490 BLAKE2B 36c2b47087ee09bc6981513ac234541df4fcfa0373c496bfd1671f06626b50e5727df43c7043d7e6c2f4b435cfb8265b3439c65236f7f0ecc890f5e1f283cf7c SHA512 7909ebe681c34e85dd0805b73668754216fe3a1ac8aff03755814bc097dbe422b436d8e3a66335402b8febc5b1416b999bbda3058e2b7d61bd59525caf51dceb
+DIST elisp-manual-18-1.03.tar.gz 1246385 BLAKE2B af23fd63bf56d5b76785e929aa05e628143d33baf03c30746ee18e8c278113c2874fbe2689c1b361a2d9efd6a92aa6c39a92317f2f36f282f313afa1fc4876bd SHA512 5ba37650482a34918924beafdf214e8beb9adb5e94976020fb8a231d6d5a2dfb4ceb0659172412b193415634a93929462aba4109ebbbef31feca96397a3b2c30
+DIST elisp-manual-18.1.03-patches.tar.gz 2518 BLAKE2B 30897c52417498f1d55e42ce2d95b058b3505545be973bcedbe7946a375184b4e0ac934df6a6557656eb9186dec31362130791eda64f451c0e6cd76060b84a34 SHA512 649ab685e703d4986195d72145365bf5f8f15e818fa79c1c71bb99d538c7b2a10f1938c3aa4ec2c32b8b98d92192c632db8d4a6ad76ba7eb62ffa83129b37075
+DIST elisp-manual-19-2.4.2.tar.gz 1937099 BLAKE2B af02d71bba5d778cf4a5be9263a6e6e318e348bc7c4514403da40c5201e052ec8c9e9bb2d25b2bf90be400db12a65c11f0716ef92ae12721f76338962b332c88 SHA512 5f30408a22d853bf56b01c9355e36edd2272306701120eca0453f1fe9466e3e430e90f4a241c06e2dd53e3c1443ef1882104cc5edfb1ac6a0df0e88394390545
+DIST elisp-manual-19.2.4.2-patches.tar.gz 1341 BLAKE2B 4e05ed8ca9c7cb25a683cf97cc50f52e7afc09e704789a811d952ef6cb2c5dc4c7ccd718c11160d5cde11adae2aa731d5d3864fc14d10ce049c0f5611237c04b SHA512 414ecde3c057e8b893221c2d9ad6b516a724f6337b7a1a5485d9cb3d4a6277164ae401e06fdec54136c83a82fa08258ff3017d7d070d3d2b5cefe9d91a3086c0
+DIST elisp-manual-20-2.5.tar.gz 2186099 BLAKE2B 0aa207b13a622b9461d1920ea4ac7512350dff6529b0a51ec92a7cd9639a3d4a777d09c517d14df14e921d5bfcbed8a44133394fea1726eb248fb27b2eea4166 SHA512 12d9a7e14bc9d73ba146e7be5122c4b24a886e5c625b4d6f4d291e2586ed6daa0ceb0895b6ebee7ed4ba7c69807a8e8b8fe7b173ac8d60a3ee38a042e9f39bee
+DIST elisp-manual-20.2.5-patches.tar.gz 1837 BLAKE2B 8237d4883e28e779f31a9c6a98f2296039023291117b6a49fcf2164a33300ce35c2ba9f752666bc41e6d067afd6a61d418ecb02c9df4d4c75a663ad850ac6b21 SHA512 a66a8503532562e50ebfef483b966fbda126c0f26db6fc4da07a73ea39bd1ff3df443dcbce256e5c3f7d08703fd3b05345912fe033b91218977aaf76f29290f0
+DIST elisp-manual-21-2.8.tar.gz 2455995 BLAKE2B 83b4ad0f149fe75424b7c7f270bcfd2e36be8b61f26c21cf1b5cb1e05d2e6948885c83ea40275e4645c49999346318eb8bd2a5a65b3c4648c533367537b2e6dd SHA512 904007f879410f11c2728c55cae497521316aa9148bd2e2455e9e84a0c7e1017969cdd8bb6b36c899d82b06ec5596295c5b2fa19912691e5677cece29d5f5baa
+DIST elisp-manual-21.2.8-patches.tar.gz 1736 BLAKE2B 023340170615f9e2e072db4db73e3d0f5d5a1ecbc931c999175d0013173db716d69279321a5769d8856ff1dda5f8b09722b27221569300703c77deaa02c7075d SHA512 d06d80c1a1dcddefc434aa3690a7e05ace7c031189cccf43b0eb939236e61d9c10a8da3bf46798e08d7ff204b83fc108f953f248405944457f9f9596269e3fcd
+DIST elisp-manual-22-2.9.tar.bz2 669809 BLAKE2B b11c2b48672537352e1fbdbfabe24ddb963f17a39df113e15742d613264f49425f95d06319919b59da98f5ac9e89c942f572de2a902846973c6c087e1330b981 SHA512 386020d0ba1f26985c5a31597a96c64eef358a35f409ec7ec6616ac70b661220c692e2b7c2dae47525e7389d058659c6a4fb0a6d44fea12cb5dd5c877049d56e
+DIST elisp-manual-23.4-patches-1.tar.xz 1140 BLAKE2B 9e2ef06022acde6a3022c51aec2221cd100a295e65051b5537627aecf0050bb1b415a3aa9f381cd441a7cac1b9c439dbd5c705cca33ccb591de5f58cf0ad5bc4 SHA512 d72455ee50505411a04752ab0fef44dee13fe90163ab1dfb9b74f46de741fd2730205d33d1f8cd912647eb537bb01fe6252d6717bf0068600dd08efdb0363dc3
+DIST elisp-manual-23.4.tar.xz 686868 BLAKE2B 8a46615227c0693568021a9f065c3546465c2f148c49ef2bd4ef0b47e71d122659203bd4a96c14fdd1f83cb7eb7b410656d593efc51e3743b229c6fd5dabeca5 SHA512 bf71dd18cdce1dce8880b9e67276d9cb71ef54023b5ef2f6555c85c1ffe9b9b8f0d7434227643564c9403fe484bfaeac10ea8911f9c53a9acb3d502eddc1d62d
+DIST elisp-manual-24.5.tar.xz 766300 BLAKE2B a93293646a4ddf8d9f9d3b7e1179178427c5cbf50e1ecf164158a5a0c5332b6bc49b1b91b5b6d2064db973f71dc104a94d9c0389589382ca80e63edf7696d14d SHA512 205d48eff9a044883e433e86ec0add188727300582d82deb0b0507327098a8038fef8803457e88fd0c5c9523fc4b621704507bc463409ee30f7b046251363e65
+DIST elisp-manual-25.3.tar.xz 806544 BLAKE2B 15d98b6dcc104dfeba66a3dd61489957a0339dfe43c7b09196814e48c7ff525930881805c0a6fb325ba66dc60fd5390b82d2c116ee08413b234e905c737bbe54 SHA512 85da76efef7645e13633a77fef8e775f42ebc8afad6eb5ab4bc839a12d1c1708430beaba8b89c152049700aa580abf1eaea539f2784a74486df380a59c3d6528
+EBUILD elisp-manual-18.1.03.ebuild 723 BLAKE2B d6001867a1b4848ed8e1555ca2b20bab40564950dd9dfb92b8f7a952fd0d229a2dbd292395ab624701e7696cd8514bc352f905f333a0febbf3ae1d08351bfc5d SHA512 5366673290301eba76b6777d2c134bf76238c2b9abe3eea3a37a01e7a8fc1a7db1d2b651d438a3247b6f6f70f9e0576dfb0a84c7dab2a9b15239f3704a95b576
+EBUILD elisp-manual-19.2.4.2.ebuild 727 BLAKE2B b9535938e38bb0c9aa0257a7276b6551d8e7c5417d7154e2b3eea8bb89f4125de486ffddb39e402b86e770287ed9f06ffd894f31099acf103abd5c97a9a24d71 SHA512 4c965985be3f484fa71dffcbafaa0f794c14824ab7ff5ef4e77e433de55540f5bbb56c5d9836dc39a92dcd2ce297453d77cafbe710ffe12cf0715a5c13b8054b
+EBUILD elisp-manual-20.2.5.ebuild 727 BLAKE2B 025100948a53c32770ff6b459c3bc8de28accf4e70e2fc395555c466dec2121a6467d844090470e95f7828d5e8435b24f83c8cf676fdfe166b07f4b4e2f23ae3 SHA512 91e3fe85384fe049567b3086868608c834a191db870aec3c2fe1fca9533a9cb498a4db84bb706ceaf91182712162bf15bd951b3c669ad1549331e7c4b9014838
+EBUILD elisp-manual-21.2.8-r2.ebuild 705 BLAKE2B e1b2edfa5ff611dddac3f597f45518f14b3a5ceac3916e10ef221da33650a071506c0e181365606c93a876cbab59726cd006573d90b503ad1b8ae78ac4387a2f SHA512 c9c5ac34aec1508b1e07a1008b34ce5de8e4d3ee8bd662604c20216ad0bdd40fdd7be4134b4c14433a573a3d863ce59fadd895d94bb09b5295556792ad834b25
+EBUILD elisp-manual-22.2.9.ebuild 632 BLAKE2B 486878c6e41d64774a184f9b7d43c205472239672b72316f422923cc84f643839a4042fd8d1a79675cc4a9e236fae0fb1138d0d13da632dfc7c9a3c8e6a33e76 SHA512 3fd5bc800c02308953ec8e61b8ae849bac320782bd084ab381c5105c156eee1b9cbf9e340cbb1608c08587c70c3ec80f057c6b2435e407b3f429c24f8c21ee64
+EBUILD elisp-manual-23.4.ebuild 670 BLAKE2B 35f9fff50ddf9bb6b1cb8f64625e251429da22ffbf5f2d3296bdf187b87c0eee9bfa72fe9400c5647a497812ea80ed8638920c9aa811baad8b3179220d47d531 SHA512 3a9c5d2328d57c5f1a902a71e26d95bebef0614ce4075f6cf9066fad517055a20631f9ae357d15a4d0f346e7c7382c6672cabb2d10f47ab46c2e22e3f5120eb3
+EBUILD elisp-manual-24.5.ebuild 677 BLAKE2B 1a66c98cdbc64424360013263b4d292c1910d836322043e4edbc3e8361e8638513c2f0772e15067109062214a9f5ab463041d438c83c5be633d6c8c201290b56 SHA512 c8baf1b57f363eff805bf1b2e16fb26f6d4f873336ab5a257db5033bf46a3e2bd7f60a4e72db25faa9f4e39ddca4ed443522207c847eac8432f1ff6abd255549
+EBUILD elisp-manual-25.3.ebuild 639 BLAKE2B c59a535490e5388afe75ede1f3cc2daa4e0e74dad9ccfe2bead749d85bd960b88eca76f7bf366875c03d466c61758bcd93050afdfe4ff324715f5330e1b9b762 SHA512 ec9898aa21ee08d854bc2a41a464c9eca0cdd95067970e008ee6e514137b6673b1ad88ad0107d75e5901931ae9e33b80f4de94532a727fe2ade50100ef6af784
+MISC metadata.xml 1449 BLAKE2B 11f3b34d702faf8a9e9fca1d1538cbc3b79460da8611aa304bb15fff5f30c0de336cbe3d5abe9b1b8477b9fad29c182021de50427d2f8a31ceb1af23ff9de5a2 SHA512 25d8f591e4cfc53cd164d9e9af9a8866abf3b4a7bbbc6d6d102dd506469ea0b6bbde02ed9f8ce34a8aaa3f32de7dc614fb9c82f49224406952c31e6f96db8baa
diff --git a/app-doc/elisp-manual/elisp-manual-18.1.03.ebuild b/app-doc/elisp-manual/elisp-manual-18.1.03.ebuild
new file mode 100644
index 000000000000..3e55d5a96b64
--- /dev/null
+++ b/app-doc/elisp-manual/elisp-manual-18.1.03.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+MY_P=${PN}-${PV/./-}
+DESCRIPTION="The GNU Emacs Lisp Reference Manual"
+HOMEPAGE="https://www.gnu.org/software/emacs/manual/"
+SRC_URI="ftp://ftp.gnu.org/old-gnu/emacs/${MY_P}.tar.gz
+ https://dev.gentoo.org/~ulm/emacs/${P}-patches.tar.gz"
+
+LICENSE="Texinfo-manual"
+SLOT="18"
+KEYWORDS="amd64 ~ppc x86"
+
+DEPEND="sys-apps/texinfo"
+
+S="${WORKDIR}/elisp"
+
+src_prepare() {
+ # remove pre-made info files
+ rm -f elisp elisp-[0-9]*
+ EPATCH_SUFFIX=patch epatch
+}
+
+src_compile() {
+ ln -s index.unperm index.texi || die
+ makeinfo elisp.texi || die
+}
+
+src_install() {
+ doinfo elisp18.info*
+ dodoc README
+}
diff --git a/app-doc/elisp-manual/elisp-manual-19.2.4.2.ebuild b/app-doc/elisp-manual/elisp-manual-19.2.4.2.ebuild
new file mode 100644
index 000000000000..57b9eb43552c
--- /dev/null
+++ b/app-doc/elisp-manual/elisp-manual-19.2.4.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+MY_P=${PN}-${PV/./-}
+DESCRIPTION="The GNU Emacs Lisp Reference Manual"
+HOMEPAGE="https://www.gnu.org/software/emacs/manual/"
+SRC_URI="ftp://ftp.gnu.org/old-gnu/emacs/${MY_P}.tar.gz
+ https://dev.gentoo.org/~ulm/emacs/${P}-patches.tar.gz"
+
+LICENSE="Texinfo-manual"
+SLOT="19"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="sys-apps/texinfo"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # remove pre-made info files
+ rm -f elisp elisp-[0-9]*
+ EPATCH_SUFFIX=patch epatch
+}
+
+src_compile() {
+ ln -s index.unperm index.texi || die
+ makeinfo elisp.texi || die
+}
+
+src_install() {
+ doinfo elisp19.info*
+ dodoc README
+}
diff --git a/app-doc/elisp-manual/elisp-manual-20.2.5.ebuild b/app-doc/elisp-manual/elisp-manual-20.2.5.ebuild
new file mode 100644
index 000000000000..f215e0e85b79
--- /dev/null
+++ b/app-doc/elisp-manual/elisp-manual-20.2.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+MY_P=${PN}-${PV/./-}
+DESCRIPTION="The GNU Emacs Lisp Reference Manual"
+HOMEPAGE="https://www.gnu.org/software/emacs/manual/"
+SRC_URI="ftp://ftp.gnu.org/old-gnu/emacs/${MY_P}.tar.gz
+ https://dev.gentoo.org/~ulm/emacs/${P}-patches.tar.gz"
+
+LICENSE="Texinfo-manual"
+SLOT="20"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="sys-apps/texinfo"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # remove pre-made info files
+ rm -f elisp elisp-[0-9]*
+ EPATCH_SUFFIX=patch epatch
+}
+
+src_compile() {
+ ln -s index.unperm index.texi || die
+ makeinfo elisp.texi || die
+}
+
+src_install() {
+ doinfo elisp20.info*
+ dodoc README
+}
diff --git a/app-doc/elisp-manual/elisp-manual-21.2.8-r2.ebuild b/app-doc/elisp-manual/elisp-manual-21.2.8-r2.ebuild
new file mode 100644
index 000000000000..003f669a9546
--- /dev/null
+++ b/app-doc/elisp-manual/elisp-manual-21.2.8-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+MY_P=${PN}-${PV/./-}
+DESCRIPTION="The GNU Emacs Lisp Reference Manual"
+HOMEPAGE="https://www.gnu.org/software/emacs/manual/"
+SRC_URI="mirror://gnu/emacs/${MY_P}.tar.gz
+ https://dev.gentoo.org/~ulm/emacs/${P}-patches.tar.gz"
+
+LICENSE="FDL-1.1+"
+SLOT="21"
+KEYWORDS="amd64 ppc x86"
+
+DEPEND="sys-apps/texinfo"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # remove pre-made info files
+ rm -f elisp elisp-[0-9]*
+ EPATCH_SUFFIX=patch epatch
+}
+
+src_compile() {
+ ln -s index.unperm index.texi || die
+ makeinfo elisp.texi || die
+}
+
+src_install() {
+ doinfo elisp21.info*
+ dodoc README
+}
diff --git a/app-doc/elisp-manual/elisp-manual-22.2.9.ebuild b/app-doc/elisp-manual/elisp-manual-22.2.9.ebuild
new file mode 100644
index 000000000000..5fd1f6ea0543
--- /dev/null
+++ b/app-doc/elisp-manual/elisp-manual-22.2.9.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+MY_P=${PN}-${PV/./-}
+DESCRIPTION="The GNU Emacs Lisp Reference Manual"
+HOMEPAGE="https://www.gnu.org/software/emacs/manual/"
+# Taken from lispref/ of emacs-22.3
+SRC_URI="https://dev.gentoo.org/~ulm/emacs/${MY_P}.tar.bz2"
+
+LICENSE="FDL-1.2+"
+SLOT="22"
+KEYWORDS="amd64 ppc x86"
+
+DEPEND="sys-apps/texinfo"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-direntry.patch"
+}
+
+src_compile() {
+ makeinfo elisp.texi || die
+}
+
+src_install() {
+ doinfo elisp22.info*
+ dodoc ChangeLog README
+}
diff --git a/app-doc/elisp-manual/elisp-manual-23.4.ebuild b/app-doc/elisp-manual/elisp-manual-23.4.ebuild
new file mode 100644
index 000000000000..ea879a7492ce
--- /dev/null
+++ b/app-doc/elisp-manual/elisp-manual-23.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="The GNU Emacs Lisp Reference Manual"
+HOMEPAGE="https://www.gnu.org/software/emacs/manual/"
+# taken from doc/lispref/ of emacs-${PV}
+SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz
+ https://dev.gentoo.org/~ulm/emacs/${P}-patches-1.tar.xz"
+
+LICENSE="FDL-1.3+"
+SLOT="23"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+
+DEPEND="sys-apps/texinfo"
+
+S="${WORKDIR}/lispref"
+
+src_prepare() {
+ EPATCH_SUFFIX=patch epatch
+}
+
+src_compile() {
+ makeinfo elisp.texi || die
+}
+
+src_install() {
+ doinfo elisp${SLOT}.info*
+ dodoc ChangeLog README
+}
diff --git a/app-doc/elisp-manual/elisp-manual-24.5.ebuild b/app-doc/elisp-manual/elisp-manual-24.5.ebuild
new file mode 100644
index 000000000000..fca59e62bcf4
--- /dev/null
+++ b/app-doc/elisp-manual/elisp-manual-24.5.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="The GNU Emacs Lisp Reference Manual"
+HOMEPAGE="https://www.gnu.org/software/emacs/manual/"
+# taken from doc/lispref/ of emacs-${PV}
+SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
+
+LICENSE="FDL-1.3+"
+SLOT="24"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+
+DEPEND="sys-apps/texinfo"
+
+S="${WORKDIR}/lispref"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-direntry.patch"
+ echo "@set EMACSVER ${PV}" >emacsver.texi || die
+}
+
+src_compile() {
+ makeinfo elisp.texi || die
+}
+
+src_install() {
+ doinfo elisp${SLOT}.info*
+ dodoc ChangeLog README
+}
diff --git a/app-doc/elisp-manual/elisp-manual-25.3.ebuild b/app-doc/elisp-manual/elisp-manual-25.3.ebuild
new file mode 100644
index 000000000000..10e056f739c7
--- /dev/null
+++ b/app-doc/elisp-manual/elisp-manual-25.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="The GNU Emacs Lisp Reference Manual"
+HOMEPAGE="https://www.gnu.org/software/emacs/manual/"
+# taken from doc/lispref/ (and some files from doc/emacs/) of emacs-${PV}
+SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
+
+LICENSE="FDL-1.3+"
+SLOT="25"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+
+DEPEND="sys-apps/texinfo"
+
+S="${WORKDIR}/lispref"
+PATCHES=("${FILESDIR}/${P}-direntry.patch")
+
+src_compile() {
+ makeinfo -I "${WORKDIR}"/emacs elisp.texi || die
+}
+
+src_install() {
+ doinfo elisp${SLOT}.info*
+ dodoc README
+}
diff --git a/app-doc/elisp-manual/files/elisp-manual-22.2.9-direntry.patch b/app-doc/elisp-manual/files/elisp-manual-22.2.9-direntry.patch
new file mode 100644
index 000000000000..090e03a7a622
--- /dev/null
+++ b/app-doc/elisp-manual/files/elisp-manual-22.2.9-direntry.patch
@@ -0,0 +1,19 @@
+--- elisp-manual-22-2.9-orig/elisp.texi
++++ elisp-manual-22-2.9/elisp.texi
+@@ -1,6 +1,6 @@
+ \input texinfo @c -*-texinfo-*-
+ @c %**start of header
+-@setfilename elisp
++@setfilename elisp22.info
+ @settitle GNU Emacs Lisp Reference Manual
+ @c %**end of header
+
+@@ -11,7 +11,7 @@
+
+ @dircategory Emacs
+ @direntry
+-* Elisp: (elisp). The Emacs Lisp Reference Manual.
++* Elisp 22: (elisp22). The Emacs Lisp Reference Manual for Emacs 22.
+ @end direntry
+
+ @c in general, keep the following line commented out, unless doing a
diff --git a/app-doc/elisp-manual/files/elisp-manual-24.5-direntry.patch b/app-doc/elisp-manual/files/elisp-manual-24.5-direntry.patch
new file mode 100644
index 000000000000..2a4e2c785182
--- /dev/null
+++ b/app-doc/elisp-manual/files/elisp-manual-24.5-direntry.patch
@@ -0,0 +1,22 @@
+--- lispref-orig/elisp.texi
++++ lispref/elisp.texi
+@@ -1,6 +1,6 @@
+ \input texinfo @c -*-texinfo-*-
+ @c %**start of header
+-@setfilename elisp
++@setfilename elisp24.info
+
+ @ifset VOL1
+ @set volflag
+@@ -117,9 +117,9 @@
+
+ @documentencoding UTF-8
+
+-@dircategory Emacs lisp
++@dircategory Emacs
+ @direntry
+-* Elisp: (elisp). The Emacs Lisp Reference Manual.
++* Elisp 24: (elisp24). The Emacs Lisp Reference Manual for Emacs 24.
+ @end direntry
+
+ @titlepage
diff --git a/app-doc/elisp-manual/files/elisp-manual-25.3-direntry.patch b/app-doc/elisp-manual/files/elisp-manual-25.3-direntry.patch
new file mode 100644
index 000000000000..7303baa827c5
--- /dev/null
+++ b/app-doc/elisp-manual/files/elisp-manual-25.3-direntry.patch
@@ -0,0 +1,22 @@
+--- lispref-orig/elisp.texi
++++ lispref/elisp.texi
+@@ -1,6 +1,6 @@
+ \input texinfo @c -*-texinfo-*-
+ @c %**start of header
+-@setfilename ../../info/elisp.info
++@setfilename elisp25.info
+
+ @ifset VOL1
+ @set volflag
+@@ -116,9 +116,9 @@
+ @end quotation
+ @end copying
+
+-@dircategory Emacs lisp
++@dircategory Emacs
+ @direntry
+-* Elisp: (elisp). The Emacs Lisp Reference Manual.
++* Elisp 25: (elisp25). The Emacs Lisp Reference Manual for Emacs 25.
+ @end direntry
+
+ @titlepage
diff --git a/app-doc/elisp-manual/metadata.xml b/app-doc/elisp-manual/metadata.xml
new file mode 100644
index 000000000000..06fb04eeec56
--- /dev/null
+++ b/app-doc/elisp-manual/metadata.xml
@@ -0,0 +1,28 @@
+<?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>
+<longdescription>
+ Most of the GNU Emacs text editor is written in the programming language
+ called Emacs Lisp. You can write new code in Emacs Lisp and install it as an
+ extension to the editor. However, Emacs Lisp is more than a mere "extension
+ language"; it is a full computer programming language in its own right. You
+ can use it as you would any other programming language.
+
+ Because Emacs Lisp is designed for use in an editor, it has special features
+ for scanning and parsing text as well as features for handling files,
+ buffers, displays, subprocesses, and so on. Emacs Lisp is closely integrated
+ with the editing facilities; thus, editing commands are functions that can
+ also conveniently be called from Lisp programs, and parameters for
+ customization are ordinary Lisp variables.
+
+ This manual attempts to be a full description of Emacs Lisp. For a
+ beginner's introduction to Emacs Lisp, see An Introduction to Emacs Lisp
+ Programming, by Bob Chassell, also published by the Free Software
+ Foundation. This manual presumes considerable familiarity with the use of
+ Emacs for editing; see The GNU Emacs Manual for this basic information.
+</longdescription>
+</pkgmetadata>