Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emacs/org-mode: ChangeLog org-mode-7.9.2.ebuild
Date: Mon, 01 Oct 2012 19:45:11
Message-Id: 20121001194501.D641821600@flycatcher.gentoo.org
1 ulm 12/10/01 19:45:01
2
3 Modified: ChangeLog
4 Added: org-mode-7.9.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.11.23/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.148 app-emacs/org-mode/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/ChangeLog?rev=1.148&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/ChangeLog?rev=1.148&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/ChangeLog?r1=1.147&r2=1.148
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emacs/org-mode/ChangeLog,v
20 retrieving revision 1.147
21 retrieving revision 1.148
22 diff -u -r1.147 -r1.148
23 --- ChangeLog 26 Sep 2012 18:19:45 -0000 1.147
24 +++ ChangeLog 1 Oct 2012 19:45:01 -0000 1.148
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-emacs/org-mode
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/ChangeLog,v 1.147 2012/09/26 18:19:45 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/ChangeLog,v 1.148 2012/10/01 19:45:01 ulm Exp $
30 +
31 +*org-mode-7.9.2 (01 Oct 2012)
32 +
33 + 01 Oct 2012; Ulrich Müller <ulm@g.o> +org-mode-7.9.2.ebuild:
34 + Version bump.
35
36 *org-mode-7.9.1 (26 Sep 2012)
37
38
39
40
41 1.1 app-emacs/org-mode/org-mode-7.9.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/org-mode-7.9.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/org-mode-7.9.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: org-mode-7.9.2.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $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 $
51
52 EAPI=4
53 NEED_EMACS=22
54
55 inherit elisp
56
57 DESCRIPTION="An Emacs mode for notes and project planning"
58 HOMEPAGE="http://www.orgmode.org/"
59 SRC_URI="http://orgmode.org/org-${PV}.tar.gz"
60
61 LICENSE="GPL-3+ FDL-1.3+ contrib? ( GPL-2+ MIT ) odt-schema? ( OASIS-Open )"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-macos"
64 IUSE="contrib doc odt-schema"
65
66 DEPEND="doc? ( virtual/texi2dvi )"
67
68 S="${WORKDIR}/org-${PV}"
69 # Remove autoload file to make sure that it is regenerated with
70 # the right Emacs version.
71 ELISP_REMOVE="lisp/org-install.el"
72 SITEFILE="50${PN}-gentoo.el"
73
74 src_compile() {
75 emake
76 use doc && emake pdf card
77 }
78
79 src_install() {
80 emake \
81 DESTDIR="${D}" \
82 ETCDIRS="styles $(use odt-schema && echo schema)" \
83 install
84
85 cp "${FILESDIR}/${SITEFILE}" "${T}/${SITEFILE}"
86
87 if use contrib; then
88 elisp-install ${PN}/contrib contrib/lisp/*org*.el || die
89 insinto /usr/share/doc/${PF}/contrib
90 doins -r contrib/README contrib/babel contrib/scripts
91 find "${ED}/usr/share/doc/${PF}/contrib" -type f -name '.*' \
92 -exec rm -f '{}' '+'
93 # add the contrib subdirectory to load-path
94 sed -ie 's:\(.*@SITELISP@\)\(.*\):&\n\1/contrib\2:' \
95 "${T}/${SITEFILE}" || die
96 fi
97
98 elisp-site-file-install "${T}/${SITEFILE}" || die
99 dodoc README doc/orgcard.txt etc/ORG-NEWS
100 use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
101 }