summaryrefslogtreecommitdiff
blob: fb644d8fb73daaa84b529f4224719b8a4c819b1e (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/threeV/threeV-1.2.ebuild,v 1.2 2010/10/30 14:59:43 jlec Exp $

EAPI="3"

inherit eutils toolchain-funcs

DESCRIPTION="3V: Voss Volume Voxelator"
HOMEPAGE="http://geometry.molmovdb.org/3v/"
SRC_URI="http://geometry.molmovdb.org/3v/3v-${PV}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""

PDEPEND="sci-chemistry/msms-bin"
#	sci-chemistry/usf-rave"

S="${WORKDIR}/3v-${PV}/src"

src_prepare() {
	epatch "${FILESDIR}"/${PV}-gentoo.patch
	tc-export CXX
	emake distclean || die
}

src_install() {
	emake DESTDIR="${ED}" install || die

	cd ..
	dodoc AUTHORS ChangeLog QUICKSTART README TODO VERSION || die
}