summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/org-mode')
-rw-r--r--app-emacs/org-mode/Manifest8
-rw-r--r--app-emacs/org-mode/metadata.xml1
-rw-r--r--app-emacs/org-mode/org-mode-9.4.4.ebuild59
-rw-r--r--app-emacs/org-mode/org-mode-9.4.6.ebuild59
-rw-r--r--app-emacs/org-mode/org-mode-9.6.24.ebuild53
-rw-r--r--app-emacs/org-mode/org-mode-9.6.26.ebuild (renamed from app-emacs/org-mode/org-mode-9.5.ebuild)16
-rw-r--r--app-emacs/org-mode/org-mode-9.6.28.ebuild50
-rw-r--r--app-emacs/org-mode/org-mode-9.6.29.ebuild50
-rw-r--r--app-emacs/org-mode/org-mode-9.6.30.ebuild50
-rw-r--r--app-emacs/org-mode/org-mode-9999.ebuild55
10 files changed, 272 insertions, 129 deletions
diff --git a/app-emacs/org-mode/Manifest b/app-emacs/org-mode/Manifest
index 3035868e47a6..c92bdbd6cf7a 100644
--- a/app-emacs/org-mode/Manifest
+++ b/app-emacs/org-mode/Manifest
@@ -1,3 +1,5 @@
-DIST org-9.4.4.tar.gz 4725983 BLAKE2B 69fcd15e13c55b71a2c0c6185a0b82dfd8f72ef2c68a8ccc5aa9d3e9f134233d7c7c3cb38f4957cc7d5d70a082067412b61be2111b484b6a91a8a2e5f077bb39 SHA512 ec857f9765a869371bd3425aaecdbe1c8bb8f605640d81efebd7ed13afcb05439cf3a5277457ed399bc501f95a6d823bda7f46b6991cd5f21cf53cf0e666d831
-DIST org-9.4.6.tar.gz 4729335 BLAKE2B b88edaf8098124b2048ce57d6005d2af0de34e9b8fa94c24eb041a42a6fca1fd6da7f242be89e6b0ca5e7b80d879096f9114dca0ba86b20a5d26d2a185baa537 SHA512 7e50d7e9e2073bc0f06d2c861f59d4c9b8af4cf63c98f730c810a3a8721e65829fe9ef7ba0ac99f49bf9da427a4d5ad1d028e05c1a8ab6a3bea2ff2020c0e61d
-DIST org-mode-release_9.5.tar.gz 2043985 BLAKE2B 7f8c45be0c3c873eb9dada8d637088aa0fac4d2b2e4ddd7523c305e0c1acdc10c58ed36646285cff2ecac78d5d862f08fcd113dcb4fa853db04e59a6252a1d7a SHA512 9f05ef6d4adb89224248299ca7c8120924b6ad4c2fa5d0804ac4985b35f87382e20e0c6fecfed59bd52917cd1b6e57830505d47fc80102390cbc6336029fe132
+DIST org-mode-release_9.6.24.tar.gz 2212983 BLAKE2B 3b780973b68853738b6d74162c100eff4ddb7777c13e9c2a927edbeabebf7763c6a32abc43f7e38fae986a9cbc20926d4b40b54131f0e4acd1fc16f5d62b4b5c SHA512 85696fb49a9764d8163316ae03db02a3324ac828fd11cfda509aaef4ff3af6c7c4aaad0857d225216bc7dd672cf89817b007b63ea78092804abf93475e56e171
+DIST org-mode-release_9.6.26.tar.gz 2213217 BLAKE2B a4972b4c9647fc816506cc8aebab8d21e0ef461dbf8a0dcaed789c6451ee54464eaa99f59581bc39256b68c8d66c133c60c3c523ac4a31725e7002ccdc6e51b5 SHA512 3b612b3af272c0633d8e11ed210c16218250c3f5b6be7f800659a767ebfc77ebb01bdaf649045ac9ab7edf1bb8a9c7386a8c04eaafe12d943bf48989670ca20d
+DIST org-mode-release_9.6.28.tar.gz 2213979 BLAKE2B a0dec5afe4c234d895e459abb1d30e4b7dc8b0c7ff918b8444adb7324bf77975acafe2ab1dcc7ea1ef3340471cf0508896609ca5ce4f8384777b72ce0fb0bcb8 SHA512 7e4944277ff52d3740d341e059eab00316f0baf3bf6e0f9c1b3c35577530feb0a516f1b081902e0e45b0138d1903d0bb7d96342a3fb5524bb6a066713a6c044b
+DIST org-mode-release_9.6.29.tar.gz 2213955 BLAKE2B 6941618cae31ce7ff93789d926ff340609136bbfab2f1ee96d33622e0ad8c86193948999f25cfe3ca935e6938c57f805e3423e0ac434f80f31a52639e4b65380 SHA512 3b1ab2a70b4407b84cd7103c789b12285b774f873a488c9c92cb11c1f9c08b9f85b1ee05d9f69c7e6333d9b7085ac804f50aa7a97c2123f8f72db2160aa4e7f3
+DIST org-mode-release_9.6.30.tar.gz 2213585 BLAKE2B 60fc54953fda7c3c4d8887ad0bd1acd349aa58ba4ef472d49fee32eb2b8e2830262efbaf348ff2485034a67ce404279d79e5ab555e74c79e187eba09cd372c73 SHA512 0d24b01d773b9a3039cc3174d8a3242e9fc202631b7b837c6ebd511d0da00a657e961943da9a7f21dd370ce070d0c383bd9c1a508199a7772581f6d4906fb8cb
diff --git a/app-emacs/org-mode/metadata.xml b/app-emacs/org-mode/metadata.xml
index 19cec1152498..ab6e8b67070e 100644
--- a/app-emacs/org-mode/metadata.xml
+++ b/app-emacs/org-mode/metadata.xml
@@ -22,7 +22,6 @@
</longdescription>
<stabilize-allarches/>
<use>
- <flag name="contrib">Install user-contributed files</flag>
<flag name="odt-schema">Install non-free schema files
for OpenDocument Text exporter</flag>
</use>
diff --git a/app-emacs/org-mode/org-mode-9.4.4.ebuild b/app-emacs/org-mode/org-mode-9.4.4.ebuild
deleted file mode 100644
index bffbcb8d7146..000000000000
--- a/app-emacs/org-mode/org-mode-9.4.4.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-NEED_EMACS=24
-
-inherit elisp readme.gentoo-r1
-
-DESCRIPTION="An Emacs mode for notes and project planning"
-HOMEPAGE="https://www.orgmode.org/"
-SRC_URI="https://orgmode.org/org-${PV}.tar.gz"
-
-LICENSE="GPL-3+ FDL-1.3+ contrib? ( GPL-2+ MIT ) odt-schema? ( OASIS-Open )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="contrib doc odt-schema"
-RESTRICT="test"
-
-BDEPEND="doc? ( virtual/texi2dvi )"
-
-S="${WORKDIR}/org-${PV}"
-SITEFILE="50${PN}-gentoo.el"
-
-src_compile() {
- emake datadir="${EPREFIX}${SITEETC}/${PN}"
- use doc && emake pdf card
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- ETCDIRS="styles $(use odt-schema && echo schema)" \
- lispdir="${EPREFIX}${SITELISP}/${PN}" \
- datadir="${EPREFIX}${SITEETC}/${PN}" \
- infodir="${EPREFIX}/usr/share/info" \
- install
-
- cp "${FILESDIR}/${SITEFILE}" "${T}/${SITEFILE}" || die
-
- if use contrib; then
- elisp-install ${PN}/contrib contrib/lisp/{org,ob,ox}*.el
- ( docinto contrib; dodoc -r contrib/README contrib/scripts )
- find "${ED}/usr/share/doc/${PF}/contrib" -type f -name '.*' \
- -exec rm -f '{}' '+'
- # add the contrib subdirectory to load-path
- sed -i -e 's:\(.*@SITELISP@\)\(.*\):&\n\1/contrib\2:' \
- "${T}/${SITEFILE}" || die
- fi
-
- elisp-site-file-install "${T}/${SITEFILE}"
- dodoc README etc/ORG-NEWS
- use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
-
- DOC_CONTENTS="Org mode has a large variety of run-time dependencies,
- so you may have to install one or more additional packages.
- A non-exhaustive list of these dependencies may be found at
- <http://orgmode.org/worg/org-dependencies.html>."
- readme.gentoo_create_doc
-}
diff --git a/app-emacs/org-mode/org-mode-9.4.6.ebuild b/app-emacs/org-mode/org-mode-9.4.6.ebuild
deleted file mode 100644
index 9e5416d94789..000000000000
--- a/app-emacs/org-mode/org-mode-9.4.6.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-NEED_EMACS=24
-
-inherit elisp readme.gentoo-r1
-
-DESCRIPTION="An Emacs mode for notes and project planning"
-HOMEPAGE="https://www.orgmode.org/"
-SRC_URI="https://orgmode.org/org-${PV}.tar.gz"
-
-LICENSE="GPL-3+ FDL-1.3+ contrib? ( GPL-2+ MIT ) odt-schema? ( OASIS-Open )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="contrib doc odt-schema"
-RESTRICT="test"
-
-BDEPEND="doc? ( virtual/texi2dvi )"
-
-S="${WORKDIR}/org-${PV}"
-SITEFILE="50${PN}-gentoo.el"
-
-src_compile() {
- emake datadir="${EPREFIX}${SITEETC}/${PN}"
- use doc && emake pdf card
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- ETCDIRS="styles $(use odt-schema && echo schema)" \
- lispdir="${EPREFIX}${SITELISP}/${PN}" \
- datadir="${EPREFIX}${SITEETC}/${PN}" \
- infodir="${EPREFIX}/usr/share/info" \
- install
-
- cp "${FILESDIR}/${SITEFILE}" "${T}/${SITEFILE}" || die
-
- if use contrib; then
- elisp-install ${PN}/contrib contrib/lisp/{org,ob,ox}*.el
- ( docinto contrib; dodoc -r contrib/README contrib/scripts )
- find "${ED}/usr/share/doc/${PF}/contrib" -type f -name '.*' \
- -exec rm -f '{}' '+'
- # add the contrib subdirectory to load-path
- sed -i -e 's:\(.*@SITELISP@\)\(.*\):&\n\1/contrib\2:' \
- "${T}/${SITEFILE}" || die
- fi
-
- elisp-site-file-install "${T}/${SITEFILE}"
- dodoc README etc/ORG-NEWS
- use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
-
- DOC_CONTENTS="Org mode has a large variety of run-time dependencies,
- so you may have to install one or more additional packages.
- A non-exhaustive list of these dependencies may be found at
- <http://orgmode.org/worg/org-dependencies.html>."
- readme.gentoo_create_doc
-}
diff --git a/app-emacs/org-mode/org-mode-9.6.24.ebuild b/app-emacs/org-mode/org-mode-9.6.24.ebuild
new file mode 100644
index 000000000000..a53c53198131
--- /dev/null
+++ b/app-emacs/org-mode/org-mode-9.6.24.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="${PN}-release_${PV}"
+
+inherit elisp readme.gentoo-r1
+
+DESCRIPTION="An Emacs mode for notes and project planning"
+HOMEPAGE="https://www.orgmode.org/"
+SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="doc odt-schema"
+RESTRICT="test"
+
+BDEPEND="
+ doc? ( virtual/texi2dvi )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ emake -j1 \
+ ORGVERSION=${PV} \
+ datadir="${EPREFIX}${SITEETC}/${PN}"
+ use doc && emake -j1 pdf card
+}
+
+src_install() {
+ emake \
+ ORGVERSION=${PV} \
+ DESTDIR="${D}" \
+ ETCDIRS="styles csl $(use odt-schema && echo schema)" \
+ lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ datadir="${EPREFIX}${SITEETC}/${PN}" \
+ infodir="${EPREFIX}/usr/share/info" \
+ install
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc README.org CONTRIBUTE.org etc/ORG-NEWS
+ use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
+
+ local DOC_CONTENTS="Org mode has a large variety of run-time dependencies,
+ so you may have to install one or more additional packages.
+ A non-exhaustive list of these dependencies may be found at
+ <http://orgmode.org/worg/org-dependencies.html>."
+ readme.gentoo_create_doc
+}
diff --git a/app-emacs/org-mode/org-mode-9.5.ebuild b/app-emacs/org-mode/org-mode-9.6.26.ebuild
index d4f4644be22f..6a5fae66355f 100644
--- a/app-emacs/org-mode/org-mode-9.5.ebuild
+++ b/app-emacs/org-mode/org-mode-9.6.26.ebuild
@@ -1,16 +1,15 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-NEED_EMACS=24
inherit elisp readme.gentoo-r1
-MY_P="${PN}-release_${PV}"
DESCRIPTION="An Emacs mode for notes and project planning"
HOMEPAGE="https://www.orgmode.org/"
+MY_P="${PN}-release_${PV}"
SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
+S="${WORKDIR}"/${MY_P}
LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )"
SLOT="0"
@@ -23,12 +22,15 @@ BDEPEND="doc? ( virtual/texi2dvi )"
SITEFILE="50${PN}-gentoo.el"
src_compile() {
- emake datadir="${EPREFIX}${SITEETC}/${PN}"
- use doc && emake pdf card
+ emake -j1 \
+ ORGVERSION=${PV} \
+ datadir="${EPREFIX}${SITEETC}/${PN}"
+ use doc && emake -j1 pdf card
}
src_install() {
emake \
+ ORGVERSION=${PV} \
DESTDIR="${D}" \
ETCDIRS="styles csl $(use odt-schema && echo schema)" \
lispdir="${EPREFIX}${SITELISP}/${PN}" \
@@ -37,7 +39,7 @@ src_install() {
install
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- dodoc README CONTRIBUTE etc/ORG-NEWS
+ dodoc README.org CONTRIBUTE.org etc/ORG-NEWS
use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
local DOC_CONTENTS="Org mode has a large variety of run-time dependencies,
diff --git a/app-emacs/org-mode/org-mode-9.6.28.ebuild b/app-emacs/org-mode/org-mode-9.6.28.ebuild
new file mode 100644
index 000000000000..6a5fae66355f
--- /dev/null
+++ b/app-emacs/org-mode/org-mode-9.6.28.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp readme.gentoo-r1
+
+DESCRIPTION="An Emacs mode for notes and project planning"
+HOMEPAGE="https://www.orgmode.org/"
+MY_P="${PN}-release_${PV}"
+SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz"
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc odt-schema"
+RESTRICT="test"
+
+BDEPEND="doc? ( virtual/texi2dvi )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ emake -j1 \
+ ORGVERSION=${PV} \
+ datadir="${EPREFIX}${SITEETC}/${PN}"
+ use doc && emake -j1 pdf card
+}
+
+src_install() {
+ emake \
+ ORGVERSION=${PV} \
+ DESTDIR="${D}" \
+ ETCDIRS="styles csl $(use odt-schema && echo schema)" \
+ lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ datadir="${EPREFIX}${SITEETC}/${PN}" \
+ infodir="${EPREFIX}/usr/share/info" \
+ install
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc README.org CONTRIBUTE.org etc/ORG-NEWS
+ use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
+
+ local DOC_CONTENTS="Org mode has a large variety of run-time dependencies,
+ so you may have to install one or more additional packages.
+ A non-exhaustive list of these dependencies may be found at
+ <http://orgmode.org/worg/org-dependencies.html>."
+ readme.gentoo_create_doc
+}
diff --git a/app-emacs/org-mode/org-mode-9.6.29.ebuild b/app-emacs/org-mode/org-mode-9.6.29.ebuild
new file mode 100644
index 000000000000..6a5fae66355f
--- /dev/null
+++ b/app-emacs/org-mode/org-mode-9.6.29.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp readme.gentoo-r1
+
+DESCRIPTION="An Emacs mode for notes and project planning"
+HOMEPAGE="https://www.orgmode.org/"
+MY_P="${PN}-release_${PV}"
+SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz"
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc odt-schema"
+RESTRICT="test"
+
+BDEPEND="doc? ( virtual/texi2dvi )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ emake -j1 \
+ ORGVERSION=${PV} \
+ datadir="${EPREFIX}${SITEETC}/${PN}"
+ use doc && emake -j1 pdf card
+}
+
+src_install() {
+ emake \
+ ORGVERSION=${PV} \
+ DESTDIR="${D}" \
+ ETCDIRS="styles csl $(use odt-schema && echo schema)" \
+ lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ datadir="${EPREFIX}${SITEETC}/${PN}" \
+ infodir="${EPREFIX}/usr/share/info" \
+ install
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc README.org CONTRIBUTE.org etc/ORG-NEWS
+ use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
+
+ local DOC_CONTENTS="Org mode has a large variety of run-time dependencies,
+ so you may have to install one or more additional packages.
+ A non-exhaustive list of these dependencies may be found at
+ <http://orgmode.org/worg/org-dependencies.html>."
+ readme.gentoo_create_doc
+}
diff --git a/app-emacs/org-mode/org-mode-9.6.30.ebuild b/app-emacs/org-mode/org-mode-9.6.30.ebuild
new file mode 100644
index 000000000000..6a5fae66355f
--- /dev/null
+++ b/app-emacs/org-mode/org-mode-9.6.30.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp readme.gentoo-r1
+
+DESCRIPTION="An Emacs mode for notes and project planning"
+HOMEPAGE="https://www.orgmode.org/"
+MY_P="${PN}-release_${PV}"
+SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz"
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc odt-schema"
+RESTRICT="test"
+
+BDEPEND="doc? ( virtual/texi2dvi )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ emake -j1 \
+ ORGVERSION=${PV} \
+ datadir="${EPREFIX}${SITEETC}/${PN}"
+ use doc && emake -j1 pdf card
+}
+
+src_install() {
+ emake \
+ ORGVERSION=${PV} \
+ DESTDIR="${D}" \
+ ETCDIRS="styles csl $(use odt-schema && echo schema)" \
+ lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ datadir="${EPREFIX}${SITEETC}/${PN}" \
+ infodir="${EPREFIX}/usr/share/info" \
+ install
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc README.org CONTRIBUTE.org etc/ORG-NEWS
+ use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
+
+ local DOC_CONTENTS="Org mode has a large variety of run-time dependencies,
+ so you may have to install one or more additional packages.
+ A non-exhaustive list of these dependencies may be found at
+ <http://orgmode.org/worg/org-dependencies.html>."
+ readme.gentoo_create_doc
+}
diff --git a/app-emacs/org-mode/org-mode-9999.ebuild b/app-emacs/org-mode/org-mode-9999.ebuild
new file mode 100644
index 000000000000..ac0cf59313b4
--- /dev/null
+++ b/app-emacs/org-mode/org-mode-9999.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp readme.gentoo-r1
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://git.savannah.gnu.org/git/emacs/${PN}.git"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/org"
+ inherit git-r3
+ S="${WORKDIR}/org"
+else
+ MY_P="${PN}-release_${PV}"
+ SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz"
+ S="${WORKDIR}/${MY_P}"
+ KEYWORDS="~amd64 ~ppc ~x86"
+fi
+
+DESCRIPTION="An Emacs mode for notes and project planning"
+HOMEPAGE="https://www.orgmode.org/"
+
+LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )"
+SLOT="0"
+IUSE="doc odt-schema"
+RESTRICT="test"
+
+BDEPEND="doc? ( virtual/texi2dvi )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ emake datadir="${EPREFIX}${SITEETC}/${PN}"
+ use doc && emake pdf card
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ ETCDIRS="styles csl $(use odt-schema && echo schema)" \
+ lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ datadir="${EPREFIX}${SITEETC}/${PN}" \
+ infodir="${EPREFIX}/usr/share/info" \
+ install
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc README.org CONTRIBUTE.org etc/ORG-NEWS
+ use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
+
+ local DOC_CONTENTS="Org mode has a large variety of run-time dependencies,
+ so you may have to install one or more additional packages.
+ A non-exhaustive list of these dependencies may be found at
+ <http://orgmode.org/worg/org-dependencies.html>."
+ readme.gentoo_create_doc
+}