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.4-r1.ebuild
Date: Sun, 30 Jan 2011 12:16:09
Message-Id: 20110130121559.B22BE2004E@flycatcher.gentoo.org
1 ulm 11/01/30 12:15:59
2
3 Modified: ChangeLog
4 Added: org-mode-7.4-r1.ebuild
5 Log:
6 Don't call prepalldocs, fixes bug 262925.
7
8 (Portage version: 2.1.9.35/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.124 app-emacs/org-mode/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/ChangeLog?rev=1.124&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/ChangeLog?rev=1.124&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/ChangeLog?r1=1.123&r2=1.124
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emacs/org-mode/ChangeLog,v
20 retrieving revision 1.123
21 retrieving revision 1.124
22 diff -u -r1.123 -r1.124
23 --- ChangeLog 8 Jan 2011 02:16:30 -0000 1.123
24 +++ ChangeLog 30 Jan 2011 12:15:59 -0000 1.124
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-emacs/org-mode
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/ChangeLog,v 1.123 2011/01/08 02:16:30 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/ChangeLog,v 1.124 2011/01/30 12:15:59 ulm Exp $
30 +
31 +*org-mode-7.4-r1 (30 Jan 2011)
32 +
33 + 30 Jan 2011; Ulrich Mueller <ulm@g.o> +org-mode-7.4-r1.ebuild:
34 + Don't call prepalldocs, it is no longer needed with EAPI 4. Bug 262925.
35
36 08 Jan 2011; Ulrich Mueller <ulm@g.o> -org-mode-7.01h-r1.ebuild,
37 -org-mode-7.02.ebuild:
38
39
40
41 1.1 app-emacs/org-mode/org-mode-7.4-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/org-mode-7.4-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/org-mode-7.4-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: org-mode-7.4-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2011 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.4-r1.ebuild,v 1.1 2011/01/30 12:15:59 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 )"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
64 IUSE="contrib"
65
66 S="${WORKDIR}/org-${PV}"
67 SITEFILE="50${PN}-gentoo.el"
68
69 src_prepare() {
70 # Remove autoload file to make sure that it is regenerated with
71 # the right Emacs version.
72 rm -f lisp/org-install.el
73 }
74
75 # This is NOT redundant, elisp.eclass redefines src_compile.
76 src_compile() {
77 emake
78 }
79
80 src_install() {
81 emake \
82 prefix="${D}/usr" \
83 lispdir="${D}${SITELISP}/${PN}" \
84 infodir="${D}/usr/share/info" \
85 install
86
87 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
88
89 doinfo doc/org
90 dodoc README Changes.org doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
91
92 if use contrib; then
93 elisp-install ${PN}/contrib contrib/lisp/*org*.el || die
94 insinto /usr/share/doc/${PF}/contrib
95 doins -r contrib/README contrib/babel contrib/scripts
96 find "${D}/usr/share/doc/${PF}/contrib" -type f -name '.*' \
97 -exec rm -f '{}' '+'
98 fi
99 }