diff options
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/treeviewx/ChangeLog | 10 | ||||
-rw-r--r-- | app-sci/treeviewx/Manifest | 4 | ||||
-rw-r--r-- | app-sci/treeviewx/files/digest-treeviewx-0.4 | 1 | ||||
-rw-r--r-- | app-sci/treeviewx/metadata.xml | 15 | ||||
-rw-r--r-- | app-sci/treeviewx/treeviewx-0.4.ebuild | 46 |
5 files changed, 76 insertions, 0 deletions
diff --git a/app-sci/treeviewx/ChangeLog b/app-sci/treeviewx/ChangeLog new file mode 100644 index 000000000000..c69b95b932a8 --- /dev/null +++ b/app-sci/treeviewx/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-sci/treeviewx +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/treeviewx/ChangeLog,v 1.1 2004/08/08 16:26:31 ribosome Exp $ + +*treeviewx-0.4 (8 Aug 2004) + + 8 Aug 2004; Olivier Fisette <ribosome@gentoo.org> + treeviewx-0.4.ebuild, ChangeLog, metadata.xml: + Initial import (suggested by Koen Deforche <koen.deforche@uz.kuleuven.ac.be> + in bug #51990). diff --git a/app-sci/treeviewx/Manifest b/app-sci/treeviewx/Manifest new file mode 100644 index 000000000000..95fdbfb6f52c --- /dev/null +++ b/app-sci/treeviewx/Manifest @@ -0,0 +1,4 @@ +MD5 f0fe69a519b9581a5df6e62bd9179ea2 treeviewx-0.4.ebuild 1173 +MD5 c84a3f9998af3ff8dcc2c3c9011a2445 ChangeLog 283 +MD5 4a02a793e1530b66640221d52ab8a8ab metadata.xml 523 +MD5 8d3f96dc6ba46b29f75306900104b6fa files/digest-treeviewx-0.4 58 diff --git a/app-sci/treeviewx/files/digest-treeviewx-0.4 b/app-sci/treeviewx/files/digest-treeviewx-0.4 new file mode 100644 index 000000000000..f842ea00853f --- /dev/null +++ b/app-sci/treeviewx/files/digest-treeviewx-0.4 @@ -0,0 +1 @@ +MD5 a0f556e474804e59a72ff24ee0d8f10d tv-0.4.tar.gz 336684 diff --git a/app-sci/treeviewx/metadata.xml b/app-sci/treeviewx/metadata.xml new file mode 100644 index 000000000000..ed7f321eb10b --- /dev/null +++ b/app-sci/treeviewx/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>ribosome@gentoo.org</email> + <name>Olivier Fisette</name> + </maintainer> + <herd>sci</herd> + <longdescription> + TreeView X is a program for displaying phylogenetic trees on Linux and + UNIX platforms. It can read and display NEXUS and Newick format tree + files (such as those output by PAUP*, ClustalX, TREE-PUZZLE, and other + programs). + </longdescription> +</pkgmetadata> diff --git a/app-sci/treeviewx/treeviewx-0.4.ebuild b/app-sci/treeviewx/treeviewx-0.4.ebuild new file mode 100644 index 000000000000..202ea075cb83 --- /dev/null +++ b/app-sci/treeviewx/treeviewx-0.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/treeviewx/treeviewx-0.4.ebuild,v 1.1 2004/08/08 16:26:31 ribosome Exp $ + +DESCRIPTION="A phylogenetic tree viewer" +HOMEPAGE="http://darwin.zoology.gla.ac.uk/~rpage/treeviewx/" +SRC_URI="http://darwin.zoology.gla.ac.uk/~rpage/${PN}/tv-${PV}.tar.gz" +LICENSE="GPL-2" + +KEYWORDS="~x86" +SLOT="0" +IUSE="" + +DEPEND=">=x11-libs/wxGTK-2.4.2-r2" + +S=${WORKDIR}/tv-${PV} + +pkg_setup() { + if ! [ -e /usr/lib/libwx_gtk2-2.4.so ]; then + eerror "TreeView X requires the non Unicode, gtk2-enabled version" + eerror "of the wxGTK library. This version was not found on your" + eerror "system. Please install \">=x11-libs/wx_TK-2.4.2-r2\" with" + eerror "the \"gtk2\" \"USE\" flag enabled." + die "Could not find non Unicode, gtk2-enabled wxGTK library." + fi +} + +src_compile() { + econf || die + # The configure script may pick the Unicode wxGTK. + if grep -q "gtk2u" Makefile; then + sed -i -e 's/gtk2u/gtk2/' Makefile + cd TreeLib + sed -i -e 's/gtk2u/gtk2/' Makefile + cd ../ncl-2.0 + sed -i -e 's/gtk2u/gtk2/' Makefile + cd src + sed -i -e 's/gtk2u/gtk2/' Makefile + fi + cd ${S} + emake || die +} + +src_install() { + make install DESTDIR=${D} || die +} |