diff options
Diffstat (limited to 'app-emacs/org-mode')
-rw-r--r-- | app-emacs/org-mode/Manifest | 3 | ||||
-rw-r--r-- | app-emacs/org-mode/files/50org-mode-gentoo.el | 2 | ||||
-rw-r--r-- | app-emacs/org-mode/metadata.xml | 25 | ||||
-rw-r--r-- | app-emacs/org-mode/org-mode-8.2.1.ebuild | 54 | ||||
-rw-r--r-- | app-emacs/org-mode/org-mode-8.2.5h.ebuild | 54 | ||||
-rw-r--r-- | app-emacs/org-mode/org-mode-8.2.6.ebuild | 54 |
6 files changed, 192 insertions, 0 deletions
diff --git a/app-emacs/org-mode/Manifest b/app-emacs/org-mode/Manifest new file mode 100644 index 000000000000..d1a0efcefc3b --- /dev/null +++ b/app-emacs/org-mode/Manifest @@ -0,0 +1,3 @@ +DIST org-8.2.1.tar.gz 4215666 SHA256 625e2b6786158bcf6c43194075f7638ab8048c68a60025289a051c407e467823 SHA512 366504c8bc4637c96d6255603e949951fed1d89b9b58aa938072c982cca14d5eedfa2a45aabbae55d4862aa9dcc984b379f969cf5b6da50f73d2e0044cd687fb WHIRLPOOL 024166ee4eb6bb994f44249ea819ac3b4aad9c133bfcbc438d57a4dce54b3c8a108519eabf9318e769768be36d1733066bbec58cfaf03fc600de72fd55e3c29d +DIST org-8.2.5h.tar.gz 4220242 SHA256 f0f4924c9d57557b12f535c032f5f8584cc27ab6af2afc9939f9acf1af2c5d80 SHA512 e486a6f831de935fbe9cbcff18042a5a5ff9ecb60ffd755455c70488f95c6c103f7870d7d69f9808043b2b87fe64441adfd5c9ddb417b33fd8f9469d1943db49 WHIRLPOOL 72290244aaabd09660fd290a100d8ae2ed05b64d3b842464f247c20c634a75e2738c07e85d414b852685f2fade0b2aea92a1a2835d178d90b7eab5650710066b +DIST org-8.2.6.tar.gz 4221803 SHA256 a14a20f3d11855758ad8859e8ccdc50922c31bd64b493d44b856d46441362938 SHA512 a64e975738f26b5315584b51332dbcd29eb6e5b03cb505d638d611455beb921c5e0b728b23fb63f380d46d2e33092865b02de01259cff8985693febebcc1a8a3 WHIRLPOOL b834203c48948a84d6458b7f455451cfd3f40fccd0ae55f150cf105ef937f46fb52492642990cf33c90a2464b93d184d85d922680adf4e66a2af5308d3ac631c diff --git a/app-emacs/org-mode/files/50org-mode-gentoo.el b/app-emacs/org-mode/files/50org-mode-gentoo.el new file mode 100644 index 000000000000..431f52ce467a --- /dev/null +++ b/app-emacs/org-mode/files/50org-mode-gentoo.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) diff --git a/app-emacs/org-mode/metadata.xml b/app-emacs/org-mode/metadata.xml new file mode 100644 index 000000000000..191bd8718bc9 --- /dev/null +++ b/app-emacs/org-mode/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>emacs</herd> +<longdescription> + Org-mode is a mode for keeping notes, maintaining ToDo lists, and doing + project planning with a fast and effective plain-text system. + + Org-mode develops organizational tasks around NOTES files that contain + information about projects as plain text. Org-mode is implemented on top of + outline-mode, which makes it possible to keep the content of large files + well structured. Visibility cycling and structure editing help to work with + the tree. Tables are easily created with a built-in table editor. Org-mode + supports ToDo items, deadlines, time stamps, and scheduling. It dynamically + compiles entries into an agenda. Plain text URL-like links connect to + websites, emails, Usenet messages, BBDB entries, and any files related to + the projects. For printing and sharing of notes, an Org-mode file can be + exported as a structured ASCII file, HTML, and LaTeX. +</longdescription> +<use> + <flag name='contrib'>Install user-contributed files</flag> + <flag name='odt-schema'>Install non-free schema files + for OpenDocument Text exporter</flag> +</use> +</pkgmetadata> diff --git a/app-emacs/org-mode/org-mode-8.2.1.ebuild b/app-emacs/org-mode/org-mode-8.2.1.ebuild new file mode 100644 index 000000000000..add2bf6cc72d --- /dev/null +++ b/app-emacs/org-mode/org-mode-8.2.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit elisp + +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 doc/orgcard.txt etc/ORG-NEWS + use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf +} diff --git a/app-emacs/org-mode/org-mode-8.2.5h.ebuild b/app-emacs/org-mode/org-mode-8.2.5h.ebuild new file mode 100644 index 000000000000..2cb05e9b8b55 --- /dev/null +++ b/app-emacs/org-mode/org-mode-8.2.5h.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit elisp + +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 doc/orgcard.txt etc/ORG-NEWS + use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf +} diff --git a/app-emacs/org-mode/org-mode-8.2.6.ebuild b/app-emacs/org-mode/org-mode-8.2.6.ebuild new file mode 100644 index 000000000000..add2bf6cc72d --- /dev/null +++ b/app-emacs/org-mode/org-mode-8.2.6.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit elisp + +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 doc/orgcard.txt etc/ORG-NEWS + use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf +} |