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.8.11.ebuild
Date: Tue, 05 Jun 2012 22:00:50
Message-Id: 20120605220037.724592004B@flycatcher.gentoo.org
1 ulm 12/06/05 22:00:37
2
3 Modified: ChangeLog
4 Added: org-mode-7.8.11.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.10.65/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.144 app-emacs/org-mode/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/ChangeLog?rev=1.144&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/ChangeLog?rev=1.144&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/ChangeLog?r1=1.143&r2=1.144
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emacs/org-mode/ChangeLog,v
20 retrieving revision 1.143
21 retrieving revision 1.144
22 diff -u -r1.143 -r1.144
23 --- ChangeLog 22 Apr 2012 19:51:51 -0000 1.143
24 +++ ChangeLog 5 Jun 2012 22:00:37 -0000 1.144
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.143 2012/04/22 19:51:51 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/ChangeLog,v 1.144 2012/06/05 22:00:37 ulm Exp $
30 +
31 +*org-mode-7.8.11 (05 Jun 2012)
32 +
33 + 05 Jun 2012; Ulrich Müller <ulm@g.o> +org-mode-7.8.11.ebuild:
34 + Version bump.
35
36 *org-mode-7.8.09 (22 Apr 2012)
37
38
39
40
41 1.1 app-emacs/org-mode/org-mode-7.8.11.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/org-mode-7.8.11.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/org-mode-7.8.11.ebuild?rev=1.1&content-type=text/plain
45
46 Index: org-mode-7.8.11.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.8.11.ebuild,v 1.1 2012/06/05 22:00:37 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 as-is )"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-macos"
64 IUSE="contrib"
65
66 S="${WORKDIR}/org-${PV}"
67 ELISP_PATCHES="${PN}-7.8.03-Makefile.patch"
68 # Remove autoload file to make sure that it is regenerated with
69 # the right Emacs version.
70 ELISP_REMOVE="lisp/org-install.el"
71 SITEFILE="50${PN}-gentoo-7.8.03.el"
72
73 src_compile() {
74 emake datadir="${SITEETC}/${PN}"
75 }
76
77 src_install() {
78 emake \
79 prefix="${ED}/usr" \
80 lispdir="${ED}${SITELISP}/${PN}" \
81 datadir="${ED}${SITEETC}/${PN}" \
82 infodir="${ED}/usr/share/info" \
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/odt 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 doinfo doc/org
100 dodoc README doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
101 }