# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games S="${WORKDIR}/${PN}" DESCRIPTION="An open source 3D virtual world for Linux and OpenGL" HOMEPAGE="http://www.zog.net.au/computers/obsidian/" SRC_URI="http://www.zog.net.au/computers/obsidian/${PN}-source${PV}.tar.gz" KEYWORDS="x86" LICENSE="Artistic" SLOT="0" RDEPEND="media-libs/svgalib virtual/opengl virtual/glut" DEPEND="${RDEPEND} >=sys-apps/sed-4" src_unpack() { unpack ${A} cd ${S} sed -i \ -e '/^MAKE/d' \ -e 's/make /$(MAKE) /' \ -e 's/ make$/ $(MAKE)/' gmud/Makefile || \ die "sed gmud/Makefile failed" } src_compile() { cd gmud && \ emake firsttime } src_install() { prepgamesdirs }