Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/xgks-pmel: xgks-pmel-2.5.5.ebuild ChangeLog
Date: Fri, 25 May 2012 07:51:46
Message-Id: 20120525075136.045E72004B@flycatcher.gentoo.org
1 scarabeus 12/05/25 07:51:36
2
3 Modified: xgks-pmel-2.5.5.ebuild ChangeLog
4 Log:
5 Update to eapi4 -> bit cleanup.
6
7 (Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.8 sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild?rev=1.8&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild?rev=1.8&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild?r1=1.7&r2=1.8
15
16 Index: xgks-pmel-2.5.5.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild,v
19 retrieving revision 1.7
20 retrieving revision 1.8
21 diff -u -r1.7 -r1.8
22 --- xgks-pmel-2.5.5.ebuild 21 Jun 2011 14:44:33 -0000 1.7
23 +++ xgks-pmel-2.5.5.ebuild 25 May 2012 07:51:35 -0000 1.8
24 @@ -1,12 +1,15 @@
25 -# Copyright 1999-2011 Gentoo Foundation
26 +# Copyright 1999-2012 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild,v 1.7 2011/06/21 14:44:33 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild,v 1.8 2012/05/25 07:51:35 scarabeus Exp $
30 +
31 +EAPI=4
32
33 inherit eutils fortran-2 toolchain-funcs multilib
34
35 DESCRIPTION="PMEL fork of XGKS, an X11-based version of the ANSI Graphical Kernel System."
36 HOMEPAGE="http://www.gentoogeek.org/viewvc/Linux/xgks-pmel/"
37 SRC_URI="http://www.gentoogeek.org/files/${P}.tar.gz"
38 +
39 LICENSE="UCAR-Unidata"
40 SLOT="0"
41 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
42 @@ -20,63 +23,61 @@
43 sys-devel/flex
44 sys-apps/groff"
45
46 -src_unpack() {
47 - unpack ${A}
48 - cd "${S}"
49 +src_prepare() {
50 epatch "${FILESDIR}"/aclocal.patch
51 }
52
53 -src_compile() {
54 +src_configure() {
55 sed -i -e "s:lib64:$(get_libdir):g" port/master.mk.in \
56 - fontdb/Makefile.in || die "sed 1 failed"
57 + fontdb/Makefile.in || die
58
59 CFLAGS=${CFLAGS} LD_X11='-L/usr/$(get_libdir) -lX11' \
60 FC=$(tc-getFC) CC=$(tc-getCC) OS=linux \
61 ./configure --prefix=/usr --exec_prefix=/usr/bin \
62 - || die "configure failed"
63 + || die
64 +}
65
66 +src_compile() {
67 sed -i -e "s:port/all port/install:port/all:g" Makefile \
68 - || die "sed 2 failed"
69 + || die
70
71 # Fails parallel build, bug #295724
72 - emake -j1 || die "make failed"
73 + emake -j1
74
75 cd src/fortran
76 - emake -j1 || die "make fortran failed"
77 + emake -j1
78 }
79
80 src_install() {
81 cd "${S}"/progs
82
83 - for tool in {defcolors,font,mi,pline,pmark}
84 - do
85 - newbin ${tool} xgks-${tool} || die
86 + for tool in {defcolors,font,mi,pline,pmark}; do
87 + newbin ${tool} xgks-${tool}
88 done
89
90 cd "${S}"
91 - dolib.a src/lib/libxgks.a || die
92 + dolib.a src/lib/libxgks.a
93
94 - dodoc COPYRIGHT HISTORY INSTALL README || die
95 - doman doc/{xgks.3,xgks_synop.3} || die
96 + dodoc COPYRIGHT HISTORY INSTALL README
97 + doman doc/{xgks.3,xgks_synop.3}
98 if use doc; then
99 - newdoc doc/binding/cbinding.me cbinding || die
100 - newdoc doc/userdoc/userdoc.me userdoc || die
101 + newdoc doc/binding/cbinding.me cbinding
102 + newdoc doc/userdoc/userdoc.me userdoc
103 insinto /usr/share/doc/${P}/examples
104 - doins progs/{hanoi.c,star.c} || die
105 + doins progs/{hanoi.c,star.c}
106 fi
107
108 insinto /usr/include/xgks
109 - doins src/lib/gks*.h || die
110 - doins src/lib/gksm/gksm*.h || die
111 - doins src/fortran/f*.h || die
112 - doins src/lib/w*.h || die
113 - doins src/lib/{input.h,metafile.h,polylines.h,polymarkers.h,text.h} \
114 - || die
115 + doins src/lib/gks*.h
116 + doins src/lib/gksm/gksm*.h
117 + doins src/fortran/f*.h
118 + doins src/lib/w*.h
119 + doins src/lib/{input.h,metafile.h,polylines.h,polymarkers.h,text.h}
120
121 insinto /usr/include
122 - doins src/lib/xgks.h || die
123 - doins port/udposix.h || die
124 + doins src/lib/xgks.h
125 + doins port/udposix.h
126
127 insinto /usr/share/xgksfonts
128 - doins fontdb/{[1-9],*.gksfont} || die
129 + doins fontdb/{[1-9],*.gksfont}
130 }
131
132
133
134 1.8 sci-libs/xgks-pmel/ChangeLog
135
136 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/xgks-pmel/ChangeLog?rev=1.8&view=markup
137 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/xgks-pmel/ChangeLog?rev=1.8&content-type=text/plain
138 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/xgks-pmel/ChangeLog?r1=1.7&r2=1.8
139
140 Index: ChangeLog
141 ===================================================================
142 RCS file: /var/cvsroot/gentoo-x86/sci-libs/xgks-pmel/ChangeLog,v
143 retrieving revision 1.7
144 retrieving revision 1.8
145 diff -u -r1.7 -r1.8
146 --- ChangeLog 21 Jun 2011 14:44:33 -0000 1.7
147 +++ ChangeLog 25 May 2012 07:51:35 -0000 1.8
148 @@ -1,6 +1,9 @@
149 # ChangeLog for sci-libs/xgks-pmel
150 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
151 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/xgks-pmel/ChangeLog,v 1.7 2011/06/21 14:44:33 jlec Exp $
152 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
153 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/xgks-pmel/ChangeLog,v 1.8 2012/05/25 07:51:35 scarabeus Exp $
154 +
155 + 25 May 2012; Tomáš Chvátal <scarabeus@g.o> xgks-pmel-2.5.5.ebuild:
156 + Update to eapi4 -> bit cleanup.
157
158 21 Jun 2011; Justin Lecher <jlec@g.o> xgks-pmel-2.5.5.ebuild:
159 Add dependency on virtual/fortran