Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/reduce: ChangeLog reduce-3.13.080428-r1.ebuild reduce-2.21.030604.ebuild reduce-3.02.060709.ebuild
Date: Fri, 05 Feb 2010 23:41:07
Message-Id: E1NdXnN-0000SS-84@stork.gentoo.org
1 jlec 10/02/05 23:41:05
2
3 Modified: ChangeLog
4 Added: reduce-3.13.080428-r1.ebuild
5 Removed: reduce-2.21.030604.ebuild reduce-3.02.060709.ebuild
6 Log:
7 Clean old versions, fix for bug 280857 & bug 280858
8 (Portage version: 2.2_rc62/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.13 sci-chemistry/reduce/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/reduce/ChangeLog?rev=1.13&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/reduce/ChangeLog?rev=1.13&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/reduce/ChangeLog?r1=1.12&r2=1.13
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/ChangeLog,v
20 retrieving revision 1.12
21 retrieving revision 1.13
22 diff -u -r1.12 -r1.13
23 --- ChangeLog 29 May 2009 00:43:56 -0000 1.12
24 +++ ChangeLog 5 Feb 2010 23:41:04 -0000 1.13
25 @@ -1,6 +1,13 @@
26 # ChangeLog for sci-chemistry/reduce
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/ChangeLog,v 1.12 2009/05/29 00:43:56 dberkholz Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/ChangeLog,v 1.13 2010/02/05 23:41:04 jlec Exp $
31 +
32 +*reduce-3.13.080428-r1 (05 Feb 2010)
33 +
34 + 05 Feb 2010; Justin Lecher (jlec) <jlec@g.o>
35 + +files/3.13.080428-LDFLAGS.patch, -reduce-2.21.030604.ebuild,
36 + -reduce-3.02.060709.ebuild, +reduce-3.13.080428-r1.ebuild:
37 + Clean old versions, fix for 280857 & 280858
38
39 29 May 2009; Donnie Berkholz <dberkholz@g.o>;
40 reduce-3.13.080428.ebuild:
41
42
43
44 1.1 sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: reduce-3.13.080428-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild,v 1.1 2010/02/05 23:41:04 jlec Exp $
54
55 EAPI="3"
56
57 inherit eutils toolchain-funcs
58
59 MY_P="${PN}.${PV}.src"
60
61 DESCRIPTION="Adds hydrogens to a Protein Data Bank (PDB) molecule structure file"
62 HOMEPAGE="http://kinemage.biochem.duke.edu/software/reduce.php"
63 SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/reduce31/${MY_P}.tgz"
64
65 LICENSE="richardson"
66 SLOT="0"
67 KEYWORDS="~amd64 ~ppc ~x86"
68 IUSE=""
69
70 RDEPEND=""
71 DEPEND="${RDEPEND}
72 app-arch/unzip"
73
74 S="${WORKDIR}/${MY_P}"
75
76 src_prepare() {
77 epatch "${FILESDIR}"/${PV}-LDFLAGS.patch
78 }
79
80 src_compile() {
81 DICT_DIR="/usr/share/reduce"
82 DICT_FILE="reduce_het_dict.txt"
83
84 emake \
85 CC="$(tc-getCC)" \
86 CXX="$(tc-getCXX)" \
87 OPT="${CXXFLAGS}" \
88 DICT_HOME="${EPREFIX}/${DICT_DIR}/${DICT_FILE}" \
89 || die "make failed"
90 }
91
92 src_install() {
93 dobin "${S}"/reduce_src/reduce || die
94 insinto ${DICT_DIR}
95 doins "${S}"/${DICT_FILE} "${S}"/reduce_wwPDB_het_dict.txt || die
96 dodoc README.usingReduce.txt || die
97 }
98
99 pkg_info() {
100 elog "To use the PDBv3 dictionary instead of PDBv2, set the environment"
101 elog "variable REDUCE_HET_DICT to /usr/share/reduce/reduce_wwPDB_het_dict.txt"
102 }
103
104 pkg_postinst() {
105 pkg_info
106 }