summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-12-31 16:53:00 +0000
committerMike Frysinger <vapier@gentoo.org>2003-12-31 16:53:00 +0000
commitec3726614a1d663ad5e2bc5b0e61a32adc30ad5c (patch)
tree18db495f702569804acf66fd7481bb8d06102ee7 /games-action
parentis-flag() is free (diff)
downloadhistorical-ec3726614a1d663ad5e2bc5b0e61a32adc30ad5c.tar.gz
historical-ec3726614a1d663ad5e2bc5b0e61a32adc30ad5c.tar.bz2
historical-ec3726614a1d663ad5e2bc5b0e61a32adc30ad5c.zip
lets by FHS friendly
Diffstat (limited to 'games-action')
-rw-r--r--games-action/geki3-KXL/ChangeLog7
-rw-r--r--games-action/geki3-KXL/files/1.0.3-gentoo-paths.patch46
-rw-r--r--games-action/geki3-KXL/files/digest-geki3-KXL-1.0.3-r1 (renamed from games-action/geki3-KXL/files/digest-geki3-KXL-1.0.3)0
-rw-r--r--games-action/geki3-KXL/geki3-KXL-1.0.3-r1.ebuild (renamed from games-action/geki3-KXL/geki3-KXL-1.0.3.ebuild)15
4 files changed, 62 insertions, 6 deletions
diff --git a/games-action/geki3-KXL/ChangeLog b/games-action/geki3-KXL/ChangeLog
index 35f161c0b4f0..156e7e8f5e71 100644
--- a/games-action/geki3-KXL/ChangeLog
+++ b/games-action/geki3-KXL/ChangeLog
@@ -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
index 000000000000..5dc95cf1146c
--- /dev/null
+++ b/games-action/geki3-KXL/files/1.0.3-gentoo-paths.patch
@@ -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 \
diff --git a/games-action/geki3-KXL/files/digest-geki3-KXL-1.0.3 b/games-action/geki3-KXL/files/digest-geki3-KXL-1.0.3-r1
index 233c5d486ef7..233c5d486ef7 100644
--- a/games-action/geki3-KXL/files/digest-geki3-KXL-1.0.3
+++ b/games-action/geki3-KXL/files/digest-geki3-KXL-1.0.3-r1
diff --git a/games-action/geki3-KXL/geki3-KXL-1.0.3.ebuild b/games-action/geki3-KXL/geki3-KXL-1.0.3-r1.ebuild
index 91ed4567fc57..18a2d7598b2c 100644
--- a/games-action/geki3-KXL/geki3-KXL-1.0.3.ebuild
+++ b/games-action/geki3-KXL/geki3-KXL-1.0.3-r1.ebuild
@@ -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() {