summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-06-16 22:16:17 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-06-16 22:16:17 +0000
commite4715f52186f044a5cb930024928ec363ca07284 (patch)
tree66ccad2467ae0ee6df9d9a1956494f87873f6f6a /sci-libs/coot-data/coot-data-1.ebuild
parentAdd port of GnomeCanvas widget to GTK+, needed for sci-chemistry/coot. (diff)
downloadhistorical-e4715f52186f044a5cb930024928ec363ca07284.tar.gz
historical-e4715f52186f044a5cb930024928ec363ca07284.tar.bz2
historical-e4715f52186f044a5cb930024928ec363ca07284.zip
Add rarely-changing data for sci-chemistry/coot, so we don't reinstall it on every Coot upgrade.
Package-Manager: portage-2.1.1_pre1
Diffstat (limited to 'sci-libs/coot-data/coot-data-1.ebuild')
-rw-r--r--sci-libs/coot-data/coot-data-1.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/sci-libs/coot-data/coot-data-1.ebuild b/sci-libs/coot-data/coot-data-1.ebuild
new file mode 100644
index 000000000000..dc4f0e34ba4c
--- /dev/null
+++ b/sci-libs/coot-data/coot-data-1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coot-data/coot-data-1.ebuild,v 1.1 2006/06/16 22:16:17 spyderous Exp $
+
+DESCRIPTION="Data for the Crystallographic Object-Oriented Toolkit"
+HOMEPAGE="http://www.ysbl.york.ac.uk/~emsley/coot/"
+SRC_URI="http://www.ysbl.york.ac.uk/~emsley/software/extras/reference-structures.tar.gz
+ http://www.ysbl.york.ac.uk/~emsley/software/extras/refmac-lib-data-monomers.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_install() {
+ dodir /usr/share/coot
+ ebegin "Copying reference structures to ${D}/usr/share/coot/"
+ cp -R ${WORKDIR}/reference-structures ${D}/usr/share/coot/
+ eend
+ ebegin "Copying monomer library to ${D}/usr/share/coot/"
+ cp -R ${WORKDIR}/lib ${D}/usr/share/coot/
+ eend
+
+ # Coot looks in the wrong spot for the monomer library
+ # Listens to ccp4's CCP4_LIB rather than CLIBD_MON
+ cat << EOF >> ${T}/coot
+COOT_REFMAC_LIB_DIR="${ROOT}usr/share/coot/lib"
+EOF
+
+ newenvd ${T}/coot 20coot
+}