summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2009-03-15 16:58:21 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2009-03-15 16:58:21 +0000
commit6950eb4f6248fa64105019fcd75db0bf0ff6cba7 (patch)
tree990021a3570d93985177c35515ea911d5d3a2609 /sci-biology/consed
parentAdded neurogeek as maintainer. (diff)
downloadgentoo-2-6950eb4f6248fa64105019fcd75db0bf0ff6cba7.tar.gz
gentoo-2-6950eb4f6248fa64105019fcd75db0bf0ff6cba7.tar.bz2
gentoo-2-6950eb4f6248fa64105019fcd75db0bf0ff6cba7.zip
Revision bump fixes several issues in installation of supplementary files
(Portage version: 2.2_rc20/cvs/Linux 2.6.26-gentoo-r4 x86_64)
Diffstat (limited to 'sci-biology/consed')
-rw-r--r--sci-biology/consed/ChangeLog8
-rw-r--r--sci-biology/consed/consed-19-r1.ebuild (renamed from sci-biology/consed/consed-19.ebuild)27
2 files changed, 27 insertions, 8 deletions
diff --git a/sci-biology/consed/ChangeLog b/sci-biology/consed/ChangeLog
index 3ba58f774c4c..26f4f2b2ad8a 100644
--- a/sci-biology/consed/ChangeLog
+++ b/sci-biology/consed/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-biology/consed
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/consed/ChangeLog,v 1.1 2009/02/18 16:21:44 weaver Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/consed/ChangeLog,v 1.2 2009/03/15 16:58:21 weaver Exp $
+
+*consed-19-r1 (15 Mar 2009)
+
+ 15 Mar 2009; Andrey Kislyuk <weaver@gentoo.org> -consed-19.ebuild,
+ +consed-19-r1.ebuild:
+ Revision bump fixes several issues in installation of supplementary files
*consed-19 (18 Feb 2009)
diff --git a/sci-biology/consed/consed-19.ebuild b/sci-biology/consed/consed-19-r1.ebuild
index 85e6a7e209e0..168e97a9fe72 100644
--- a/sci-biology/consed/consed-19.ebuild
+++ b/sci-biology/consed/consed-19-r1.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/consed/consed-19.ebuild,v 1.1 2009/02/18 16:21:44 weaver Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/consed/consed-19-r1.ebuild,v 1.1 2009/03/15 16:58:21 weaver Exp $
inherit toolchain-funcs
DESCRIPTION="Consed: a genome sequence finishing program"
HOMEPAGE="http://bozeman.mbt.washington.edu/consed/consed.html"
-SRC_URI="consed-19-sources.tar.gz
- consed-19-linux.tar.gz"
+SRC_URI="${P}-sources.tar.gz
+ ${P}-linux.tar.gz"
LICENSE="phrap"
SLOT="0"
@@ -16,6 +16,7 @@ IUSE=""
DEPEND="x11-libs/openmotif"
RDEPEND="${DEPEND}
+ >=sci-biology/phred-000925
>=sci-biology/phrap-1.080721"
S="${WORKDIR}"
@@ -24,10 +25,10 @@ RESTRICT="fetch"
pkg_nofetch() {
einfo "Please visit ${HOMEPAGE} and obtain the file"
- einfo "\"sources.tar.gz\", then rename it to \"consed-${PV}-sources.tar.gz\""
+ einfo "\"sources.tar.gz\", then rename it to \"${P}-sources.tar.gz\""
einfo "and place it in ${DISTDIR},"
einfo "obtain the file"
- einfo "\"consed_linux.tar.gz\", then rename it to \"consed-${PV}-linux.tar.gz\""
+ einfo "\"consed_linux.tar.gz\", then rename it to \"${P}-linux.tar.gz\""
einfo "and place it in ${DISTDIR}"
}
@@ -37,6 +38,8 @@ src_unpack() {
sed -i -e '/CLIBS=/ s/$/ -lXm -lXt -lSM -lICE -lXext -lXmu -lXp -lm/' \
-e 's/ARCHIVES=/ARCHIVES=\n_ARCHIVES=/' \
-e 's/CFLGS=/CFLGS= ${CFLAGS} /' "${S}/makefile" || die
+ sed -i -e 's/CFLAGS=/CFLAGS += /' "${S}"/misc/*/Makefile || die
+ sed -i 's!\($szPhredParameterFile =\).*!\1 $ENV{PHRED_PARAMETER_FILE} || "/usr/share/phred/phredpar.dat";!' "${S}/scripts/"* || die
}
src_compile() {
@@ -48,10 +51,20 @@ src_compile() {
src_install() {
dobin consed misc/{mktrace/mktrace,phd2fasta/phd2fasta,454/sff2scf} || die
- dobin scripts/* || die
+ dobin scripts/* contributions/* || die
+ insinto /usr/lib/screenLibs
+ doins misc/*.{fa*,seq}
insinto /usr/share/${PN}/examples
- doins -r standard polyphred autofinish assembly_view 454_newbler align454reads align454reads_answer solexa_example solexa_example_answer selectRegions selectRegionsAnswer || die
+ doins -r standard polyphred autofinish assembly_view 454_newbler \
+ align454reads align454reads_answer solexa_example \
+ solexa_example_answer selectRegions selectRegionsAnswer || die
echo 'CONSED_HOME=/usr' > "${S}/99consed"
+ echo 'PHRED_PARAMETER_FILE=/usr/share/phred/phredpar.dat' >> "${S}/99consed"
doenvd "${S}/99consed" || die
dodoc README.txt *_announcement.txt
}
+
+pkg_postinst() {
+ einfo "Package documentation is available at"
+ einfo "http://www.phrap.org/consed/distributions/README.${PV}.0.txt"
+}