summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2005-02-23 04:09:28 +0000
committerOlivier Fisette <ribosome@gentoo.org>2005-02-23 04:09:28 +0000
commit52c996968cc95cd1cfc50d71a2ed7d55c50db52c (patch)
tree9b2f86c1f0300819a8f4aecc7f4eee6636e3005c /sci-biology
parentInstall static library again. Add /etc/dmtab and new rc-scripts addon for (diff)
downloadgentoo-2-52c996968cc95cd1cfc50d71a2ed7d55c50db52c.tar.gz
gentoo-2-52c996968cc95cd1cfc50d71a2ed7d55c50db52c.tar.bz2
gentoo-2-52c996968cc95cd1cfc50d71a2ed7d55c50db52c.zip
Added support for the "emboss" and "minimal" "USE" flags.
(Portage version: 2.0.51.16)
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/prints/ChangeLog5
-rw-r--r--sci-biology/prints/prints-37.0.ebuild16
-rw-r--r--sci-biology/prosite/ChangeLog5
-rw-r--r--sci-biology/prosite/prosite-18.44.ebuild18
4 files changed, 27 insertions, 17 deletions
diff --git a/sci-biology/prints/ChangeLog b/sci-biology/prints/ChangeLog
index 71bebc381a09..fbca962b1211 100644
--- a/sci-biology/prints/ChangeLog
+++ b/sci-biology/prints/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-biology/prints
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/prints/ChangeLog,v 1.4 2005/02/02 21:32:12 j4rg0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/prints/ChangeLog,v 1.5 2005/02/23 04:06:27 ribosome Exp $
+
+ 22 Feb 2005; Olivier Fisette <ribosome@gentoo.org> prints-37.0.ebuild:
+ Added support for the "emboss" and "minimal" "USE" flags.
02 Feb 2005; Lina Pezzella <j4rg0n@gentoo.org> prints-37.0.ebuild:
Stable ppc-macos
diff --git a/sci-biology/prints/prints-37.0.ebuild b/sci-biology/prints/prints-37.0.ebuild
index 2fc7fa47d1c0..4a658fdbae14 100644
--- a/sci-biology/prints/prints-37.0.ebuild
+++ b/sci-biology/prints/prints-37.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/prints/prints-37.0.ebuild,v 1.3 2005/02/02 21:32:12 j4rg0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/prints/prints-37.0.ebuild,v 1.4 2005/02/23 04:06:27 ribosome Exp $
DESCRIPTION="A protein motif fingerprint database"
HOMEPAGE="http://www.bioinf.man.ac.uk/dbbrowser/PRINTS/"
@@ -13,27 +13,29 @@ SRC_URI="ftp://ftp.ebi.ac.uk/pub/databases/${PN}/newpr.lis.gz
LICENSE="public-domain"
SLOT="0"
KEYWORDS="x86 ~ppc ppc-macos"
-IUSE="no-emboss no-rawdb"
+IUSE="emboss minimal"
+# Minimal build keeps only the indexed files (if applicable) and the documentation.
+# The non-indexed database is not installed.
S=${WORKDIR}
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/printsextract ] && ! use no-emboss; then
+ if use emboss; then
mkdir PRINTS
+ echo
einfo "Indexing PRINTS for usage with EMBOSS."
EMBOSS_DATA=. printsextract -auto -infile prints37_0.dat || die \
"Indexing PRINTS failed."
+ echo
fi
}
src_install() {
- if ! use no-rawdb; then
+ if ! use minimal; then
insinto /usr/share/${PN}
doins ${PN}37_0.{all.fasta,dat,lis,nam,vsn} newpr.lis
fi
- if [ -e /usr/bin/printsextract ] && ! use no-emboss; then
+ if use emboss; then
insinto /usr/share/EMBOSS/data/PRINTS
doins PRINTS/*
fi
diff --git a/sci-biology/prosite/ChangeLog b/sci-biology/prosite/ChangeLog
index e98b2e4abc2a..6690ffe3d497 100644
--- a/sci-biology/prosite/ChangeLog
+++ b/sci-biology/prosite/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-biology/prosite
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/ChangeLog,v 1.8 2005/02/19 04:31:09 j4rg0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/ChangeLog,v 1.9 2005/02/23 04:09:28 ribosome Exp $
+
+ 22 Feb 2005; Olivier Fisette <ribosome@gentoo.org> prosite-18.44.ebuild:
+ Added support for the "emboss" and "minimal" "USE" flags.
18 Feb 2005; Lina Pezzella <j4rg0n@gentoo.org> prosite-18.43.ebuild:
Stable ppc-macos
diff --git a/sci-biology/prosite/prosite-18.44.ebuild b/sci-biology/prosite/prosite-18.44.ebuild
index e3b90008a822..77b87c96f8c2 100644
--- a/sci-biology/prosite/prosite-18.44.ebuild
+++ b/sci-biology/prosite/prosite-18.44.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/prosite-18.44.ebuild,v 1.1 2005/02/03 00:35:51 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/prosite-18.44.ebuild,v 1.2 2005/02/23 04:09:28 ribosome Exp $
DESCRIPTION="A protein families and domains database"
HOMEPAGE="http://ca.expasy.org/prosite"
@@ -8,27 +8,29 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="swiss-prot"
SLOT="0"
KEYWORDS="~x86 ~ppc ~ppc-macos"
-IUSE="no-emboss no-rawdb"
+IUSE="emboss minimal"
+# Minimal build keeps only the indexed files (if applicable) and the documentation.
+# The non-indexed database is not installed.
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/prosextract ] && ! use no-emboss; then
+ if use emboss; then
mkdir PROSITE
+ echo
einfo "Indexing PROSITE for usage with EMBOSS."
- EMBOSS_DATA=. prosextract -auto -infdat ${S} || die \
+ EMBOSS_DATA="." prosextract -auto -infdat ${S} || die \
"Indexing PROSITE failed."
+ echo
fi
}
src_install() {
- if ! use no-rawdb; then
+ if ! use minimal; then
insinto /usr/share/${PN}
doins ${PN}.{doc,dat,lis}
fi
dodoc *.txt
dohtml prosuser.htm
- if [ -e /usr/bin/prosextract ] && ! use no-emboss; then
+ if use emboss; then
insinto /usr/share/EMBOSS/data/PROSITE
doins PROSITE/*
fi