summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-06-03 16:41:44 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-06-03 16:41:44 +0000
commit26f92b2e067a528982a00191814ac1deaa5113c5 (patch)
tree3be7b1619e725c82941c724fcc0ac0469667ad01 /games-roguelike
parentAdd Gentoo Prefix keywords as tested in bug 301715 (diff)
downloadhistorical-26f92b2e067a528982a00191814ac1deaa5113c5.tar.gz
historical-26f92b2e067a528982a00191814ac1deaa5113c5.tar.bz2
historical-26f92b2e067a528982a00191814ac1deaa5113c5.zip
version bump
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/powder/ChangeLog8
-rw-r--r--games-roguelike/powder/Manifest5
-rw-r--r--games-roguelike/powder/files/powder-114-make.patch47
-rw-r--r--games-roguelike/powder/powder-114.ebuild40
4 files changed, 98 insertions, 2 deletions
diff --git a/games-roguelike/powder/ChangeLog b/games-roguelike/powder/ChangeLog
index 5c3d8e4336b9..ace55f54ed60 100644
--- a/games-roguelike/powder/ChangeLog
+++ b/games-roguelike/powder/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-roguelike/powder
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/powder/ChangeLog,v 1.2 2010/05/04 00:57:02 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/powder/ChangeLog,v 1.3 2010/06/03 16:41:44 mr_bones_ Exp $
+
+*powder-114 (03 Jun 2010)
+
+ 03 Jun 2010; Michael Sterrett <mr_bones_@gentoo.org> +powder-114.ebuild,
+ +files/powder-114-make.patch:
+ version bump
04 May 2010; Michael Sterrett <mr_bones_@gentoo.org> powder-113.ebuild,
files/powder-113-make.patch:
diff --git a/games-roguelike/powder/Manifest b/games-roguelike/powder/Manifest
index 04a023667e45..11df2d1b6229 100644
--- a/games-roguelike/powder/Manifest
+++ b/games-roguelike/powder/Manifest
@@ -1,5 +1,8 @@
AUX powder-113-make.patch 1872 RMD160 49b6ea248380525be4e25902eb61ff1e19bbf5a3 SHA1 043cb04d595e26393f0c1a8be53b1220c356f3ec SHA256 2b34d58daa9ce7bdbd8cfd8e4ef8afe853cd8468f928fc4040cc21690cb2c21b
+AUX powder-114-make.patch 1872 RMD160 49b6ea248380525be4e25902eb61ff1e19bbf5a3 SHA1 043cb04d595e26393f0c1a8be53b1220c356f3ec SHA256 2b34d58daa9ce7bdbd8cfd8e4ef8afe853cd8468f928fc4040cc21690cb2c21b
DIST powder113_src.tar.gz 1860339 RMD160 b0c2f8d68b69beb510082b5573ee42a9c806f4b8 SHA1 fe76b4f58fd9466b250591bc4250e38b103314e8 SHA256 8ab194230e5ef06c9b7a02e781d858ecc112975251da344297b79090e7f119ae
+DIST powder114_src.tar.gz 1863082 RMD160 92dc3412394300982a7ae0352c9c247e48c7a1cc SHA1 c402b2f8064c0c884cacd9d9a2ac7b1ac49387f5 SHA256 8e24392dc45035a32e57130311e3785be3d558268a0602329d0b98e0a9ab574e
EBUILD powder-113.ebuild 854 RMD160 d867e26327ca3c248903b3cae146bc254a65dc62 SHA1 7709ab9ca41815992acdf62edf1bd804e1e2ebdb SHA256 63eba4d05bf7f260796ebd3280f044bcb7e752d849c2d4d6a4612dd1e269f2ec
-MISC ChangeLog 632 RMD160 7f88b4abc14d47b07ab22bc8d41ae648bdc59939 SHA1 181af86e98e1e47cad4727c9326c82c77eaf0894 SHA256 4257e4042a00ec0ea3caab0b0a77a1c272015c799323abf236fd2a71253cfbdc
+EBUILD powder-114.ebuild 1052 RMD160 6691957f569614b915aea8252824dff7fe392fad SHA1 674f4234124ee544419458cb20f1820efe00d495 SHA256 f2c024f8cbc82b08892fbedba13faea36c40db3d9b05ccf12914c87f321c68e1
+MISC ChangeLog 782 RMD160 8e14d59cc500f0e0c953fcb4d37d5a36015fe5ef SHA1 407af94210d67e89bc5290a7d8ab431adb35585a SHA256 a1f6deb66a3df216e5210298dd29055e8034a0ddde2ec6d55e128eca3483119a
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-roguelike/powder/files/powder-114-make.patch b/games-roguelike/powder/files/powder-114-make.patch
new file mode 100644
index 000000000000..fa39312b6b92
--- /dev/null
+++ b/games-roguelike/powder/files/powder-114-make.patch
@@ -0,0 +1,47 @@
+diff -ru powder113_src.orig/make/makerules powder113_src/make/makerules
+--- powder113_src.orig/make/makerules 2009-02-05 20:11:41.000000000 -0500
++++ powder113_src/make/makerules 2010-05-03 20:38:32.579540189 -0400
+@@ -8,7 +8,7 @@
+ all: $(TARGET)
+
+ $(TARGET): $(OFILES)
+- $(CXX) -o $(TARGET) $(OFILES) $(CXXFLAGS)
++ $(CXX) -o $(TARGET) $(OFILES) $(CXXFLAGS) $(LDFLAGS)
+
+ clean:
+ $(RM) $(OFILES)
+diff -ru powder113_src.orig/make/makerules.LINUX powder113_src/make/makerules.LINUX
+--- powder113_src.orig/make/makerules.LINUX 2009-01-18 19:54:09.000000000 -0500
++++ powder113_src/make/makerules.LINUX 2010-05-03 20:39:11.022462202 -0400
+@@ -13,8 +13,8 @@
+ # and is to try and ensure we end up with a static link
+ # of stdc++.
+ $(RM) libstdc++.a
+- ln -s `g++ -print-file-name=libstdc++.a`
+- $(CXX) -static-libgcc -L. -o $(TARGET) $(OFILES) `sdl-config --libs` $(CXXFLAGS)
++ ln -s `$(CXX) -print-file-name=libstdc++.a`
++ $(CXX) -static-libgcc -L. -o $(TARGET) $(OFILES) `sdl-config --libs` $(CXXFLAGS) $(LDFLAGS)
+
+ clean:
+ $(RM) $(OFILES)
+diff -ru powder113_src.orig/port/linux/Makefile powder113_src/port/linux/Makefile
+--- powder113_src.orig/port/linux/Makefile 2009-05-13 19:32:42.000000000 -0400
++++ powder113_src/port/linux/Makefile 2010-05-03 20:40:57.629463531 -0400
+@@ -48,7 +48,7 @@
+ all: $(TARGET)
+
+ powder: premake $(OFILES)
+- $(CXX) -o $(TARGET) $(OFILES) `sdl-config --libs` $(CXXFLAGS)
++ $(CXX) -o $(TARGET) $(OFILES) `sdl-config --libs` $(CXXFLAGS) $(LDFLAGS)
+
+ .cpp.o:
+ $(CXX) -DLINUX -I ../../port/sdl `sdl-config --cflags` -c $< -o $@ $(CXXFLAGS)
+@@ -60,7 +60,7 @@
+ # of stdc++.
+ $(RM) libstdc++.a
+ ln -s `g++ -print-file-name=libstdc++.a`
+- $(CXX) -static-libgcc -L. -o $(TARGET) $(OFILES) `sdl-config --libs` $(CXXFLAGS)
++ $(CXX) -static-libgcc -L. -o $(TARGET) $(OFILES) `sdl-config --libs` $(CXXFLAGS) $(LDFLAGS)
+
+ clean:
+ $(RM) $(OFILES)
diff --git a/games-roguelike/powder/powder-114.ebuild b/games-roguelike/powder/powder-114.ebuild
new file mode 100644
index 000000000000..e3b36ed44821
--- /dev/null
+++ b/games-roguelike/powder/powder-114.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/powder/powder-114.ebuild,v 1.1 2010/06/03 16:41:44 mr_bones_ Exp $
+
+EAPI=2
+inherit flag-o-matic eutils games
+
+MY_P=${P/-/}_src
+
+DESCRIPTION="A game in the genre of Rogue, Nethack, and Diablo. Emphasis is on tactical play."
+HOMEPAGE="http://www.zincland.com/powder/"
+SRC_URI="http://www.zincland.com/powder/release/${MY_P}.tar.gz"
+
+LICENSE="CCPL-Sampling-Plus-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[video]"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${P}-make.patch )
+
+src_compile() {
+ append-cxxflags -DCHANGE_WORK_DIRECTORY
+ emake -j1 -C port/linux || die
+}
+
+src_install() {
+ dogamesbin port/linux/${PN} || die
+ dodoc README.TXT CREDITS.TXT
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ elog "While the highscore is kept, save games are never preserved between"
+ elog "versions. Please wait until your current character dies before upgrading."
+ games_pkg_postinst
+}