summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2008-04-04 18:22:40 +0000
committerdsainty <dsainty@pkgsrc.org>2008-04-04 18:22:40 +0000
commit16a59914291b889a849d149c6089dc2a8f870ba6 (patch)
tree3769e888f969ba75e237274a3cdfe0b139f59f9b
parentb31ac1020d08cf6dbc7456a4542393e7616e262b (diff)
downloadpkgsrc-16a59914291b889a849d149c6089dc2a8f870ba6.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
-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"