diff options
Diffstat (limited to 'games-simulation/planets/planets-0.1.12.ebuild')
-rw-r--r-- | games-simulation/planets/planets-0.1.12.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/games-simulation/planets/planets-0.1.12.ebuild b/games-simulation/planets/planets-0.1.12.ebuild new file mode 100644 index 000000000000..a1a696c7db78 --- /dev/null +++ b/games-simulation/planets/planets-0.1.12.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/planets/planets-0.1.12.ebuild,v 1.1 2006/09/17 10:47:40 tupone Exp $ + +inherit eutils games + +DESCRIPTION="a simple interactive planetary system simulator" +SRC_URI="http://planets.homedns.org/dist/${P}.tgz" +HOMEPAGE="http://planets.homedns.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="dev-lang/tcl + dev-lang/tk" +DEPEND="${RDEPEND} + dev-lang/ocaml" + +pkg_setup() { + # response to bug #134257 + if ! built_with_use dev-lang/ocaml tcltk ; then + eerror "${PN} doesn't build properly if" + eerror "dev-lang/ocaml is built without tcltk support." + die "Please emerge dev-lang/ocaml with USE=tcltk" + fi + games_pkg_setup +} + +src_compile() { + make clean + make planets || die "make failed" +} + +src_install() { + dogamesbin planets || die "dogamesbin failed" + doman planets.1 + dodoc CREDITS CHANGES TODO KEYBINDINGS.txt README + prepgamesdirs +} |