From 34cde5f8eb91a1f55fa7980f9f01aad986a8026e Mon Sep 17 00:00:00 2001 From: zuntum Date: Thu, 26 Jul 2001 13:46:39 +0000 Subject: 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. --- games/ketm/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 games/ketm/Makefile (limited to 'games/ketm/Makefile') 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" -- cgit v1.2.3