Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/gtypist: ChangeLog gtypist-2.8.5-r1.ebuild
Date: Mon, 26 Sep 2011 13:59:53
Message-Id: 20110926135942.CC99E20033@flycatcher.gentoo.org
1 darkside 11/09/26 13:59:42
2
3 Modified: ChangeLog gtypist-2.8.5-r1.ebuild
4 Log:
5 style changes, add Gentoo Prefix support
6
7 (Portage version: 2.1.10.11/cvs/Linux i686)
8
9 Revision Changes Path
10 1.29 app-misc/gtypist/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/ChangeLog?rev=1.29&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/ChangeLog?rev=1.29&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/ChangeLog?r1=1.28&r2=1.29
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/gtypist/ChangeLog,v
19 retrieving revision 1.28
20 retrieving revision 1.29
21 diff -u -r1.28 -r1.29
22 --- ChangeLog 24 Sep 2011 20:53:13 -0000 1.28
23 +++ ChangeLog 26 Sep 2011 13:59:42 -0000 1.29
24 @@ -1,6 +1,9 @@
25 # ChangeLog for app-misc/gtypist
26 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/gtypist/ChangeLog,v 1.28 2011/09/24 20:53:13 darkside Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-misc/gtypist/ChangeLog,v 1.29 2011/09/26 13:59:42 darkside Exp $
29 +
30 + 26 Sep 2011; Jeremy Olexa <darkside@g.o> gtypist-2.8.5-r1.ebuild:
31 + style changes, add Gentoo Prefix support
32
33 *gtypist-2.8.5-r1 (24 Sep 2011)
34
35
36
37
38 1.2 app-misc/gtypist/gtypist-2.8.5-r1.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/gtypist-2.8.5-r1.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/gtypist-2.8.5-r1.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/gtypist-2.8.5-r1.ebuild?r1=1.1&r2=1.2
43
44 Index: gtypist-2.8.5-r1.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/app-misc/gtypist/gtypist-2.8.5-r1.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- gtypist-2.8.5-r1.ebuild 24 Sep 2011 20:53:13 -0000 1.1
51 +++ gtypist-2.8.5-r1.ebuild 26 Sep 2011 13:59:42 -0000 1.2
52 @@ -1,19 +1,19 @@
53 # Copyright 1999-2011 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/app-misc/gtypist/gtypist-2.8.5-r1.ebuild,v 1.1 2011/09/24 20:53:13 darkside Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/app-misc/gtypist/gtypist-2.8.5-r1.ebuild,v 1.2 2011/09/26 13:59:42 darkside Exp $
57
58 -EAPI=2
59 +EAPI=4
60
61 inherit eutils elisp-common
62
63 DESCRIPTION="Universal typing tutor"
64 HOMEPAGE="http://www.gnu.org/software/gtypist/"
65 SRC_URI="mirror://gnu/gtypist/${P}.tar.gz
66 - mirror://gentoo/colemak.typ.gz"
67 + http://colemak.com/pub/learn/colemak.typ"
68
69 LICENSE="GPL-2 public-domain"
70 SLOT="0"
71 -KEYWORDS="~amd64 ~ppc ~x86"
72 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
73 IUSE="nls emacs xemacs"
74
75 DEPEND=">=sys-libs/ncurses-5.2
76 @@ -24,6 +24,10 @@
77
78 SITEFILE=50${PN}-gentoo.el
79
80 +src_unpack() {
81 + unpack ${P}.tar.gz
82 +}
83 +
84 src_prepare() {
85 epatch "${FILESDIR}"/${PN}-2.8.3-xemacs-compat.patch
86 }
87 @@ -34,7 +38,7 @@
88 lispdir="${SITELISP}/${PN}"
89 einfo "Configuring to build with GNU Emacs support"
90 elif use xemacs; then
91 - lispdir="/usr/lib/xemacs/site-packages/lisp/${PN}"
92 + lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/lisp/${PN}"
93 einfo "Configuring to build with XEmacs support"
94 fi
95
96 @@ -44,11 +48,11 @@
97 }
98
99 src_install() {
100 - emake DESTDIR="${D}" install || die
101 - dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die
102 + emake DESTDIR="${D}" install
103 + dodoc AUTHORS ChangeLog NEWS README THANKS TODO
104
105 insinto /usr/share/gtypist
106 - doins "${WORKDIR}"/colemak.typ
107 + doins ${DISTDIR}/colemak.typ
108
109 if use emacs; then
110 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die