aboutsummaryrefslogtreecommitdiff
path: root/games/vavoom
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-10-14 13:34:06 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-10-14 13:34:06 +0000
commit1ca994ddedf7dae4d280f415a61405a568929353 (patch)
treea9a1a161ee830d378d93a8ff4b4ca8992b239c8a /games/vavoom
parent5e68762197a01eb724cb6c13cdb89c903e2b669e (diff)
downloadports-1ca994ddedf7dae4d280f415a61405a568929353.tar.gz
ports-1ca994ddedf7dae4d280f415a61405a568929353.zip
Notes
Diffstat (limited to 'games/vavoom')
-rw-r--r--games/vavoom/Makefile14
-rw-r--r--games/vavoom/distinfo6
2 files changed, 14 insertions, 6 deletions
diff --git a/games/vavoom/Makefile b/games/vavoom/Makefile
index 23c6711820fc..f73c327b4d03 100644
--- a/games/vavoom/Makefile
+++ b/games/vavoom/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= vavoom
-PORTVERSION= 1.28
-PORTREVISION= 3
+PORTVERSION= 1.30
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/Vavoom-source/${PORTVERSION}
@@ -29,7 +28,8 @@ OPTIONS= ALLEGRO "Use Allegro for hardware API" off \
OPENGL "Enable OpenGL support" on \
OPTIMIZED_CFLAGS "Enable compilation optimizations" off \
VORBIS "Enable Ogg Vorbis support" off \
- SDL "Use SDL for hardware API" on
+ SDL "Use SDL for hardware API" on \
+ WXUNICODE "Enable Unicode support" on
SUB_FILES= pkg-message
@@ -122,10 +122,18 @@ CMAKE_ARGS+= -DWITH_SDL=Y
CMAKE_ARGS+= -DWITH_SDL=N
.endif
+.if !defined(WITHOUT_WXUNICODE)
+WX_UNICODE=yes
+.endif
+
post-patch:
@cd ${WRKSRC} && ${SH} fixunix.sh
@${REINPLACE_CMD} -e 's|$$\* ||; s|$${IWADDIR}|-iwaddir ${DMDIR} $$*|' \
${WRKSRC}/source/CMakeLists.txt
+ @${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' \
+ ${WRKSRC}/utils/acc/parse.c
+ @${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' \
+ ${WRKSRC}/utils/acc/strlist.c
post-install:
.if !defined(NOPORTDOCS)
diff --git a/games/vavoom/distinfo b/games/vavoom/distinfo
index 5ed64c336b94..27aa921655da 100644
--- a/games/vavoom/distinfo
+++ b/games/vavoom/distinfo
@@ -1,3 +1,3 @@
-MD5 (vavoom-1.28.tar.bz2) = df12818579f50cb0777b4280b694cc91
-SHA256 (vavoom-1.28.tar.bz2) = 3553393f20d2da0d2a2ba23008f56b10aee12b8034d71dcc53cce9bc40ae1172
-SIZE (vavoom-1.28.tar.bz2) = 1608334
+MD5 (vavoom-1.30.tar.bz2) = 205c3645006232d75790fb8779a54e85
+SHA256 (vavoom-1.30.tar.bz2) = a6bc1ffb7458e8050add65d7083d9cec0d64d4e475486be8cfa44dd6f5ea1ca4
+SIZE (vavoom-1.30.tar.bz2) = 1597647