summaryrefslogtreecommitdiff
path: root/games/crack-attack
diff options
context:
space:
mode:
authordsainty <dsainty>2008-04-04 18:22:40 +0000
committerdsainty <dsainty>2008-04-04 18:22:40 +0000
commit9ac4dbb4ae34513aca808471e9b3f8cb15bd52e2 (patch)
tree3769e888f969ba75e237274a3cdfe0b139f59f9b /games/crack-attack
parent0adf33de48ca2bf54dd8b17c39db39f3abc2a1a4 (diff)
downloadpkgsrc-9ac4dbb4ae34513aca808471e9b3f8cb15bd52e2.tar.gz
Enable sound. Contrary to the --help, the default is to configure with sound
disabled. The game doesn't come with sound files, so enabling the support still leaves you with a silent game. But this does allow you to add them if you want - making the game even more addictive :) Bump PKGREVISION
Diffstat (limited to 'games/crack-attack')
-rw-r--r--games/crack-attack/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/crack-attack/Makefile b/games/crack-attack/Makefile
index 414213a4d52..afda0cad6dd 100644
--- a/games/crack-attack/Makefile
+++ b/games/crack-attack/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2008/03/02 05:31:00 dsainty Exp $
+# $NetBSD: Makefile,v 1.16 2008/04/04 18:22:40 dsainty Exp $
DISTNAME= crack-attack-1.1.14
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= games
MASTER_SITES= http://savannah.nongnu.org/download/crack-attack/
@@ -10,6 +10,7 @@ HOMEPAGE= http://savannah.nongnu.org/projects/crack-attack
COMMENT= Tetris Attack inspired game
GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --enable-sound=yes
CONFIGURE_ARGS+= --disable-binreloc
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
@@ -19,6 +20,8 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/html/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/doc/*.jpg ${PREFIX}/share/doc/html/${PKGBASE}
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/Mesa/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"