lets by FHS friendly
authorMike Frysinger <vapier@gentoo.org>
Wed, 31 Dec 2003 16:53:00 +0000 (16:53 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 31 Dec 2003 16:53:00 +0000 (16:53 +0000)
games-action/geki3-KXL/ChangeLog
games-action/geki3-KXL/files/1.0.3-gentoo-paths.patch [new file with mode: 0644]
games-action/geki3-KXL/files/digest-geki3-KXL-1.0.3-r1 [moved from games-action/geki3-KXL/files/digest-geki3-KXL-1.0.3 with 100% similarity]
games-action/geki3-KXL/geki3-KXL-1.0.3-r1.ebuild [moved from games-action/geki3-KXL/geki3-KXL-1.0.3.ebuild with 62% similarity]

index 35f161c0b4f0ff8e88380f3a0529bc91d2c84026..156e7e8f5e713986aa86cd3c372c3565592c5051 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for games-action/geki3-KXL
 # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/geki3-KXL/ChangeLog,v 1.2 2003/09/10 20:28:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/geki3-KXL/ChangeLog,v 1.3 2003/12/31 16:53:00 vapier Exp $
+
+*geki3-KXL-1.0.3-r1 (31 Dec 2003)
+
+  31 Dec 2003; Mike Frysinger <vapier@gentoo.org> :
+  Make install paths cleaner.
 
 *geki3-KXL-1.0.3 (04 Mar 2003)
 
diff --git a/games-action/geki3-KXL/files/1.0.3-gentoo-paths.patch b/games-action/geki3-KXL/files/1.0.3-gentoo-paths.patch
new file mode 100644 (file)
index 0000000..5dc95cf
--- /dev/null
@@ -0,0 +1,46 @@
+diff -ur geki3-KXL-1.0.3.orig/bmp/Makefile.am geki3-KXL-1.0.3/bmp/Makefile.am
+--- geki3-KXL-1.0.3.orig/bmp/Makefile.am       2003-12-31 11:38:53.283690616 -0500
++++ geki3-KXL-1.0.3/bmp/Makefile.am    2003-12-31 11:39:47.980375456 -0500
+@@ -1,4 +1,4 @@
+-bmpdir = $(prefix)/share/geki3/bmp
++bmpdir = $(BMP_PATH)
+ bmp_DATA =   back1.bmp boss2.bmp enemyshot1.bmp missile.bmp\
+            pata.bmp back2.bmp boss3.bmp enemyshot2.bmp mogu.bmp\
+              pata_ball.bmp back3.bmp boss4.bmp frame.bmp mogu_ball.bmp\
+diff -ur geki3-KXL-1.0.3.orig/configure.in geki3-KXL-1.0.3/configure.in
+--- geki3-KXL-1.0.3.orig/configure.in  2003-12-31 11:38:53.253695176 -0500
++++ geki3-KXL-1.0.3/configure.in       2003-12-31 11:40:53.636394224 -0500
+@@ -25,9 +25,9 @@
+         BMP_PATH=/usr/local/share/geki3/bmp
+         WAV_PATH=/usr/local/share/geki3/wav
+ else
+-        DATA_PATH=$prefix/share/geki3/data
+-        BMP_PATH=$prefix/share/geki3/bmp
+-        WAV_PATH=$prefix/share/geki3/wav
++        DATA_PATH=$datadir/geki3/data
++        BMP_PATH=$datadir/geki3/bmp
++        WAV_PATH=$datadir/geki3/wav
+ fi
+ AC_DEFINE_UNQUOTED(DATA_PATH,"$DATA_PATH")
+ AC_DEFINE_UNQUOTED(BMP_PATH,"$BMP_PATH")
+diff -ur geki3-KXL-1.0.3.orig/data/Makefile.am geki3-KXL-1.0.3/data/Makefile.am
+--- geki3-KXL-1.0.3.orig/data/Makefile.am      2003-12-31 11:38:53.256694720 -0500
++++ geki3-KXL-1.0.3/data/Makefile.am   2003-12-31 11:40:11.304829600 -0500
+@@ -1,6 +1,6 @@
+-datadir = $(prefix)/share/geki3/data
++datadir = $(DATA_PATH)
+ data_DATA = stage1.dat stage2.dat stage3.dat stage4.dat
+ EXTRA_DIST = stage1.dat stage2.dat stage3.dat stage4.dat .score
+ install:
+-      $(INSTALL) -c -m 666 ./.score $(DESTDIR)$(DATA_PATH)
++      $(INSTALL) -c -m 660 ./.score $(DESTDIR)$(DATA_PATH)
+diff -ur geki3-KXL-1.0.3.orig/wav/Makefile.am geki3-KXL-1.0.3/wav/Makefile.am
+--- geki3-KXL-1.0.3.orig/wav/Makefile.am       2003-12-31 11:38:53.274691984 -0500
++++ geki3-KXL-1.0.3/wav/Makefile.am    2003-12-31 11:40:26.678492448 -0500
+@@ -1,4 +1,4 @@
+-wavdir = $(prefix)/share/geki3/wav
++wavdir = $(WAV_PATH)
+ wav_DATA =   bgm1.wav bgm2.wav bgm3.wav bgm4.wav boom.wav boss.wav go.wav \
+            laser.wav open.wav pow.wav warning.wav
+ EXTRA_DIST = bgm1.wav bgm2.wav bgm3.wav bgm4.wav boom.wav boss.wav go.wav \
similarity index 62%
rename from games-action/geki3-KXL/geki3-KXL-1.0.3.ebuild
rename to games-action/geki3-KXL/geki3-KXL-1.0.3-r1.ebuild
index 91ed4567fc573a5ccdff594ff466b728f03ccbd9..18a2d7598b2c80f2bc0c74800ea7acc4dcd7cb53 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2003 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/geki3-KXL/geki3-KXL-1.0.3.ebuild,v 1.1 2003/09/10 19:29:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/geki3-KXL/geki3-KXL-1.0.3-r1.ebuild,v 1.1 2003/12/31 16:53:00 vapier Exp $
 
-inherit games
+inherit games eutils
 
 DESCRIPTION="2D length scroll shooting game"
 SRC_URI="http://kxl.hn.org/download/${P}.tar.gz"
@@ -14,9 +14,14 @@ LICENSE="GPL-2"
 
 DEPEND=">=dev-games/KXL-1.1.7"
 
-src_compile() {
-       egamesconf || die
-       emake || die
+src_unpack() {
+       unpack ${A}
+       cp -rf ${S}{,.orig}
+       cd ${S}
+       epatch ${FILESDIR}/${PV}-gentoo-paths.patch
+       aclocal || die "aclocal failed"
+       automake -a || die "automake failed"
+       autoconf || die "autoconf failed"
 }
 
 src_install() {