summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-12-07 11:45:08 +0000
committerJustin Lecher <jlec@gentoo.org>2012-12-07 11:45:08 +0000
commitfd7d0a9dcf14bf046ddad3804e40569d38e23327 (patch)
treeb6a047fdd0294af08ba5aaf8ef71232486ad9526 /sci-chemistry
parentStable for amd64, wrt bug #364053 (diff)
downloadgentoo-2-fd7d0a9dcf14bf046ddad3804e40569d38e23327.tar.gz
gentoo-2-fd7d0a9dcf14bf046ddad3804e40569d38e23327.tar.bz2
gentoo-2-fd7d0a9dcf14bf046ddad3804e40569d38e23327.zip
sci-chemistry/reduce: Version BUmp
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/reduce/ChangeLog10
-rw-r--r--sci-chemistry/reduce/metadata.xml2
-rw-r--r--sci-chemistry/reduce/reduce-3.16.111118.ebuild51
3 files changed, 60 insertions, 3 deletions
diff --git a/sci-chemistry/reduce/ChangeLog b/sci-chemistry/reduce/ChangeLog
index 1e72bd06414a..e0fc80e28ce3 100644
--- a/sci-chemistry/reduce/ChangeLog
+++ b/sci-chemistry/reduce/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-chemistry/reduce
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/ChangeLog,v 1.20 2011/05/28 13:53:28 ranger Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/ChangeLog,v 1.21 2012/12/07 11:45:08 jlec Exp $
+
+*reduce-3.16.111118 (07 Dec 2012)
+
+ 07 Dec 2012; Justin Lecher <jlec@gentoo.org> +reduce-3.16.111118.ebuild,
+ metadata.xml:
+ Version BUmp
28 May 2011; Brent Baude <ranger@gentoo.org> reduce-3.13.080428-r1.ebuild:
Marking reduce-3.13.080428-r1 ppc for bug 325999
diff --git a/sci-chemistry/reduce/metadata.xml b/sci-chemistry/reduce/metadata.xml
index 9ac9ffdb3a41..e42d0af60f42 100644
--- a/sci-chemistry/reduce/metadata.xml
+++ b/sci-chemistry/reduce/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci-chemistry</herd>
+ <herd>sci-chemistry</herd>
</pkgmetadata>
diff --git a/sci-chemistry/reduce/reduce-3.16.111118.ebuild b/sci-chemistry/reduce/reduce-3.16.111118.ebuild
new file mode 100644
index 000000000000..4051c28e020b
--- /dev/null
+++ b/sci-chemistry/reduce/reduce-3.16.111118.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/reduce-3.16.111118.ebuild,v 1.1 2012/12/07 11:45:08 jlec Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+MY_P="${PN}.${PV}.src"
+
+DESCRIPTION="Adds hydrogens to a Protein Data Bank (PDB) molecule structure file"
+HOMEPAGE="http://kinemage.biochem.duke.edu/software/reduce.php"
+SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/reduce31/${MY_P}.zip"
+
+LICENSE="richardson"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/3.13.080428-LDFLAGS.patch \
+ "${FILESDIR}"/3.14.080821-CFLAGS.patch
+}
+
+src_compile() {
+ DICT_DIR="/usr/share/reduce"
+ DICT_FOLD="reduce_het_dict.txt"
+ DICT_FNEW="reduce_wwPDB_het_dict.txt"
+
+ emake clean
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ OPT="${CXXFLAGS}" \
+ DICT_HOME="${EPREFIX}/${DICT_DIR}/${DICT_FNEW}" \
+ DICT_OLD="${EPREFIX}/${DICT_DIR}/${DICT_FOLD}"
+}
+
+src_install() {
+ dobin "${S}"/reduce_src/reduce
+ insinto ${DICT_DIR}
+ doins "${S}"/${DICT_FOLD} "${S}"/${DICT_FNEW}
+ dodoc README.usingReduce.txt
+}