1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="A protein motif fingerprint database"
8 HOMEPAGE="http://www.bioinf.man.ac.uk/dbbrowser/PRINTS/"
9 SRC_URI="mirror://gentoo/${P}.tar.bz2"
12 LICENSE="public-domain"
14 # Minimal build keeps only the indexed files (if applicable) and the
15 # documentation. The non-indexed database is not installed.
16 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
18 DEPEND="emboss? ( sci-biology/emboss )"
25 einfo "Indexing PRINTS for usage with EMBOSS."
26 EMBOSS_DATA="." printsextract -auto -infile prints${MY_PV}.dat || die \
27 "Indexing PRINTS failed."
33 if ! use minimal; then
34 insinto /usr/share/${PN}
35 doins newpr.lis ${PN}${MY_PV}.{all.fasta,dat,kdat,lis,nam,vsn} || die \
36 "Installing raw database failed."
39 insinto /usr/share/EMBOSS/data/PRINTS
40 doins PRINTS/* || die "Installing EMBOSS data files failed."
42 dodoc README || die "Documentation installation failed."