# ChangeLog for app-sci/rebase
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/rebase/ChangeLog,v 1.7 2004/11/20 23:38:28 sekretarz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/rebase/ChangeLog,v 1.8 2004/12/14 00:49:03 ribosome Exp $
+
+*rebase-412 (13 Dec 2004)
+
+ 13 Dec 2004; Olivier Fisette <ribosome@gentoo.org> rebase-411.ebuild,
+ +rebase-412.ebuild:
+ New version: 412. Added 411 to x86.
21 Nov 2004; Karol Wojtaszek <sekretarz@gentoo.org> rebase-411.ebuild:
Keyworded ~amd64, bug #71858
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/rebase/rebase-411.ebuild,v 1.2 2004/11/20 23:38:28 sekretarz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/rebase/rebase-411.ebuild,v 1.3 2004/12/14 00:49:03 ribosome Exp $
DESCRIPTION="A restriction enzyme database"
HOMEPAGE="http://${PN}.neb.com"
LICENSE="public-domain"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~amd64"
+KEYWORDS="x86 ~ppc ~amd64"
IUSE="no-emboss no-rawdb"
src_compile() {
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/rebase/rebase-412.ebuild,v 1.1 2004/12/14 00:49:03 ribosome Exp $
+
+DESCRIPTION="A restriction enzyme database"
+HOMEPAGE="http://${PN}.neb.com"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+LICENSE="public-domain"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="no-emboss no-rawdb"
+
+src_compile() {
+ # Index the database for use with emboss if emboss is installed and
+ # the user did not explicitly request not to index the database.
+ if [ -e /usr/bin/rebaseextract ] && ! use no-emboss; then
+ einfo "Indexing ${PN} for usage with EMBOSS."
+ mkdir REBASE
+ EMBOSS_DATA=. rebaseextract -auto -infile withrefm.${PV} \
+ -protofile proto.${PV} || die "Indexing ${PN} failed."
+ fi
+}
+
+src_install() {
+ if ! use no-rawdb; then
+ insinto /usr/share/${PN}
+ doins withrefm.${PV} proto.${PV}
+ fi
+ newdoc REBASE.DOC README
+ if [ -e /usr/bin/rebaseextract ] && ! use no-emboss; then
+ insinto /usr/share/EMBOSS/data/REBASE
+ doins REBASE/{embossre.enz,embossre.ref,embossre.sup}
+ fi
+}