diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2004-08-08 16:26:31 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2004-08-08 16:26:31 +0000 |
commit | 6dc0d4c0b5c8b2fe73fe217c3383e42401ed2e3b (patch) | |
tree | 50d6b02b7968f4f285f6768c34df76047f55db7a /app-sci | |
parent | stable on ia64 #59419 (diff) | |
download | historical-6dc0d4c0b5c8b2fe73fe217c3383e42401ed2e3b.tar.gz historical-6dc0d4c0b5c8b2fe73fe217c3383e42401ed2e3b.tar.bz2 historical-6dc0d4c0b5c8b2fe73fe217c3383e42401ed2e3b.zip |
Initial import (see bug #51990)
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..1c396ca819ce --- /dev/null +++ b/app-sci/treeviewx/Manifest @@ -0,0 +1,4 @@ +MD5 60f76cc304a497aefc31ed82426afdc0 treeviewx-0.4.ebuild 1274 +MD5 bf9097c7214246f05f982bbdeec8ab32 ChangeLog 436 +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 +} |