/[gentoo-x86]/sci-biology/prosite/prosite-18.46.ebuild
Gentoo

Contents of /sci-biology/prosite/prosite-18.46.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Aug 21 22:10:11 2005 UTC (14 years, 4 months ago) by ribosome
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
New version. Removed obsolete versions.
(Portage version: 2.0.51.22-r2)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/prosite-18.46.ebuild,v 1.3 2005/03/26 19:22:19 j4rg0n Exp $
4
5 DESCRIPTION="A protein families and domains database"
6 HOMEPAGE="http://ca.expasy.org/prosite"
7 SRC_URI="mirror://gentoo/${P}.tar.bz2"
8 LICENSE="swiss-prot"
9 SLOT="0"
10 KEYWORDS="x86 ~ppc ppc-macos"
11 IUSE="emboss minimal"
12 # Minimal build keeps only the indexed files (if applicable) and the documentation.
13 # The non-indexed database is not installed.
14
15 DEPEND="emboss? ( sci-biology/emboss )"
16
17 src_compile() {
18 if use emboss; then
19 mkdir PROSITE
20 echo
21 einfo "Indexing PROSITE for usage with EMBOSS."
22 EMBOSS_DATA="." prosextract -auto -infdat ${S} || die \
23 "Indexing PROSITE failed."
24 echo
25 fi
26 }
27
28 src_install() {
29 if ! use minimal; then
30 insinto /usr/share/${PN}
31 doins ${PN}.{doc,dat,lis}
32 fi
33 dodoc *.txt
34 dohtml prosuser.htm
35 if use emboss; then
36 insinto /usr/share/EMBOSS/data/PROSITE
37 doins PROSITE/*
38 fi
39 }

  ViewVC Help
Powered by ViewVC 1.1.20