diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-12-31 16:59:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-12-31 16:59:14 +0000 |
commit | 50a2859025ad38938291234a99cc345cec5d23c1 (patch) | |
tree | d0008d67f4fd87b8579062b0c511ffd8c644b38c /games-action/spacearyarya-kxl | |
parent | Added 'ECVS_AUTH="ext"' to allow checkouts, as Savannah now uses SSH for CVS. (diff) | |
download | gentoo-2-50a2859025ad38938291234a99cc345cec5d23c1.tar.gz gentoo-2-50a2859025ad38938291234a99cc345cec5d23c1.tar.bz2 gentoo-2-50a2859025ad38938291234a99cc345cec5d23c1.zip |
lets by FHS friendly
Diffstat (limited to 'games-action/spacearyarya-kxl')
-rw-r--r-- | games-action/spacearyarya-kxl/ChangeLog | 5 | ||||
-rw-r--r-- | games-action/spacearyarya-kxl/files/1.0.2-gentoo-paths.patch | 45 | ||||
-rw-r--r-- | games-action/spacearyarya-kxl/files/digest-spacearyarya-kxl-1.0.2-r1 (renamed from games-action/spacearyarya-kxl/files/digest-spacearyarya-kxl-1.0.2) | 0 | ||||
-rw-r--r-- | games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.2-r1.ebuild (renamed from games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.2.ebuild) | 15 |
4 files changed, 61 insertions, 4 deletions
diff --git a/games-action/spacearyarya-kxl/ChangeLog b/games-action/spacearyarya-kxl/ChangeLog index 6be69bbefe5e..2a048ab33540 100644 --- a/games-action/spacearyarya-kxl/ChangeLog +++ b/games-action/spacearyarya-kxl/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for games-action/spacearyarya-kxl # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/spacearyarya-kxl/ChangeLog,v 1.2 2003/09/10 20:28:51 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/spacearyarya-kxl/ChangeLog,v 1.3 2003/12/31 16:59:14 vapier Exp $ *spacearyarya-kxl-1.0.2 (06 Jul 2002) + 31 Dec 2003; Mike Frysinger <vapier@gentoo.org> : + Make install paths cleaner. + 29 Jul 2003; Michael Sterrett <msterret@gentoo.org> spacearyarya-kxl-1.0.2.ebuild: use games eclass 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 diff --git a/games-action/spacearyarya-kxl/files/digest-spacearyarya-kxl-1.0.2 b/games-action/spacearyarya-kxl/files/digest-spacearyarya-kxl-1.0.2-r1 index 080045d0afbe..080045d0afbe 100644 --- a/games-action/spacearyarya-kxl/files/digest-spacearyarya-kxl-1.0.2 +++ b/games-action/spacearyarya-kxl/files/digest-spacearyarya-kxl-1.0.2-r1 diff --git a/games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.2.ebuild b/games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.2-r1.ebuild index f73fe1595c08..44de5169a9b2 100644 --- a/games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.2.ebuild +++ b/games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.2-r1.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.2.ebuild,v 1.1 2003/09/10 19:29:16 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.2-r1.ebuild,v 1.1 2003/12/31 16:59:14 vapier Exp $ -inherit games +inherit games eutils MY_P=SpaceAryarya-KXL-${PV} DESCRIPTION="A 2D/3D shooting game" -SRC_URI="http://kxl.hn.org/download/${MY_P}.tar.gz" HOMEPAGE="http://kxl.hn.org/" +SRC_URI="http://kxl.hn.org/download/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -17,6 +17,15 @@ DEPEND=">=dev-games/KXL-1.1.4" S=${WORKDIR}/${MY_P} +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-gentoo-paths.patch + aclocal || die "aclocal failed" + automake -a || die "automake failed" + autoconf || die "autoconf failed" +} + src_install() { make DESTDIR=${D} install || die "make install failed" dodoc ChangeLog COPYING README |