From: | "Jeffrey Gardner (je_fro)" <je_fro@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-chemistry/chemtool: ChangeLog chemtool-1.6.12.ebuild |
Date: | Sat, 20 Jun 2009 01:04:15 |
Message-Id: | E1MHp08-0006zd-8I@stork.gentoo.org |
1 | je_fro 09/06/20 01:04:12 |
2 | |
3 | Modified: ChangeLog |
4 | Added: chemtool-1.6.12.ebuild |
5 | Log: |
6 | Latest version, thanks to lumbrius in bug #274199 and Reinis Danne for the science overlay ebuild. |
7 | (Portage version: 2.1.6.13/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.25 sci-chemistry/chemtool/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/chemtool/ChangeLog?rev=1.25&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/chemtool/ChangeLog?rev=1.25&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/chemtool/ChangeLog?r1=1.24&r2=1.25 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/ChangeLog,v |
19 | retrieving revision 1.24 |
20 | retrieving revision 1.25 |
21 | diff -u -r1.24 -r1.25 |
22 | --- ChangeLog 26 Apr 2008 13:03:47 -0000 1.24 |
23 | +++ ChangeLog 20 Jun 2009 01:04:12 -0000 1.25 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for sci-chemistry/chemtool |
26 | -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/ChangeLog,v 1.24 2008/04/26 13:03:47 markusle Exp $ |
28 | +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/ChangeLog,v 1.25 2009/06/20 01:04:12 je_fro Exp $ |
30 | + |
31 | +*chemtool-1.6.12 (20 Jun 2009) |
32 | + |
33 | + 20 Jun 2009; Jeff Gardner <je_fro@g.o> +chemtool-1.6.12.ebuild: |
34 | + Latest version, thanks to lumbrius in bug #274199 and Reinis Danne for the |
35 | + science overlay ebuild. |
36 | |
37 | *chemtool-1.6.11 (26 Apr 2008) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 sci-chemistry/chemtool/chemtool-1.6.12.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/chemtool/chemtool-1.6.12.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/chemtool/chemtool-1.6.12.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: chemtool-1.6.12.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2009 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/chemtool/chemtool-1.6.12.ebuild,v 1.1 2009/06/20 01:04:12 je_fro Exp $ |
52 | |
53 | inherit eutils kde-functions |
54 | |
55 | DESCRIPTION="A GTK program for drawing organic molecules" |
56 | HOMEPAGE="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/" |
57 | SRC_URI="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/${P}.tar.gz" |
58 | |
59 | LICENSE="GPL-2" |
60 | SLOT="0" |
61 | KEYWORDS="~x86 ~amd64 ~ppc" |
62 | IUSE="gnome kde nls" |
63 | |
64 | RDEPEND="media-gfx/transfig |
65 | =x11-libs/gtk+-2* |
66 | kde? ( =kde-base/kdelibs-3.5* ) |
67 | x86? ( media-libs/libemf )" |
68 | |
69 | DEPEND="${RDEPEND} |
70 | dev-util/pkgconfig" |
71 | |
72 | src_unpack() { |
73 | unpack ${A} |
74 | cd "${S}" |
75 | } |
76 | |
77 | src_compile() { |
78 | local config_opts |
79 | local mycppflags |
80 | if ! use kde; then |
81 | unset KDEDIR |
82 | config_opts="${config_opts} --without-kdedir" |
83 | else |
84 | set-kdedir |
85 | config_opts="${config_opts} --with-kdedir=${KDEDIR}" |
86 | fi |
87 | if [ ${ARCH} = "x86" ]; then |
88 | config_opts="${config_opts} --enable-emf" |
89 | mycppflags="${mycppflags} -I /usr/include/libEMF" |
90 | fi |
91 | |
92 | sed -e "s:\(^CPPFLAGS.*\):\1 ${mycppflags}:" -i Makefile.in || \ |
93 | die "could not append cppflags" |
94 | |
95 | if use gnome ; then |
96 | config_opts="${config_opts} --with-gnomedir=/usr" ; |
97 | else |
98 | config_opts="${config_opts} --without-gnomedir" ; |
99 | fi |
100 | |
101 | econf ${config_opts} --enable-menu \ |
102 | || die "./configure failed" |
103 | emake || die "make failed" |
104 | } |
105 | |
106 | src_install() { |
107 | make DESTDIR="${D}" install || die "make install failed" |
108 | dodoc ChangeLog INSTALL README TODO |
109 | insinto /usr/share/${PN}/examples |
110 | doins "${S}"/examples/* |
111 | if ! use nls; then rm -rf "${D}"/usr/share/locale; fi |
112 | |
113 | insinto /usr/share/pixmaps |
114 | doins chemtool.xpm |
115 | make_desktop_entry ${PN} Chemtool ${PN} "Education;Science;Chemistry" |
116 | } |