From: | "Ulrich Mueller (ulm)" <ulm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-editors/jasspa-microemacs: ChangeLog jasspa-microemacs-20091011-r1.ebuild |
Date: | Sun, 31 Jan 2010 16:24:14 |
Message-Id: | E1Nbcap-0007G2-N8@stork.gentoo.org |
1 | ulm 10/01/31 16:24:11 |
2 | |
3 | Modified: ChangeLog |
4 | Added: jasspa-microemacs-20091011-r1.ebuild |
5 | Log: |
6 | Add prefix keywords, change EAPI to 3. |
7 | (Portage version: 2.2_rc62/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.42 app-editors/jasspa-microemacs/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/jasspa-microemacs/ChangeLog?rev=1.42&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/jasspa-microemacs/ChangeLog?rev=1.42&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/jasspa-microemacs/ChangeLog?r1=1.41&r2=1.42 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-editors/jasspa-microemacs/ChangeLog,v |
19 | retrieving revision 1.41 |
20 | retrieving revision 1.42 |
21 | diff -u -r1.41 -r1.42 |
22 | --- ChangeLog 2 Dec 2009 19:40:54 -0000 1.41 |
23 | +++ ChangeLog 31 Jan 2010 16:24:11 -0000 1.42 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for app-editors/jasspa-microemacs |
26 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-editors/jasspa-microemacs/ChangeLog,v 1.41 2009/12/02 19:40:54 ulm Exp $ |
28 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-editors/jasspa-microemacs/ChangeLog,v 1.42 2010/01/31 16:24:11 ulm Exp $ |
30 | + |
31 | +*jasspa-microemacs-20091011-r1 (31 Jan 2010) |
32 | + |
33 | + 31 Jan 2010; Ulrich Mueller <ulm@g.o> |
34 | + +jasspa-microemacs-20091011-r1.ebuild: |
35 | + Add prefix keywords, change EAPI to 3. |
36 | |
37 | 02 Dec 2009; Ulrich Mueller <ulm@g.o> |
38 | -files/20050505-ncurses.patch: |
39 | |
40 | |
41 | |
42 | 1.1 app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: jasspa-microemacs-20091011-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2010 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r1.ebuild,v 1.1 2010/01/31 16:24:11 ulm Exp $ |
52 | |
53 | EAPI=3 |
54 | |
55 | inherit eutils toolchain-funcs |
56 | |
57 | DESCRIPTION="Jasspa Microemacs" |
58 | HOMEPAGE="http://www.jasspa.com/" |
59 | SRC_URI="http://www.jasspa.com/release_20090909/jasspa-mesrc-${PV}.tar.gz |
60 | !nanoemacs? ( |
61 | http://www.jasspa.com/release_20090909/jasspa-memacros-${PV}.tar.gz |
62 | http://www.jasspa.com/release_20090909/jasspa-mehtml-${PV}.tar.gz |
63 | http://www.jasspa.com/release_20060909/meicons-extra.tar.gz )" |
64 | |
65 | LICENSE="GPL-2" |
66 | SLOT="0" |
67 | KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" |
68 | IUSE="nanoemacs X xpm" |
69 | |
70 | RDEPEND="sys-libs/ncurses |
71 | X? ( x11-libs/libX11 |
72 | xpm? ( x11-libs/libXpm ) ) |
73 | nanoemacs? ( !app-editors/ne )" |
74 | |
75 | DEPEND="${RDEPEND} |
76 | X? ( x11-libs/libXt |
77 | x11-proto/xproto )" |
78 | |
79 | S="${WORKDIR}/me${PV:2}/src" |
80 | |
81 | src_unpack() { |
82 | unpack jasspa-mesrc-${PV}.tar.gz |
83 | if ! use nanoemacs; then |
84 | mkdir "${WORKDIR}/jasspa" |
85 | cd "${WORKDIR}/jasspa" |
86 | # everything except jasspa-mesrc |
87 | unpack ${A/jasspa-mesrc-${PV}.tar.gz/} |
88 | fi |
89 | } |
90 | |
91 | src_prepare() { |
92 | epatch "${FILESDIR}/${PV}-ncurses.patch" |
93 | |
94 | # allow for some variables to be passed to make |
95 | sed -i '/make/s/\$OPTIONS/& CC="$CC" COPTIMISE="$CFLAGS" STRIP=true/' \ |
96 | build || die "sed failed" |
97 | } |
98 | |
99 | src_compile() { |
100 | local pkgdatadir="${EPREFIX}/usr/share/jasspa" |
101 | local me="" type=c |
102 | use nanoemacs && me="-ne" |
103 | use X && type=cw |
104 | use xpm || export XPM_INCLUDE=. # prevent Xpm autodetection |
105 | |
106 | CC="$(tc-getCC)" ./build ${me} \ |
107 | -t ${type} \ |
108 | -p "~/.jasspa:${pkgdatadir}/site:${pkgdatadir}" \ |
109 | || die "build failed" |
110 | } |
111 | |
112 | src_install() { |
113 | local me=me type=c |
114 | use nanoemacs && me=ne |
115 | use X && type=cw |
116 | newbin ${me}${type} ${me} || die "newbin failed" |
117 | |
118 | if ! use nanoemacs; then |
119 | keepdir /usr/share/jasspa/site |
120 | insinto /usr/share |
121 | doins -r "${WORKDIR}/jasspa" |
122 | if use X; then |
123 | insinto /usr/share/applications |
124 | doins "${FILESDIR}/${PN}.desktop" |
125 | fi |
126 | fi |
127 | |
128 | dodoc ../faq.txt ../readme.txt ../change.log || die "dodoc failed" |
129 | } |