summaryrefslogtreecommitdiff
path: root/games/ketm/Makefile
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-07-26 13:46:39 +0000
committerzuntum <zuntum@pkgsrc.org>2001-07-26 13:46:39 +0000
commit34cde5f8eb91a1f55fa7980f9f01aad986a8026e (patch)
tree866c7f156a476e75e32d71982045e05f8f2db4eb /games/ketm/Makefile
parentffbb84d28763438cb32bee036c8d0402f5dabded (diff)
downloadpkgsrc-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/ketm/Makefile')
-rw-r--r--games/ketm/Makefile41
1 files changed, 41 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"