summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/coot-data')
-rw-r--r--sci-libs/coot-data/ChangeLog10
-rw-r--r--sci-libs/coot-data/coot-data-2-r1.ebuild33
-rw-r--r--sci-libs/coot-data/metadata.xml2
3 files changed, 42 insertions, 3 deletions
diff --git a/sci-libs/coot-data/ChangeLog b/sci-libs/coot-data/ChangeLog
index dccb4d7c68e8..e9adec7e2324 100644
--- a/sci-libs/coot-data/ChangeLog
+++ b/sci-libs/coot-data/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/coot-data
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/coot-data/ChangeLog,v 1.13 2011/11/21 15:31:44 jlec Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coot-data/ChangeLog,v 1.14 2013/07/17 07:18:31 jlec Exp $
+
+*coot-data-2-r1 (17 Jul 2013)
+
+ 17 Jul 2013; Justin Lecher <jlec@gentoo.org> +coot-data-2-r1.ebuild,
+ metadata.xml:
+ Bump to EAPI=5
21 Nov 2011; Justin Lecher <jlec@gentoo.org> coot-data-2.ebuild:
keyworded for ~x86-macos ~x64-macos, tested by Johan Hattne #390123
diff --git a/sci-libs/coot-data/coot-data-2-r1.ebuild b/sci-libs/coot-data/coot-data-2-r1.ebuild
new file mode 100644
index 000000000000..ed7dba53524e
--- /dev/null
+++ b/sci-libs/coot-data/coot-data-2-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coot-data/coot-data-2-r1.ebuild,v 1.1 2013/07/17 07:18:31 jlec Exp $
+
+EAPI=5
+
+DESCRIPTION="Data for the Crystallographic Object-Oriented Toolkit"
+HOMEPAGE="http://www.biop.ox.ac.uk/coot/"
+#SRC_URI="http://lmb.bioch.ox.ac.uk/coot/software/dependencies/reference-structures.tar.gz"
+SRC_URI="mirror://gentoo/reference-structures-${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE=""
+
+RESTRICT="binchecks strip"
+
+S="${WORKDIR}"
+
+src_install() {
+ insinto /usr/share/coot
+ doins -r reference-structures
+
+ # Coot looks in the wrong spot for the monomer library
+ # Listens to ccp4's CCP4_LIB rather than CLIBD_MON
+ cat >> "${T}"/coot <<- EOF
+ COOT_REFMAC_LIB_DIR="${EPREFIX}/usr/share/ccp4/"
+ COOT_REF_STRUCTS="${EPREFIX}/usr/share/coot/reference-structures/"
+ EOF
+
+ newenvd "${T}"/coot 20coot
+}
diff --git a/sci-libs/coot-data/metadata.xml b/sci-libs/coot-data/metadata.xml
index 9ac9ffdb3a41..51fdedab1b38 100644
--- a/sci-libs/coot-data/metadata.xml
+++ b/sci-libs/coot-data/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>