aboutsummaryrefslogtreecommitdiff
path: root/games/liquidwar
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-13 08:59:49 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-13 08:59:49 +0000
commitf7316244cc40ccdc824b21e6e7334583ab8700fb (patch)
tree5abc475e50b64f34cebc3c7212dab0589cec6571 /games/liquidwar
parentda652c7e22972d2b6606de4e230fffd6e213b511 (diff)
downloadports-f7316244cc40ccdc824b21e6e7334583ab8700fb.tar.gz
ports-f7316244cc40ccdc824b21e6e7334583ab8700fb.zip
Notes
Diffstat (limited to 'games/liquidwar')
-rw-r--r--games/liquidwar/Makefile14
-rw-r--r--games/liquidwar/pkg-descr5
2 files changed, 16 insertions, 3 deletions
diff --git a/games/liquidwar/Makefile b/games/liquidwar/Makefile
index 1a1eb30d20f8..1954966a3f1c 100644
--- a/games/liquidwar/Makefile
+++ b/games/liquidwar/Makefile
@@ -7,7 +7,7 @@
PORTNAME= liquidwar
PORTVERSION= 5.6.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://liquidwar.sunsite.dk/archive/ \
${MASTER_SITE_SAVANNAH} \
@@ -22,7 +22,7 @@ LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --disable-target-opt --disable-doc-ps --disable-doc-pdf
-USE_PYTHON_BUILD= yes
+USE_PYTHON_BUILD=yes
INFO= liquidwar
@@ -31,4 +31,12 @@ MAN6= liquidwar.6 \
liquidwar-server.6 \
liquidwar-mapgen.6
-.include <bsd.port.mk>
+OPTIONS= ASM "Disable assembly code (if it crashes)" OFF
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_ASM)
+CONFIGURE_ARGS+= --disable-asm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/liquidwar/pkg-descr b/games/liquidwar/pkg-descr
index c8aba97e64d1..2176687141aa 100644
--- a/games/liquidwar/pkg-descr
+++ b/games/liquidwar/pkg-descr
@@ -14,4 +14,9 @@ very often controls several thousands fighters at the same time.
And when fighters from different teams meet, they eat each other,
it is as simple as that.
+Note: If the game crashes this might resolve it:
+ Inside liquidwar, go to options->rules->advanced and change
+ Algorithm from "Assembly" to "Standard C"
+See also the "ASM" option in the port build options.
+
WWW: http://www.ufoot.org/liquidwar/