summaryrefslogtreecommitdiff
blob: f90160459c47bfe1230bf15119e34e099870ffb7 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel/openbabel-1.100.2.ebuild,v 1.1 2004/12/24 16:54:33 ribosome Exp $

DESCRIPTION="Open Babel interconverts file formats used in molecular modeling."

SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz"
HOMEPAGE="http://openbabel.sourceforge.net/"
KEYWORDS="x86 sparc ppc amd64"

SLOT="0"
LICENSE="GPL-2"
IUSE=""

DEPEND="!sci-chemistry/babel"

src_compile() {
	econf || die "configure failed"
	emake || die "make failed"
}

src_install () {

	make DESTDIR=${D} install || die
	dohtml doc/FAQ.html doc/Migration.html doc/dioxin.png
	dodoc 	README \
		doc/README.dioxin.pov \
		doc/README.povray \
		doc/babel31.inc \
		doc/dioxin.inc \
		doc/dioxin.mol2 \
		doc/dioxin.pov
	doman doc/babel.1

}