summaryrefslogtreecommitdiff
path: root/games/kapooka/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2004-11-24 17:05:03 +0000
committerwiz <wiz>2004-11-24 17:05:03 +0000
commit8ca45149db3b939f6153460638495a6f97847f47 (patch)
tree7ef793beb9c7463f16b83a671b8aca8366c399c7 /games/kapooka/Makefile
parent18ffca272d5e05c9de7b1ba7a6ab3a611b85aa1d (diff)
downloadpkgsrc-8ca45149db3b939f6153460638495a6f97847f47.tar.gz
Initial import of kapooka-0.2:
KaPooka is a logic game, written in SDL. The object of the game is to guide your red blobby to the exit, pushing the green blobbies out of the way. You can only push a green blobby if there is an empty space behind it.
Diffstat (limited to 'games/kapooka/Makefile')
-rw-r--r--games/kapooka/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/games/kapooka/Makefile b/games/kapooka/Makefile
new file mode 100644
index 00000000000..f00379958f1
--- /dev/null
+++ b/games/kapooka/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/24 17:05:03 wiz Exp $
+#
+
+DISTNAME= kapooka_0.2
+PKGNAME= ${DISTNAME:S/_/-/}
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kapooka/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://kapooka.sourceforge.net/
+COMMENT= Puzzle game
+
+WRKSRC= ${WRKDIR}/kapooka
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+
+SUBST_CLASSES+= kapooka
+SUBST_STAGE.kapooka= pre-build
+SUBST_MESSAGE.kapooka= "Fixing path to data files."
+SUBST_FILES.kapooka= main.h objects.c
+SUBST_SED.kapooka= "s!data/!${PREFIX}/share/kapooka/!"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/kapooka ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/kapooka
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/kapooka/interface
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/kapooka/levelDummy
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/kapooka/music
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/kapooka/sound
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/kapooka/sprites
+ ${INSTALL_DATA} ${WRKSRC}/data/level.dat ${PREFIX}/share/kapooka
+ ${INSTALL_DATA} ${WRKSRC}/data/interface/* ${PREFIX}/share/kapooka/interface
+ ${INSTALL_DATA} ${WRKSRC}/data/levelDummy/* ${PREFIX}/share/kapooka/levelDummy
+ ${INSTALL_DATA} ${WRKSRC}/data/music/* ${PREFIX}/share/kapooka/music
+ ${INSTALL_DATA} ${WRKSRC}/data/sound/* ${PREFIX}/share/kapooka/sound
+ ${INSTALL_DATA} ${WRKSRC}/data/sprites/*.png ${PREFIX}/share/kapooka/sprites
+
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../audio/libmikmod/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/SDL_image/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"