diff options
author | Ulrich Müller <ulm@gentoo.org> | 2012-10-01 19:45:01 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2012-10-01 19:45:01 +0000 |
commit | 7bfbbca9d85478ad524cbd30978895eca971a852 (patch) | |
tree | 7723c4a7905ebc97545955ec1d2f978a2f998a6d /app-emacs/org-mode | |
parent | Version bump (diff) | |
download | gentoo-2-7bfbbca9d85478ad524cbd30978895eca971a852.tar.gz gentoo-2-7bfbbca9d85478ad524cbd30978895eca971a852.tar.bz2 gentoo-2-7bfbbca9d85478ad524cbd30978895eca971a852.zip |
Version bump.
(Portage version: 2.1.11.23/cvs/Linux x86_64)
Diffstat (limited to 'app-emacs/org-mode')
-rw-r--r-- | app-emacs/org-mode/ChangeLog | 7 | ||||
-rw-r--r-- | app-emacs/org-mode/org-mode-7.9.2.ebuild | 54 |
2 files changed, 60 insertions, 1 deletions
diff --git a/app-emacs/org-mode/ChangeLog b/app-emacs/org-mode/ChangeLog index 91fe17e0a2f4..202a4e5b4372 100644 --- a/app-emacs/org-mode/ChangeLog +++ b/app-emacs/org-mode/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emacs/org-mode # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/ChangeLog,v 1.147 2012/09/26 18:19:45 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/ChangeLog,v 1.148 2012/10/01 19:45:01 ulm Exp $ + +*org-mode-7.9.2 (01 Oct 2012) + + 01 Oct 2012; Ulrich Müller <ulm@gentoo.org> +org-mode-7.9.2.ebuild: + Version bump. *org-mode-7.9.1 (26 Sep 2012) diff --git a/app-emacs/org-mode/org-mode-7.9.2.ebuild b/app-emacs/org-mode/org-mode-7.9.2.ebuild new file mode 100644 index 000000000000..1f29b3f05e44 --- /dev/null +++ b/app-emacs/org-mode/org-mode-7.9.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/org-mode-7.9.2.ebuild,v 1.1 2012/10/01 19:45:01 ulm Exp $ + +EAPI=4 +NEED_EMACS=22 + +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" + +DEPEND="doc? ( virtual/texi2dvi )" + +S="${WORKDIR}/org-${PV}" +# Remove autoload file to make sure that it is regenerated with +# the right Emacs version. +ELISP_REMOVE="lisp/org-install.el" +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + emake + use doc && emake pdf card +} + +src_install() { + emake \ + DESTDIR="${D}" \ + ETCDIRS="styles $(use odt-schema && echo schema)" \ + install + + cp "${FILESDIR}/${SITEFILE}" "${T}/${SITEFILE}" + + if use contrib; then + elisp-install ${PN}/contrib contrib/lisp/*org*.el || die + insinto /usr/share/doc/${PF}/contrib + doins -r contrib/README contrib/babel contrib/scripts + find "${ED}/usr/share/doc/${PF}/contrib" -type f -name '.*' \ + -exec rm -f '{}' '+' + # add the contrib subdirectory to load-path + sed -ie 's:\(.*@SITELISP@\)\(.*\):&\n\1/contrib\2:' \ + "${T}/${SITEFILE}" || die + fi + + elisp-site-file-install "${T}/${SITEFILE}" || die + dodoc README doc/orgcard.txt etc/ORG-NEWS + use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf +} |