blob: f22de8308278c9d65e3f468ebe5b859a4ead445b (
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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/povscript+/povscript+-2.1.2.2.18.ebuild,v 1.1 2006/09/16 21:40:55 dberkholz Exp $
inherit versionator
V1=$(get_version_component_range 1 ${PV})
V2=$(get_version_component_range 2 ${PV})
V3=$(get_version_component_range 3 ${PV})
V4=$(get_version_component_range 4 ${PV})
V5=$(get_version_component_range 5 ${PV})
MY_P="molscript-${V1}.${V2}.${V3}pov${V4}.${V5}"
DESCRIPTION="Modified molscript that uses POV-Ray, does thermal ellipsoids, and more"
HOMEPAGE="http://www.stanford.edu/~fenn/povscript/"
SRC_URI="http://www.stanford.edu/~fenn/packs/${MY_P}.tar.gz"
LICENSE="glut molscript"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE=""
RDEPEND="dev-libs/glib
sci-libs/gts"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
cd "${D}"/usr/bin
mv molscript povscript+
mv molauto povauto+
}
pkg_postinst() {
elog "You must install media-gfx/povray to use the POV backend,"
elog "which is one of the main features of this over molscript."
}
|