summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2005-02-23 04:26:01 +0000
committerOlivier Fisette <ribosome@gentoo.org>2005-02-23 04:26:01 +0000
commite89b512433cbb26456957e46a8b92d9c67210174 (patch)
tree6e32fc51c829d752ca12ad68aa1634490f14428f /sci-biology/transfac
parentAdded support for the "emboss" and "minimal" "USE" flags. (diff)
downloadhistorical-e89b512433cbb26456957e46a8b92d9c67210174.tar.gz
historical-e89b512433cbb26456957e46a8b92d9c67210174.tar.bz2
historical-e89b512433cbb26456957e46a8b92d9c67210174.zip
Added support for the "emboss" and "minimal" "USE" flags.
Package-Manager: portage-2.0.51.16
Diffstat (limited to 'sci-biology/transfac')
-rw-r--r--sci-biology/transfac/ChangeLog5
-rw-r--r--sci-biology/transfac/Manifest4
-rw-r--r--sci-biology/transfac/transfac-3.2.ebuild16
3 files changed, 15 insertions, 10 deletions
diff --git a/sci-biology/transfac/ChangeLog b/sci-biology/transfac/ChangeLog
index 2d212cce73a3..46ff6151b25e 100644
--- a/sci-biology/transfac/ChangeLog
+++ b/sci-biology/transfac/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-biology/transfac
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/transfac/ChangeLog,v 1.5 2005/01/14 22:41:06 j4rg0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/transfac/ChangeLog,v 1.6 2005/02/23 04:26:01 ribosome Exp $
+
+ 22 Feb 2005; Olivier Fisette <ribosome@gentoo.org> transfac-3.2.ebuild:
+ Added support for the "emboss" and "minimal" "USE" flags.
14 Jan 2005; Lina Pezzella <j4rg0n@gentoo.org> transfac-3.2.ebuild:
Stable ppc-macos.
diff --git a/sci-biology/transfac/Manifest b/sci-biology/transfac/Manifest
index 1433d4e2b3be..c8a9eda50a6b 100644
--- a/sci-biology/transfac/Manifest
+++ b/sci-biology/transfac/Manifest
@@ -1,4 +1,4 @@
-MD5 0f84db654ebca2a28430f2c763d1ea77 ChangeLog 1088
+MD5 6081040f5da15fb1ee26a39412c1a723 transfac-3.2.ebuild 1013
+MD5 44836e2c1053e097b255efbe6301f0cf ChangeLog 1225
MD5 504b628559ecce77f74357602454a570 metadata.xml 689
-MD5 25e66d9709b17dac52738ccc0bef933d transfac-3.2.ebuild 1076
MD5 e3812a0e0572b70737cef505b921a8fc files/digest-transfac-3.2 62
diff --git a/sci-biology/transfac/transfac-3.2.ebuild b/sci-biology/transfac/transfac-3.2.ebuild
index 409e46738b36..c6f930986f7a 100644
--- a/sci-biology/transfac/transfac-3.2.ebuild
+++ b/sci-biology/transfac/transfac-3.2.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/transfac/transfac-3.2.ebuild,v 1.4 2005/01/14 22:41:06 j4rg0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/transfac/transfac-3.2.ebuild,v 1.5 2005/02/23 04:26:01 ribosome Exp $
DESCRIPTION="A database of eucaryotic transcription factors"
HOMEPAGE="http://www.gene-regulation.com/pub/databases.html"
@@ -9,26 +9,28 @@ LICENSE="public-domain"
SLOT="3"
KEYWORDS="x86 ~ppc ppc-macos ~ppc64"
-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/tfextract ] && ! use no-emboss; then
+ if use emboss; then
+ echo
einfo "Indexing TRANSFAC for usage with EMBOSS."
EMBOSS_DATA=. tfextract -auto -infile class.dat || die \
"Indexing TRANSFAC failed."
+ echo
fi
}
src_install() {
- if ! use no-rawdb; then
+ if ! use minimal; then
insinto /usr/share/${PN}-${SLOT}
doins *.dat
fi
- if [ -e /usr/bin/tfextract ] && ! use no-emboss; then
+ if use emboss; then
insinto /usr/share/EMBOSS/data
doins tf*
fi