diff options
author | zuntum <zuntum@pkgsrc.org> | 2001-07-26 13:46:39 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2001-07-26 13:46:39 +0000 |
commit | 34cde5f8eb91a1f55fa7980f9f01aad986a8026e (patch) | |
tree | 866c7f156a476e75e32d71982045e05f8f2db4eb /games | |
parent | ffbb84d28763438cb32bee036c8d0402f5dabded (diff) | |
download | pkgsrc-34cde5f8eb91a1f55fa7980f9f01aad986a8026e.tar.gz |
Initial import of ketm-0.0.4 -- old-school 2d-scrolling shooter
ketm is (or will be someday) an old-school 2d-scrolling shooter. Because it
is based on SDL, it is no problem to port it to different plattforms. For
the moment it runs on Linux (i386/PPC), FreeBSD, Win32 and BeOS.
Diffstat (limited to 'games')
-rw-r--r-- | games/ketm/Makefile | 41 | ||||
-rw-r--r-- | games/ketm/distinfo | 5 | ||||
-rw-r--r-- | games/ketm/patches/patch-aa | 20 | ||||
-rw-r--r-- | games/ketm/pkg/DESCR | 3 | ||||
-rw-r--r-- | games/ketm/pkg/PLIST | 58 |
5 files changed, 127 insertions, 0 deletions
diff --git a/games/ketm/Makefile b/games/ketm/Makefile new file mode 100644 index 00000000000..999e28a73e8 --- /dev/null +++ b/games/ketm/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/07/26 13:46:39 zuntum Exp $ +# + +DISTNAME= ketm-0.0.4 +CATEGORIES= games +MASTER_SITES= http://home.t-online.de/home/haslbeck/ketm/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= zuntum@netbsd.org +HOMEPAGE= http://home.t-online.de/home/haslbeck/ketm/ +COMMENT= old-school 2d-scrolling shooter + +ALL_TARGET= ketm + +USE_BUILDLINK_ONLY= YES +USE_GMAKE= YES + +MAKE_ENV+= SDL_CONFIG=${BUILDLINK_CONFIG_WRAPPER.SDL} + +post-patch: + cd ${WRKSRC} && \ + for f in *.c; do \ + ${SED} "s,data/,${LOCALBASE}/share/ketm/data/,g" $${f} \ + > $${f}.done; \ + ${MV} $${f}.done $${f}; \ + done + + ${SED} "s,data/,${LOCALBASE}/share/ketm/data/,g" \ + ${WRKSRC}/font.h > ${WRKSRC}/font.h.done + ${MV} ${WRKSRC}/font.h.done ${WRKSRC}/font.h + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/ketm ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/ketm + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/ketm + ${INSTALL_DATA_DIR} ${PREFIX}/share/ketm/data + cd ${WRKSRC}/data && \ + ${INSTALL_DATA} *.bmp ${PREFIX}/share/ketm/data + +.include "../../devel/SDL/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/games/ketm/distinfo b/games/ketm/distinfo new file mode 100644 index 00000000000..8058c5408d4 --- /dev/null +++ b/games/ketm/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/07/26 13:46:39 zuntum Exp $ + +SHA1 (ketm-0.0.4.tar.bz2) = b49f2a255b60ad76a36c95ddba71a0d39ffbcac4 +Size (ketm-0.0.4.tar.bz2) = 1250927 bytes +SHA1 (patch-aa) = 2f0155a45f8e9f1e0042d05633f5158a16f43b02 diff --git a/games/ketm/patches/patch-aa b/games/ketm/patches/patch-aa new file mode 100644 index 00000000000..0d073472bb1 --- /dev/null +++ b/games/ketm/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/07/26 13:46:39 zuntum Exp $ + +--- Makefile.orig Thu Jun 28 17:41:42 2001 ++++ Makefile +@@ -1,14 +1,12 @@ + +-CC=gcc + + # cflags - debug +-CFLAGS=-Wall -g `sdl-config --cflags` + + # cflags - release + # CFLAGS=-Wall -O3 -funroll-loops -fexpensive-optimizations `sdl-config --cflags` + + # ldflags - unix/linux +-LDFLAGS=`sdl-config --libs` ++LDFLAGS+=`$(SDL_CONFIG) --libs` + + # ldflags - cygwin + # LDFLAGS=-lSDLmain -lSDL diff --git a/games/ketm/pkg/DESCR b/games/ketm/pkg/DESCR new file mode 100644 index 00000000000..cf8825f6912 --- /dev/null +++ b/games/ketm/pkg/DESCR @@ -0,0 +1,3 @@ +ketm is (or will be someday) an old-school 2d-scrolling shooter. Because it +is based on SDL, it is no problem to port it to different plattforms. For +the moment it runs on Linux (i386/PPC), FreeBSD, Win32 and BeOS. diff --git a/games/ketm/pkg/PLIST b/games/ketm/pkg/PLIST new file mode 100644 index 00000000000..1c0b5d9b43c --- /dev/null +++ b/games/ketm/pkg/PLIST @@ -0,0 +1,58 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/26 13:46:39 zuntum Exp $ +bin/ketm +share/ketm/README +share/ketm/data/12side.bmp +share/ketm/data/badblocks.bmp +share/ketm/data/badguy.bmp +share/ketm/data/bonus_f.bmp +share/ketm/data/bonus_p.bmp +share/ketm/data/bonus_s.bmp +share/ketm/data/bonus_x.bmp +share/ketm/data/boss01-lo.bmp +share/ketm/data/boss01-lu.bmp +share/ketm/data/boss01-mo.bmp +share/ketm/data/boss01-mu.bmp +share/ketm/data/boss01-ro.bmp +share/ketm/data/boss01-ru.bmp +share/ketm/data/bshoot.bmp +share/ketm/data/coin.bmp +share/ketm/data/crusher.bmp +share/ketm/data/cshoot.bmp +share/ketm/data/cube.bmp +share/ketm/data/engergy.bmp +share/ketm/data/ex.bmp +share/ketm/data/extra.bmp +share/ketm/data/eyefo.bmp +share/ketm/data/fireball.bmp +share/ketm/data/fireball1.bmp +share/ketm/data/firebomb.bmp +share/ketm/data/font01.bmp +share/ketm/data/font02.bmp +share/ketm/data/font03.bmp +share/ketm/data/font04.bmp +share/ketm/data/font05.bmp +share/ketm/data/homing.bmp +share/ketm/data/iris.bmp +share/ketm/data/ketm.bmp +share/ketm/data/killray-b.bmp +share/ketm/data/killray-r.bmp +share/ketm/data/kugel.bmp +share/ketm/data/moon.bmp +share/ketm/data/plasma.bmp +share/ketm/data/plasmaball.bmp +share/ketm/data/plate.bmp +share/ketm/data/plus1000.bmp +share/ketm/data/protectball.bmp +share/ketm/data/rocket.bmp +share/ketm/data/rotating_rocket.bmp +share/ketm/data/rwingx.bmp +share/ketm/data/scoreline.bmp +share/ketm/data/ship-med.bmp +share/ketm/data/speed.bmp +share/ketm/data/target.bmp +share/ketm/data/weapon.bmp +share/ketm/data/wolke01.bmp +share/ketm/data/wolke02.bmp +share/ketm/data/wolke03.bmp +@dirrm share/ketm/data +@dirrm share/ketm |