summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2011-02-03 01:34:28 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2011-02-03 01:34:28 +0000
commitbab1730c78ce365f339cc381670f545b92e6099c (patch)
treedb8130771339dd92378bc5af58a13fc756cf743e /sci-biology/repeatmasker
parentVersion bump, update SRC_URI (diff)
downloadgentoo-2-bab1730c78ce365f339cc381670f545b92e6099c.tar.gz
gentoo-2-bab1730c78ce365f339cc381670f545b92e6099c.tar.bz2
gentoo-2-bab1730c78ce365f339cc381670f545b92e6099c.zip
Version bump, switch over to sci-biology/rmblast
(Portage version: 2.2_rc86/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/repeatmasker')
-rw-r--r--sci-biology/repeatmasker/ChangeLog10
-rw-r--r--sci-biology/repeatmasker/repeatmasker-3.2.9.ebuild58
2 files changed, 66 insertions, 2 deletions
diff --git a/sci-biology/repeatmasker/ChangeLog b/sci-biology/repeatmasker/ChangeLog
index 9292ced2af41..350da2366896 100644
--- a/sci-biology/repeatmasker/ChangeLog
+++ b/sci-biology/repeatmasker/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-biology/repeatmasker
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/repeatmasker/ChangeLog,v 1.4 2009/08/20 13:41:10 weaver Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/repeatmasker/ChangeLog,v 1.5 2011/02/03 01:34:28 weaver Exp $
+
+*repeatmasker-3.2.9 (03 Feb 2011)
+
+ 03 Feb 2011; Andrey Kislyuk <weaver@gentoo.org>
+ +repeatmasker-3.2.9.ebuild:
+ Version bump, switch over to sci-biology/rmblast
*repeatmasker-3.2.8 (20 Aug 2009)
diff --git a/sci-biology/repeatmasker/repeatmasker-3.2.9.ebuild b/sci-biology/repeatmasker/repeatmasker-3.2.9.ebuild
new file mode 100644
index 000000000000..4b333576eced
--- /dev/null
+++ b/sci-biology/repeatmasker/repeatmasker-3.2.9.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/repeatmasker/repeatmasker-3.2.9.ebuild,v 1.1 2011/02/03 01:34:28 weaver Exp $
+
+EAPI="2"
+
+MY_PV=${PV//\./-}
+
+DESCRIPTION="Screen DNA sequences for interspersed repeats and low complexity DNA"
+HOMEPAGE="http://repeatmasker.org/"
+SRC_URI="http://www.repeatmasker.org/RepeatMasker-open-${MY_PV}.tar.gz"
+
+LICENSE="OSL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="sci-biology/rmblast
+ sci-biology/trf
+ >=sci-biology/repeatmasker-libraries-20090604"
+
+S="${WORKDIR}/RepeatMasker"
+
+src_configure() {
+ sed -i -e 's/system( "clear" );//' \
+ -e 's|> \($rmLocation/Libraries/RepeatMasker.lib\)|> '${D}'/\1|' "${S}/configure" || die
+ echo "
+env
+/usr/share/${PN}
+/usr/bin
+2
+/opt/rmblast/bin
+Y
+5" | "${S}/configure" || die "configure failed"
+ sed -i -e 's|use lib $FindBin::RealBin;|use lib "/usr/share/'${PN}'/lib";|' \
+ -e 's|".*\(taxonomy.dat\)"|"/usr/share/'${PN}'/\1"|' \
+ -e '/$REPEATMASKER_DIR/ s|$FindBin::RealBin|/usr/share/'${PN}'|' \
+ "${S}"/{DateRepeats,ProcessRepeats,RepeatMasker,DupMasker,RepeatProteinMask,RepeatMaskerConfig.pm,Taxonomy.pm} || die
+}
+
+src_install() {
+ exeinto /usr/share/${PN}
+ for i in DateRepeats ProcessRepeats RepeatMasker DupMasker RepeatProteinMask; do
+ doexe $i || die
+ dosym /usr/share/${PN}/$i /usr/bin/$i || die
+ done
+
+ dodir /usr/share/${PN}/lib
+ insinto /usr/share/${PN}/lib
+ doins "${S}"/*.pm || die
+
+ insinto /usr/share/${PN}
+ doins -r util Matrices Libraries taxonomy.dat *.help || die
+ keepdir /usr/share/${PN}/Libraries
+
+ dodoc README INSTALL *.help
+}