summaryrefslogtreecommitdiff
path: root/games/digger-vgl/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-09-22 20:35:22 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-09-22 20:35:22 +0000
commit0e050332e9147952037b18a5e18db8e11d92a7fa (patch)
tree27c182523a84e00babfc4f49b65eeb5c10460b9c /games/digger-vgl/Makefile
parentadd some missing %%PORTDOCS%% pragmas (diff)
Merge in numerous local fixes:
- when outputing character to the screen check that we actually have a character for the charcode supplied. This fixes potential segfault when user types in some character that isn't in the table; - don't hog all CPU time when playing level completion sound. This also makes level completion sound much more less jerky; - by default use sdl12 library instead of sdl10, because sdl10 is at the end of its lifecycle and would be retired RSN. Bump PPORTREVISION to indicate that major changes were made.
Notes
Notes: svn path=/head/; revision=48086
Diffstat (limited to 'games/digger-vgl/Makefile')
-rw-r--r--games/digger-vgl/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/digger-vgl/Makefile b/games/digger-vgl/Makefile
index dff4b6155791..9a7128bfe3b4 100644
--- a/games/digger-vgl/Makefile
+++ b/games/digger-vgl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= digger
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.digger.org/
DISTNAME= ${PORTNAME}-${DIGREL}
@@ -14,8 +15,10 @@ DISTNAME= ${PORTNAME}-${DIGREL}
MAINTAINER= sobomax@FreeBSD.org
.if defined(WITH_SOUND)
-LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl10
-MAKE_ENV= SOUND=yes
+SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
+LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12
+MAKE_ENV= SOUND=yes \
+ SDL_CONFIG=${SDL_CONFIG}
.endif
ONLY_FOR_ARCHS= i386 # Alphas don't have libvgl yet...