summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/ccpn-data/ChangeLog10
-rw-r--r--sci-libs/ccpn-data/ccpn-data-2.1.5.ebuild36
-rw-r--r--sci-libs/ccpn-data/metadata.xml8
3 files changed, 54 insertions, 0 deletions
diff --git a/sci-libs/ccpn-data/ChangeLog b/sci-libs/ccpn-data/ChangeLog
new file mode 100644
index 000000000000..a46a5a851f84
--- /dev/null
+++ b/sci-libs/ccpn-data/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-libs/ccpn-data
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ChangeLog,v 1.1 2010/09/21 13:09:42 jlec Exp $
+
+*ccpn-data-2.1.5 (21 Sep 2010)
+
+ 21 Sep 2010; Justin Lecher <jlec@gentoo.org> +ccpn-data-2.1.5.ebuild,
+ +metadata.xml:
+ Split out from sci-chemistry/ccpn
+
diff --git a/sci-libs/ccpn-data/ccpn-data-2.1.5.ebuild b/sci-libs/ccpn-data/ccpn-data-2.1.5.ebuild
new file mode 100644
index 000000000000..88dbe7db3d75
--- /dev/null
+++ b/sci-libs/ccpn-data/ccpn-data-2.1.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ccpn-data-2.1.5.ebuild,v 1.1 2010/09/21 13:09:42 jlec Exp $
+
+EAPI="3"
+
+inherit portability versionator
+
+MY_PN="${PN}mr"
+MY_PV="$(replace_version_separator 3 _ ${PV%%_p*})"
+
+DESCRIPTION="The Collaborative Computing Project for NMR - Data"
+HOMEPAGE="http://www.ccpn.ac.uk/ccpn"
+SRC_URI="http://www.bio.cam.ac.uk/ccpn/download/${MY_PN}/analysis${MY_PV}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="CCPN"
+IUSE=""
+
+RDEPEND="!<sci-chemistry/ccpn-${PV}"
+DEPEND=""
+
+RESTRICT="binchecks strip"
+S="${WORKDIR}"/ccpnmr/ccpnmr2.1
+
+src_install() {
+ dodir "${EPREFIX}"/usr/share/doc/${PF}/html
+ sed \
+ -e "s:../ccpnmr2.1:${EPREFIX}/usr/share/doc/${PF}/html:g" \
+ ../doc/index.html > "${ED}"/usr/share/doc/${PF}/html/index.html || die
+ treecopy $(find python/ -name doc -type d) "${ED}"/usr/share/doc/${PF}/html/
+ dohtml -r doc/* || die
+ insinto /usr/share/ccpn
+ doins -r data model || die
+}
diff --git a/sci-libs/ccpn-data/metadata.xml b/sci-libs/ccpn-data/metadata.xml
new file mode 100644
index 000000000000..dde7ca88a50f
--- /dev/null
+++ b/sci-libs/ccpn-data/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-chemistry</herd>
+<maintainer>
+ <email>jlec@gentoo.org</email>
+</maintainer>
+</pkgmetadata>