summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-12-31 16:59:14 +0000
committerMike Frysinger <vapier@gentoo.org>2003-12-31 16:59:14 +0000
commit50a2859025ad38938291234a99cc345cec5d23c1 (patch)
treed0008d67f4fd87b8579062b0c511ffd8c644b38c /games-action/spacearyarya-kxl/files/1.0.2-gentoo-paths.patch
parentAdded 'ECVS_AUTH="ext"' to allow checkouts, as Savannah now uses SSH for CVS. (diff)
downloadgentoo-2-50a2859025ad38938291234a99cc345cec5d23c1.tar.gz
gentoo-2-50a2859025ad38938291234a99cc345cec5d23c1.tar.bz2
gentoo-2-50a2859025ad38938291234a99cc345cec5d23c1.zip
lets by FHS friendly
Diffstat (limited to 'games-action/spacearyarya-kxl/files/1.0.2-gentoo-paths.patch')
-rw-r--r--games-action/spacearyarya-kxl/files/1.0.2-gentoo-paths.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/games-action/spacearyarya-kxl/files/1.0.2-gentoo-paths.patch b/games-action/spacearyarya-kxl/files/1.0.2-gentoo-paths.patch
new file mode 100644
index 000000000000..27af5b86fd01
--- /dev/null
+++ b/games-action/spacearyarya-kxl/files/1.0.2-gentoo-paths.patch
@@ -0,0 +1,45 @@
+diff -ur SpaceAryarya-KXL-1.0.2.orig/bmp/Makefile.am SpaceAryarya-KXL-1.0.2/bmp/Makefile.am
+--- SpaceAryarya-KXL-1.0.2.orig/bmp/Makefile.am 2003-12-31 11:56:07.715433088 -0500
++++ SpaceAryarya-KXL-1.0.2/bmp/Makefile.am 2003-12-31 11:54:45.667906000 -0500
+@@ -1,4 +1,4 @@
+-bmpdir = $(prefix)/share/SpaceAryarya/bmp
++bmpdir = $(BMP_PATH)
+ bmp_DATA = my.bmp enemy1.bmp shot.bmp bomb.bmp\
+ enemy2.bmp kage.bmp wall.bmp wall2.bmp eshot.bmp\
+ boss1_b.bmp boss1_do.bmp boss1_f.bmp\
+diff -ur SpaceAryarya-KXL-1.0.2.orig/configure.in SpaceAryarya-KXL-1.0.2/configure.in
+--- SpaceAryarya-KXL-1.0.2.orig/configure.in 2003-12-31 11:56:07.687437344 -0500
++++ SpaceAryarya-KXL-1.0.2/configure.in 2003-12-31 11:55:19.708731000 -0500
+@@ -25,9 +25,9 @@
+ BMP_PATH=/usr/local/share/SpaceAryarya/bmp
+ WAV_PATH=/usr/local/share/SpaceAryarya/wav
+ else
+- DATA_PATH=$prefix/share/SpaceAryarya/data
+- BMP_PATH=$prefix/share/SpaceAryarya/bmp
+- WAV_PATH=$prefix/share/SpaceAryarya/wav
++ DATA_PATH=$datadir/SpaceAryarya/data
++ BMP_PATH=$datadir/SpaceAryarya/bmp
++ WAV_PATH=$datadir/SpaceAryarya/wav
+ fi
+ AC_DEFINE_UNQUOTED(DATA_PATH,"$DATA_PATH")
+ AC_DEFINE_UNQUOTED(BMP_PATH,"$BMP_PATH")
+diff -ur SpaceAryarya-KXL-1.0.2.orig/data/Makefile.am SpaceAryarya-KXL-1.0.2/data/Makefile.am
+--- SpaceAryarya-KXL-1.0.2.orig/data/Makefile.am 2003-12-31 11:56:07.691436736 -0500
++++ SpaceAryarya-KXL-1.0.2/data/Makefile.am 2003-12-31 11:54:55.989337000 -0500
+@@ -1,6 +1,6 @@
+-datadir = $(prefix)/share/SpaceAryarya/data
++datadir = $(DATA_PATH)
+ data_DATA = stage1.dat stage2.dat
+ EXTRA_DIST = stage1.dat stage2.dat .score
+
+ install:
+- $(INSTALL) -c -m 666 ./.score $(DESTDIR)$(DATA_PATH)
++ $(INSTALL) -c -m 660 ./.score $(DESTDIR)$(DATA_PATH)
+diff -ur SpaceAryarya-KXL-1.0.2.orig/wav/Makefile.am SpaceAryarya-KXL-1.0.2/wav/Makefile.am
+--- SpaceAryarya-KXL-1.0.2.orig/wav/Makefile.am 2003-12-31 11:56:07.709434000 -0500
++++ SpaceAryarya-KXL-1.0.2/wav/Makefile.am 2003-12-31 11:55:04.719010000 -0500
+@@ -1,3 +1,3 @@
+-wavdir = $(prefix)/share/SpaceAryarya/wav
++wavdir = $(WAV_PATH)
+ wav_DATA = bgm1.wav bomb.wav hit.wav fire.wav die.wav boss.wav
+ EXTRA_DIST = bgm1.wav bomb.wav hit.wav fire.wav die.wav boss.wav