blob: c1e22b0f57316cd05f1b4a66fd8c22642101da3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/emboss-kaptain/emboss-kaptain-0.97.ebuild,v 1.2 2005/01/20 16:53:34 ribosome Exp $
DESCRIPTION="Graphical interfaces for EMBOSS and EMBASSY programs"
HOMEPAGE="http://userpage.fu-berlin.de/~sgmd/"
SRC_URI="http://genetik.fu-berlin.de/sgmd/EMBOSS.kaptns_${PV}.tar.gz"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="x86"
IUSE=""
S=${WORKDIR}/EMBOSS.kaptns_${PV}
DEPEND="kde-misc/kaptain
app-editors/nedit
sci-biology/emboss
sci-biology/embassy-phylip
sci-biology/embassy-domainatrix"
src_compile() {
cd EMBOSS
for i in *; do
cd "${i}"
for j in *.desktop; do
sed -i -e 's%Exec=%Exec=kaptain /usr/share/emboss-kaptain/%' ${j}
done
cd ${S}/EMBOSS
done
cd ${S}/Domainatrix/Domainatrix
for i in *.desktop; do
sed -i -e 's%Exec=%Exec=kaptain /usr/share/emboss-kaptain/%' ${i}
done
}
src_install() {
exeinto /usr/share/${PN}
doexe *.kaptn
doexe Domainatrix/*.kaptn
mkdir -p ${D}/usr/share/applnk/EMBOSS/Domainatrix
cp -r EMBOSS/* ${D}/usr/share/applnk/EMBOSS
cp -r Domainatrix/Domainatrix/* ${D}/usr/share/applnk/EMBOSS/Domainatrix
}
|