From 16fcbe8c8e5197a8f73ae4639d4d171bc6bedd5b Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Sat, 5 Jan 2008 21:57:39 +0000 Subject: Use autotools eclass, bug #204394; install menu entry, bug #159752; move score file to $GAMES_STATEDIR (Portage version: 2.1.4_rc14) --- .../geki2-KXL/files/digest-geki2-KXL-2.0.3-r2 | 6 +++ .../geki2-KXL/files/geki2-KXL-2.0.3-paths.patch | 44 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 games-action/geki2-KXL/files/digest-geki2-KXL-2.0.3-r2 create mode 100644 games-action/geki2-KXL/files/geki2-KXL-2.0.3-paths.patch (limited to 'games-action/geki2-KXL/files') diff --git a/games-action/geki2-KXL/files/digest-geki2-KXL-2.0.3-r2 b/games-action/geki2-KXL/files/digest-geki2-KXL-2.0.3-r2 new file mode 100644 index 000000000000..a455aae90dc3 --- /dev/null +++ b/games-action/geki2-KXL/files/digest-geki2-KXL-2.0.3-r2 @@ -0,0 +1,6 @@ +MD5 9bb542ea15a4e6b5f51164c19cc0a674 geki2-KXL-2.0.3.tar.gz 708419 +RMD160 b1c743a0946f16c7934f55ff478d15b5c22e4e06 geki2-KXL-2.0.3.tar.gz 708419 +SHA256 24338682c9a10d5d796ffad352983481c440ee625d713ef4cc9b51b9da0c5391 geki2-KXL-2.0.3.tar.gz 708419 +MD5 5d5d749b9eed9192259b777513d05a61 geki2-KXL.png 883 +RMD160 79ccfc0ec6a89586c485badda77a5c2377574088 geki2-KXL.png 883 +SHA256 b4b314907aa0e563a60b25c4ab25d91dab872f4c2110a0ef3e487aa4855793fe geki2-KXL.png 883 diff --git a/games-action/geki2-KXL/files/geki2-KXL-2.0.3-paths.patch b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-paths.patch new file mode 100644 index 000000000000..1e4d7dba67d8 --- /dev/null +++ b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-paths.patch @@ -0,0 +1,44 @@ +--- bmp/Makefile.am ++++ bmp/Makefile.am +@@ -1,4 +1,4 @@ +-bmpdir = $(prefix)/share/geki2/bmp ++bmpdir = $(BMP_PATH) + bmp_DATA = back1.bmp boss2.bmp enemyshot4.bmp kuru.bmp myshot.bmp back2.bmp\ + boss3.bmp enemyshot5.bmp mboss.bmp uraura.bmp back3.bmp\ + boss3laser.bmp flash.bmp uturn.bmp back4.bmp back6.bmp boss6.bmp\ +--- configure.in ++++ configure.in +@@ -25,9 +25,9 @@ + BMP_PATH=/usr/local/share/geki2/bmp + WAV_PATH=/usr/local/share/geki2/wav + else +- DATA_PATH=$prefix/share/geki2/data +- BMP_PATH=$prefix/share/geki2/bmp +- WAV_PATH=$prefix/share/geki2/wav ++ DATA_PATH=$datadir/geki2/data ++ BMP_PATH=$datadir/geki2/bmp ++ WAV_PATH=$datadir/geki2/wav + fi + AC_DEFINE_UNQUOTED(DATA_PATH,"$DATA_PATH") + AC_DEFINE_UNQUOTED(BMP_PATH,"$BMP_PATH") +--- data/Makefile.am ++++ data/Makefile.am +@@ -1,9 +1,7 @@ +-datadir = $(prefix)/share/geki2/data ++datadir = $(DATA_PATH) + data_DATA = stage1.dat stage2.dat stage3.dat stage4.dat stage5.dat stage6.dat\ + map1.dat map2.dat map3.dat map4.dat map5.dat map6.dat + EXTRA_DIST = stage1.dat stage2.dat stage3.dat stage4.dat stage5.dat stage6.dat\ + map1.dat map2.dat map3.dat map4.dat map5.dat map6.dat .score + +-install: +- $(INSTALL) -c -m 666 ./.score $(DESTDIR)$(DATA_PATH) + +--- wav/Makefile.am ++++ wav/Makefile.am +@@ -1,4 +1,4 @@ +-wavdir = $(prefix)/share/geki2/wav ++wavdir = $(WAV_PATH) + wav_DATA = bgm1.wav bgm2.wav bgm3.wav bgm4.wav bgm5.wav\ + bomb.wav laser5.wav warning.wav boss.wav open.wav\ + laser.wav pow.wav go.wav bgm6.wav -- cgit v1.2.3-65-gdbad