From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id ED3C913888F for ; Sun, 25 Oct 2015 10:34:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09719E0817; Sun, 25 Oct 2015 10:34:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 78DFAE0817 for ; Sun, 25 Oct 2015 10:34:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 61518340955 for ; Sun, 25 Oct 2015 10:34:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 231D61872 for ; Sun, 25 Oct 2015 10:34:01 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1445714388.696eea2903c71c0b58aec2bff2faeb06b45fdeaa.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/org-mode/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/org-mode/org-mode-8.3.2-r1.ebuild X-VCS-Directories: app-emacs/org-mode/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 696eea2903c71c0b58aec2bff2faeb06b45fdeaa X-VCS-Branch: master Date: Sun, 25 Oct 2015 10:34:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cba0a66e-dbc5-4c07-90a0-28745ebc99c1 X-Archives-Hash: 458406cb9b5e4eefc834bb3c54358da3 commit: 696eea2903c71c0b58aec2bff2faeb06b45fdeaa Author: Marc Joliet gmx de> AuthorDate: Sat Oct 24 17:57:53 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Oct 24 19:19:48 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=696eea29 app-emacs/org-mode: inform users of run-time deps Org mode has a long list of optional run-time dependencies. Expend a reasonable amount of effort to inform users of these with the help of the readme.gentoo eclass. Gentoo-bug: 563486 Signed-off-by: Marc Joliet gmx.de> app-emacs/org-mode/org-mode-8.3.2-r1.ebuild | 61 +++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/app-emacs/org-mode/org-mode-8.3.2-r1.ebuild b/app-emacs/org-mode/org-mode-8.3.2-r1.ebuild new file mode 100644 index 0000000..71afd50 --- /dev/null +++ b/app-emacs/org-mode/org-mode-8.3.2-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit readme.gentoo 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" + +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 . +" + +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}" + readme.gentoo_create_doc + 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 +}