diff options
author | Ulrich Müller <ulm@gentoo.org> | 2016-11-27 13:25:26 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2016-11-27 13:26:35 +0100 |
commit | dc37dd6923a8e55818688c156020143b562ce310 (patch) | |
tree | 12039ab718610df235fbb8ee08c8af37566a4201 /app-emacs/org-mode | |
parent | app-emacs/org-mode: Update to readme.gentoo-r1.eclass. (diff) | |
download | gentoo-dc37dd6923a8e55818688c156020143b562ce310.tar.gz gentoo-dc37dd6923a8e55818688c156020143b562ce310.tar.bz2 gentoo-dc37dd6923a8e55818688c156020143b562ce310.zip |
app-emacs/org-mode: Version bump.
Bug: 599262
Package-Manager: portage-2.3.2
Diffstat (limited to 'app-emacs/org-mode')
-rw-r--r-- | app-emacs/org-mode/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/org-mode/org-mode-9.0.1.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/app-emacs/org-mode/Manifest b/app-emacs/org-mode/Manifest index 3ca5d49de3f6..1aeb438df4a3 100644 --- a/app-emacs/org-mode/Manifest +++ b/app-emacs/org-mode/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/app-emacs/org-mode/org-mode-9.0.1.ebuild b/app-emacs/org-mode/org-mode-9.0.1.ebuild new file mode 100644 index 000000000000..f73e49556dfa --- /dev/null +++ b/app-emacs/org-mode/org-mode-9.0.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +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 +} |