summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2008-03-06 03:07:09 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2008-03-06 03:07:09 +0000
commitdb67f94ecd6bf00ae343b85629b2bbbaae392e75 (patch)
treea71fba41f546e80eb1861097462e12b24a90c45d /games-action/abuse
parentstable ppc64, bug 212431 (diff)
downloadgentoo-2-db67f94ecd6bf00ae343b85629b2bbbaae392e75.tar.gz
gentoo-2-db67f94ecd6bf00ae343b85629b2bbbaae392e75.tar.bz2
gentoo-2-db67f94ecd6bf00ae343b85629b2bbbaae392e75.zip
This is a new ebuild for the new version of Abuse. This package has been revived after nearly 6 years of inactivity with a new release, new HOMEPAGE, and lots of fixes. This is replacing games-action/abuse_sdl.
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-action/abuse')
-rw-r--r--games-action/abuse/ChangeLog100
-rw-r--r--games-action/abuse/Manifest8
-rw-r--r--games-action/abuse/abuse-0.7.1.ebuild68
-rw-r--r--games-action/abuse/metadata.xml5
4 files changed, 181 insertions, 0 deletions
diff --git a/games-action/abuse/ChangeLog b/games-action/abuse/ChangeLog
new file mode 100644
index 000000000000..49f6beae6563
--- /dev/null
+++ b/games-action/abuse/ChangeLog
@@ -0,0 +1,100 @@
+# ChangeLog for games-action/abuse
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/ChangeLog,v 1.1 2008/03/06 03:07:09 wolf31o2 Exp $
+
+*abuse-0.7.1 (06 Mar 2008)
+
+ 06 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+ +abuse-0.7.1.ebuild:
+ This is a new ebuild for the new version of Abuse. This package has been
+ revived after nearly 6 years of inactivity with a new release, new HOMEPAGE,
+ and lots of fixes. This is replacing games-action/abuse_sdl.
+
+ 19 May 2007; Tupone Alfredo <tupone@gentoo.org> abuse_sdl-0.7.0-r3.ebuild:
+ Fixed path on configuration file. bug #155617 by Pacho Ramos
+
+*abuse_sdl-0.7.0-r3 (19 May 2007)
+
+ 19 May 2007; Tupone Alfredo <tupone@gentoo.org>
+ +abuse_sdl-0.7.0-r3.ebuild:
+ Patched for amd64 from debian and menu entry. Bug #155617 by Pachos Ramos
+
+ 11 Mar 2007; Marius Mauch <genone@gentoo.org> abuse_sdl-0.7.0-r2.ebuild:
+ Replacing einfo with elog
+
+ 01 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ abuse_sdl-0.7.0-r2.ebuild:
+ Removing old virtual/x11 dependency.
+
+ 18 Apr 2006; Jason Wever <weeve@gentoo.org> abuse_sdl-0.7.0-r2.ebuild:
+ Stable on SPARC.
+
+ 24 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ abuse_sdl-0.7.0-r2.ebuild:
+ Moved games_pkg_postinst to the beginning of pkg_postinst.
+
+ 28 Jan 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+ abuse_sdl-0.7.0-r2.ebuild:
+ Add modular X dependencies.
+
+ 15 Jun 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+ abuse_sdl-0.7.0-r2.ebuild:
+ Removed INSTALL file.
+
+ 26 Apr 2005; Ferris McCormick <fmccor@gentoo.org>
+ abuse_sdl-0.7.0-r2.ebuild:
+ Add ~sparc keyword at user's request: Bug 90460. Builds and runs; even looks
+ like it might be fun.
+
+ 28 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+ 19 Apr 2004; Chris Gianelloni <wolf31o2@gentoo.org>
+ abuse_sdl-0.7.0-r2.ebuild:
+ Added IUSE.
+
+*abuse_sdl-0.7.0-r2 (04 Aug 2003)
+
+ 04 Aug 2003; Michael Sterrett <msterret@gentoo.org>
+ abuse_sdl-0.7.0-r2.ebuild:
+ fix for bug 25730 - fixed a hard-coded path in the default config writer.
+
+ 04 Jul 2003; Michael Sterrett <msterret@gentoo.org>
+ abuse_sdl-0.7.0-r1.ebuild:
+ skip NEWS install since it's empty
+
+*abuse_sdl-0.7.0-r1 (07 Mar 2003)
+
+ 07 Mar 2003; Philip Walls <malverian@gentoo.org> abuse_sdl-0.7.0-r1.ebuild :
+ Do prepgamesdir AFTER patch is applied. Fix by Robert Holak
+ <panthar@panthar.org>. Bug #18648
+
+*abuse_sdl-0.7.0 (16 Jan 2003)
+
+ 16 Jan 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #13600.
+
+*abuse_sdl-0.6.1-r3 (27 Dec 2002)
+
+ 27 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
+ Added a better stupid patch for #11475 from Philip Walls.
+
+*abuse_sdl-0.6.1-r2 (12 Nov 2002)
+
+ 12 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Added a stupid fix (not sure why it works) for #10573
+
+*abuse_sdl-0.6.1-r1 (17 Jul 2002)
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> abuse_sdl-0.6.1-r1.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+
+*abuse_sdl-0.6.1 (22 Apr 2002)
+
+ 22 Apr 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-action/abuse/Manifest b/games-action/abuse/Manifest
new file mode 100644
index 000000000000..5389f33a4b3a
--- /dev/null
+++ b/games-action/abuse/Manifest
@@ -0,0 +1,8 @@
+DIST abuse-0.7.1.tar.gz?format=raw 719285 RMD160 6602d77157064e0a728e55caa63b045f713be790 SHA1 07c22b306954eab1e0bf4a8a7441ae00fc107729 SHA256 1516a19efc1b89715a8549109a0d87b71502d94fd8b782942e335b6782a1dd57
+DIST abuse-data-2.00.tar.gz?format=raw 1997832 RMD160 3fe70dd5134f8ae77c630a44d38a1d37e7b5314d SHA1 c5e7582d577668b56d62792f0cec8201f2ff1f24 SHA256 89687ace7805a8d1b5a0179953ffb86d09fe57c26df4b55ec050c0414e535196
+DIST abuse-frabs-2.11.tar.gz?format=raw 4819133 RMD160 96ea6ef031d10ba02e070eb7d2acdbc85025024f SHA1 2699f2f4cefc5e529eec808e8208aad796de36de SHA256 6ccbdf4a754bbacd7c07b09f4f0c805bef39d3a537aadbb0cd4d06ad50acfdb8
+DIST abuse-lib-2.00.tar.gz?format=raw 2144433 RMD160 813a33cf1a6e25cffabc77907aee00307c2ca56b SHA1 9eb34ab24f01008da31f034dc46ade7de2f8ff82 SHA256 263997a5e4ea70ac3d187de824c09b9a6b4ce778bbec5d8cf8372c54b34b81df
+DIST abuse-sfx-2.00.tar.gz?format=raw 690291 RMD160 4eab7e003307205c2477a547c3824bf80ce73dda SHA1 2b396164ce3f70605d669511385a667bf2730c8b SHA256 042af3e5ae2b0d402593d375c31d643d91da9e83180e8971d563c0878f570c60
+EBUILD abuse-0.7.1.ebuild 1835 RMD160 ebbfb4287599039e920c277bb1df0d448651fdec SHA1 cc76683d0d859e6b97c491ac9b3eb86a3c97ce60 SHA256 7273c55a1be7cc2a61730b3150bdc9427f58ecc5bd8f129d34979f4d48b1bd80
+MISC ChangeLog 3525 RMD160 cc35215485dbdc8c313de21b35336b1271d94b4e SHA1 43a62dd0d987032e1ecdcf7bf28d81e82f5eeab6 SHA256 54a8681733928ffc20c99761b2f419529a26acb26739f47f23ed92fbdcce1dcd
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-action/abuse/abuse-0.7.1.ebuild b/games-action/abuse/abuse-0.7.1.ebuild
new file mode 100644
index 000000000000..b70d9d81dd91
--- /dev/null
+++ b/games-action/abuse/abuse-0.7.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild,v 1.1 2008/03/06 03:07:09 wolf31o2 Exp $
+
+inherit eutils games
+
+ZOY="http://abuse.zoy.org/attachment/wiki/Downloads/"
+
+DESCRIPTION="port of Abuse by Crack Dot Com"
+HOMEPAGE="http://abuse.zoy.org/"
+SRC_URI="${ZOY}/${P}.tar.gz?format=raw
+ !demo? ( ${ZOY}/abuse-data-2.00.tar.gz?format=raw )
+ demo? ( ${ZOY}/abuse-lib-2.00.tar.gz?format=raw )
+ sounds? ( ${ZOY}/abuse-sfx-2.00.tar.gz?format=raw )
+ levels? ( ${ZOY}/abuse-frabs-2.11.tar.gz?format=raw )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="demo levels sounds"
+
+RDEPEND=">=media-libs/libsdl-1.1.6"
+DEPEND="${RDEPEND}
+ x11-libs/libXt
+ virtual/opengl"
+
+src_unpack() {
+ for a in ${A}
+ do
+ newname=${a%*?format=raw}
+ cp "${DISTDIR}"/${a} "${T}"/${newname}
+# mkdir -p "${T}"/${newname}-unpack
+# cd "${T}"/${newname}-unpack
+ unpack ../temp/${newname}
+ done
+}
+
+src_compile() {
+ # Abuse auto-appends games, so point to the base
+ egamesconf --datadir="${GAMES_DATADIR_BASE}" || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ # Sourcce-based install
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README TODO
+
+ # Data install
+ insinto "${GAMES_DATADIR}"/abuse
+ for i in addon art levels lisp music netlevel register sfx
+ do
+ doins -r "${WORKDIR}"/${i} || die "copying ${i}"
+ done
+ doins "${WORKDIR}"/README.datafiles "${WORKDIR}"/abuse.lsp || die "doins"
+
+ # Icons/desktop entry
+ doicon abuse.png
+ make_desktop_entry abuse "Abuse" ${PN}
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ elog "NOTE: If you had previous version of abuse installed"
+ elog "you may need to remove ~/.abuse for the game to work correctly."
+}
diff --git a/games-action/abuse/metadata.xml b/games-action/abuse/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-action/abuse/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>