pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/crack-attack Enable sound. Contrary to the --he...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a8698445f82
branches:  trunk
changeset: 540599:7a8698445f82
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Fri Apr 04 18:22:40 2008 +0000

description:
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:

 games/crack-attack/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r ea81700965b7 -r 7a8698445f82 games/crack-attack/Makefile
--- a/games/crack-attack/Makefile       Fri Apr 04 17:58:59 2008 +0000
+++ b/games/crack-attack/Makefile       Fri Apr 04 18:22:40 2008 +0000
@@ -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 @@
 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 @@
        ${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"



Home | Main Index | Thread Index | Old Index