blob: 98e89ea8a1d259b3a2a2505db73e47b00b1cbecd (
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
45
46
47
48
49
|
# 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-r1.ebuild,v 1.1 2005/05/10 04:21:56 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() {
for i in *.kaptn; do
sed -e 's/nc -noask/neditc -noask/' \
-e 's/nc -svrname/neditc -svrname/' -i ${i} || die
done
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} \
|| die
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} || die
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
}
|