summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-02-05 10:02:38 +0100
committerUlrich Müller <ulm@gentoo.org>2017-02-05 10:52:43 +0100
commitd1d23db504e3418e1c65987ef5d3183eaf64a03f (patch)
tree84a817db9590931556d8b21668cde0e71e9e7e0d /app-emacs/org-mode
parentapp-emacs/org-mode: Emacs 23 support has been dropped. (diff)
downloadgentoo-d1d23db504e3418e1c65987ef5d3183eaf64a03f.tar.gz
gentoo-d1d23db504e3418e1c65987ef5d3183eaf64a03f.tar.bz2
gentoo-d1d23db504e3418e1c65987ef5d3183eaf64a03f.zip
app-emacs/org-mode: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-emacs/org-mode')
-rw-r--r--app-emacs/org-mode/Manifest1
-rw-r--r--app-emacs/org-mode/org-mode-9.0.4.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/app-emacs/org-mode/Manifest b/app-emacs/org-mode/Manifest
index 1aeb438df4a3..4e3492b09651 100644
--- a/app-emacs/org-mode/Manifest
+++ b/app-emacs/org-mode/Manifest
@@ -1,3 +1,4 @@
DIST org-8.2.6.tar.gz 4221803 SHA256 a14a20f3d11855758ad8859e8ccdc50922c31bd64b493d44b856d46441362938 SHA512 a64e975738f26b5315584b51332dbcd29eb6e5b03cb505d638d611455beb921c5e0b728b23fb63f380d46d2e33092865b02de01259cff8985693febebcc1a8a3 WHIRLPOOL b834203c48948a84d6458b7f455451cfd3f40fccd0ae55f150cf105ef937f46fb52492642990cf33c90a2464b93d184d85d922680adf4e66a2af5308d3ac631c
DIST org-8.3.2.tar.gz 4442361 SHA256 8ae811d19546f73306710f70eed8ee1a1ec9981e78b98af077fa224d5e8875b8 SHA512 3e1ff47c875a2db3239add8b060f555da357e465161ca62860c0ac2734c2e31c5387d2df4223ab7ea8ea60050f9a845d160b0bcb3afcf36f1d3cabcaa961e6a2 WHIRLPOOL 7ae9c53aa116d1e5cf7527959cdb58cdce63d99d0e487979ee02a12bbb21cbbd0b9a25de7dc86364a6e4affa89813557fc58efa8c1693bcfe1a975f836ef6c1c
DIST org-9.0.1.tar.gz 4439964 SHA256 0b6087cf9a955bc507b69d620c6461a44976479bcd9c31405c1c033348b9b6f7 SHA512 c0a88372787c5b71ec1523fcf58b3cbf80678835c7b0bfe3b2406290da6fc88b977121ca3b35b47abf2c32ef40c0bfb6733170f225ea35ba24f2e801bb634afe WHIRLPOOL 2799373a3e027ba8822350fe389ecacd2e02fabf4ed99153472e7ff3314b717ff02042fe930f094382e0a059964c9abe9274ac4d66fdc889d2305808c89406c9
+DIST org-9.0.4.tar.gz 4431853 SHA256 9c4b563e6ce4babdd651fa70ed5528fff05170045e4edf4070017fa5c14e6a2a SHA512 fc3ab3e7c2b5f3243937497ea9515ea81434f2274ac158da7d0418e8ddc33debae2f1887ffbe37e3768d32a028834cc0ef35f3c3cc3938d7b24e0c5bfcf65ae0 WHIRLPOOL fefe7ffc45e542e18ef86458dd2b264ff52249444e1abbdfc577b2095c5be3870f11bf3867332be5a6323cfdf92b8d60382ac6c96b8ab6126c740f5e29ed2299
diff --git a/app-emacs/org-mode/org-mode-9.0.4.ebuild b/app-emacs/org-mode/org-mode-9.0.4.ebuild
new file mode 100644
index 000000000000..c943b3949fec
--- /dev/null
+++ b/app-emacs/org-mode/org-mode-9.0.4.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+NEED_EMACS=24
+
+inherit elisp readme.gentoo-r1
+
+DESCRIPTION="An Emacs mode for notes and project planning"
+HOMEPAGE="http://www.orgmode.org/"
+SRC_URI="http://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 ~x86-fbsd ~x86-macos"
+IUSE="contrib doc odt-schema"
+RESTRICT="test"
+
+DEPEND="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
+ insinto /usr/share/doc/${PF}/contrib
+ doins -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 doc/library-of-babel.org 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
+}