# ChangeLog for sci-biology/rebase
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.31 2005/09/10 14:34:40 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.32 2005/10/06 01:51:00 ribosome Exp $
+
+*rebase-510 (06 Oct 2005)
+
+ 06 Oct 2005; Olivier Fisette <ribosome@gentoo.org> +rebase-510.ebuild:
+ New version.
*rebase-509 (10 Sep 2005)
+MD5 8d53d93fdeea4cfd036f6e7483d088af rebase-510.ebuild 1105
MD5 2260532531bb3ba54d56b05b4fbd1af4 rebase-508.ebuild 1105
MD5 05c1988e81e86219aabfd311ce378dc2 rebase-507.ebuild 1099
MD5 acb3c16d9e2d8d281f3fd3a3f298d294 rebase-509.ebuild 1105
-MD5 c8c946400395eb0aedfab8c70b8d0bd6 ChangeLog 5071
+MD5 591ae4292a7767449378cea07e229d2a ChangeLog 5187
MD5 550f8d428f3e75690b43d32df6aa60cd metadata.xml 900
MD5 50cb82dc8445892e84b0858103dbbc74 files/digest-rebase-507 63
MD5 a0725a8e8d46017dbfaec45568377efa files/digest-rebase-508 63
MD5 8b72021e3a53e0c9ab7acaf2d016637e files/digest-rebase-509 63
+MD5 c9253e81b3d46b0f4226ff56b61f4313 files/digest-rebase-510 63
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/rebase-510.ebuild,v 1.1 2005/10/06 01:51:00 ribosome Exp $
+
+DESCRIPTION="A restriction enzyme database"
+HOMEPAGE="http://rebase.neb.com"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+LICENSE="public-domain"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64 ~ppc-macos ~ppc64"
+IUSE="emboss minimal"
+# Minimal build keeps only the indexed files (if applicable) and the documentation.
+# The non-indexed database is not installed.
+
+DEPEND="emboss? ( sci-biology/emboss )"
+
+src_compile() {
+ if use emboss; then
+ echo
+ einfo "Indexing ${PN} for usage with EMBOSS."
+ mkdir REBASE
+ EMBOSS_DATA=. rebaseextract -auto -infile withrefm.${PV} \
+ -protofile proto.${PV} || die "Indexing ${PN} failed."
+ echo
+ fi
+}
+
+src_install() {
+ if ! use minimal; then
+ insinto /usr/share/${PN}
+ doins withrefm.${PV} proto.${PV}
+ fi
+ newdoc REBASE.DOC README
+ if use emboss; then
+ insinto /usr/share/EMBOSS/data/REBASE
+ doins REBASE/{embossre.enz,embossre.ref,embossre.sup}
+ fi
+}