summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2008-08-27 14:58:50 +0000
committerOlivier Fisette <ribosome@gentoo.org>2008-08-27 14:58:50 +0000
commit04f07818c30abacc43c0dd211a1a8f3ea57ef507 (patch)
tree83e5539fc50326a85232e9d21da6b25daadde70d /sci-biology/prosite
parentnew version (diff)
downloadhistorical-04f07818c30abacc43c0dd211a1a8f3ea57ef507.tar.gz
historical-04f07818c30abacc43c0dd211a1a8f3ea57ef507.tar.bz2
historical-04f07818c30abacc43c0dd211a1a8f3ea57ef507.zip
New upstream version.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sci-biology/prosite')
-rw-r--r--sci-biology/prosite/ChangeLog9
-rw-r--r--sci-biology/prosite/prosite-20.36.ebuild40
2 files changed, 47 insertions, 2 deletions
diff --git a/sci-biology/prosite/ChangeLog b/sci-biology/prosite/ChangeLog
index 51996fb68a99..41d1a152b23b 100644
--- a/sci-biology/prosite/ChangeLog
+++ b/sci-biology/prosite/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-biology/prosite
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/ChangeLog,v 1.100 2007/08/20 17:22:32 ribosome Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/ChangeLog,v 1.101 2008/08/27 14:57:17 ribosome Exp $
+
+*prosite-20.36 (27 Aug 2008)
+
+ 27 Aug 2008; Olivier Fisette <ribosome@gentoo.org> +prosite-20.36.ebuild:
+ New upstream version.
*prosite-20.17 (20 Aug 2007)
diff --git a/sci-biology/prosite/prosite-20.36.ebuild b/sci-biology/prosite/prosite-20.36.ebuild
new file mode 100644
index 000000000000..46bcac9507c3
--- /dev/null
+++ b/sci-biology/prosite/prosite-20.36.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/prosite-20.36.ebuild,v 1.1 2008/08/27 14:57:17 ribosome Exp $
+
+DESCRIPTION="A protein families and domains database"
+LICENSE="swiss-prot"
+HOMEPAGE="http://ca.expasy.org/prosite"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+SLOT="0"
+# Minimal build keeps only the indexed files (if applicable) and the
+# documentation. The non-indexed database is not installed.
+IUSE="emboss minimal"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND="emboss? ( >=sci-biology/emboss-3.0.0 )"
+
+src_compile() {
+ if use emboss; then
+ mkdir PROSITE
+ echo
+ einfo "Indexing PROSITE for usage with EMBOSS."
+ EMBOSS_DATA="." prosextract -auto -prositedir "${S}" || die \
+ "Indexing PROSITE failed."
+ echo
+ fi
+}
+
+src_install() {
+ if ! use minimal; then
+ insinto /usr/share/${PN}
+ doins *.{doc,dat} || die "Installing raw database failed."
+ fi
+ insinto /usr/share/doc/${PF}
+ doins *.pdf || die "PDF documentation installation failed."
+ if use emboss; then
+ insinto /usr/share/EMBOSS/data/PROSITE
+ doins PROSITE/* || die "Installing EMBOSS data files failed."
+ fi
+}