summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-09-05 14:22:51 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-09-05 14:22:51 +0000
commitba2559603d205f468a174048d1ac29b92577ceb4 (patch)
tree2edc451e8629c8bd8d98c750a14d6dd18d0221e3 /games-roguelike/scourge
parentVersion bump (diff)
downloadgentoo-2-ba2559603d205f468a174048d1ac29b92577ceb4.tar.gz
gentoo-2-ba2559603d205f468a174048d1ac29b92577ceb4.tar.bz2
gentoo-2-ba2559603d205f468a174048d1ac29b92577ceb4.zip
old
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-roguelike/scourge')
-rw-r--r--games-roguelike/scourge/scourge-0.19.ebuild67
1 files changed, 0 insertions, 67 deletions
diff --git a/games-roguelike/scourge/scourge-0.19.ebuild b/games-roguelike/scourge/scourge-0.19.ebuild
deleted file mode 100644
index 5836b06fa22d..000000000000
--- a/games-roguelike/scourge/scourge-0.19.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/scourge-0.19.ebuild,v 1.2 2007/10/07 21:27:26 mr_bones_ Exp $
-
-inherit autotools eutils wxwidgets games
-
-DESCRIPTION="A graphical rogue-like adventure game"
-HOMEPAGE="http://scourge.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.src.tar.gz
- mirror://sourceforge/${PN}/${P}.data.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="editor"
-
-RDEPEND="virtual/glu
- virtual/opengl
- >=media-libs/freetype-2
- media-libs/libsdl
- media-libs/sdl-net
- media-libs/sdl-mixer
- media-libs/sdl-ttf
- virtual/libintl
- editor? ( =x11-libs/wxGTK-2.6* )"
-DEPEND="${RDEPEND}
- sys-devel/gettext"
-
-S=${WORKDIR}/${PN}
-
-pkg_setup() {
- games_pkg_setup
- use editor && WX_GTK_VER="2.6" need-wxwidgets gtk2
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- if use editor ; then
- sed -i \
- -e "/WXWIDGET_CFLAGS/s:wx-config:${WX_CONFIG}:" \
- -e "/WXWIDGET_LIBS/s:wx-config:${WX_CONFIG}:" \
- configure.in || die "sed failed"
- fi
- eautoreconf
-}
-
-src_compile() {
- egamesconf \
- --disable-dependency-tracking \
- --with-data-dir="${GAMES_DATADIR}"/${PN} \
- --localedir=/usr/share/locale \
- $(use_enable editor) \
- || die
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- use editor && mv "${D}/${GAMES_BINDIR}"/{tools,${PN}-tools}
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r ../scourge_data/* || die "doins failed"
- doicon assets/scourge.png
- make_desktop_entry scourge S.C.O.U.R.G.E.
- dodoc AUTHORS README
- prepgamesdirs
-}