Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/sc: ChangeLog sc-7.16-r1.ebuild
Date: Thu, 17 Jan 2008 21:02:41
Message-Id: E1JFbsk-00065D-No@stork.gentoo.org
1 dirtyepic 08/01/17 21:02:38
2
3 Modified: ChangeLog
4 Added: sc-7.16-r1.ebuild
5 Log:
6 Revision bump.
7 - redid xmalloc patch
8 - fix syntax error message (bug #143272)
9 - fix multiple Makefile problems
10 - cleanup and QA
11 (Portage version: 2.1.4)
12
13 Revision Changes Path
14 1.17 app-office/sc/ChangeLog
15
16 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/sc/ChangeLog?rev=1.17&view=markup
17 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/sc/ChangeLog?rev=1.17&content-type=text/plain
18 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/sc/ChangeLog?r1=1.16&r2=1.17
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/app-office/sc/ChangeLog,v
23 retrieving revision 1.16
24 retrieving revision 1.17
25 diff -u -r1.16 -r1.17
26 --- ChangeLog 15 May 2007 09:45:54 -0000 1.16
27 +++ ChangeLog 17 Jan 2008 21:02:38 -0000 1.17
28 @@ -1,6 +1,17 @@
29 # ChangeLog for app-office/sc
30 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/app-office/sc/ChangeLog,v 1.16 2007/05/15 09:45:54 bangert Exp $
32 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
33 +# $Header: /var/cvsroot/gentoo-x86/app-office/sc/ChangeLog,v 1.17 2008/01/17 21:02:38 dirtyepic Exp $
34 +
35 +*sc-7.16-r1 (17 Jan 2008)
36 +
37 + 17 Jan 2008; Ryan Hill <dirtyepic@g.o> -files/sc-7.12-amd64.patch,
38 + files/sc-7.16-amd64.patch, +files/sc-7.16-lex-syntax.patch,
39 + +sc-7.16-r1.ebuild:
40 + Revision bump.
41 + - redid xmalloc patch
42 + - fix syntax error message (bug #143272)
43 + - fix multiple Makefile problems
44 + - cleanup and QA
45
46 15 May 2007; Thilo Bangert <bangert@g.o> metadata.xml:
47 add <herd>no-herd</herd>
48
49
50
51 1.1 app-office/sc/sc-7.16-r1.ebuild
52
53 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/sc/sc-7.16-r1.ebuild?rev=1.1&view=markup
54 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/sc/sc-7.16-r1.ebuild?rev=1.1&content-type=text/plain
55
56 Index: sc-7.16-r1.ebuild
57 ===================================================================
58 # Copyright 1999-2008 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 # $Header: /var/cvsroot/gentoo-x86/app-office/sc/sc-7.16-r1.ebuild,v 1.1 2008/01/17 21:02:38 dirtyepic Exp $
61
62 inherit eutils toolchain-funcs
63
64 DESCRIPTION="sc is a free curses-based spreadsheet program that uses key bindings similar to vi and less."
65 SRC_URI="ftp://ibiblio.org/pub/Linux/apps/financial/spreadsheet/${P}.tar.gz"
66 HOMEPAGE="http://ibiblio.org/pub/Linux/apps/financial/spreadsheet/"
67
68 SLOT="0"
69 LICENSE="public-domain"
70 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
71 IUSE=""
72
73 DEPEND=">=sys-libs/ncurses-5.2"
74
75 src_unpack() {
76 unpack ${A}
77 cd "${S}"
78
79 sed -i -e "/^prefix=/ s:/usr:${D}/usr:" \
80 -e "/^MANDIR=/ s:${prefix}/man:${prefix}/share/man:" \
81 -e "/^LIBDIR=/ s:${prefix}/lib:${prefix}/$(get_libdir):" \
82 -e "/^CC=/ s:gcc:$(tc-getCC):" \
83 -e "/^CFLAGS/ s:=-DSYSV3 -O2 -pipe:+=-DSYSV3:" \
84 -e "/strip/ s:^:#:g" \
85 Makefile
86
87 epatch "${FILESDIR}"/${P}-amd64.patch
88 epatch "${FILESDIR}"/${P}-lex-syntax.patch
89 }
90
91 src_compile() {
92 # no autoconf
93 emake prefix="${D}"/usr || die "emake failed"
94 }
95
96 src_install () {
97 # yes the makefile is so dumb it can't even make it's own dirs
98 dodir /usr/bin
99 dodir /usr/$(get_libdir)/sc
100 dodir /usr/share/man/man1
101 emake install || die
102
103 sed -i "s:${D}::g" sc.1
104 doman sc.1 psc.1
105
106 dodoc CHANGES README sc.doc psc.doc tutorial.sc
107 dodoc VMS_NOTES ${P}.lsm TODO SC.MACROS
108 }
109
110
111
112 --
113 gentoo-commits@l.g.o mailing list