# 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)
--- /dev/null
+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 \
# 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"
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() {