aboutsummaryrefslogtreecommitdiff
path: root/games/angband
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>2003-01-27 23:16:46 +0000
committerMatthew Hunt <mph@FreeBSD.org>2003-01-27 23:16:46 +0000
commit01cd67a1618e64e40d48d9582e50dd2e012c5004 (patch)
tree7e3ab1109a32111bd09e33de9ce8f45d7ae8a582 /games/angband
parent95d6f6abf35135ebaadd973dbf3af9d595384969 (diff)
downloadports-01cd67a1618e64e40d48d9582e50dd2e012c5004.tar.gz
ports-01cd67a1618e64e40d48d9582e50dd2e012c5004.zip
Notes
Diffstat (limited to 'games/angband')
-rw-r--r--games/angband/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/games/angband/Makefile b/games/angband/Makefile
index 861683c9e5a7..be0cddb33d19 100644
--- a/games/angband/Makefile
+++ b/games/angband/Makefile
@@ -14,8 +14,18 @@ MASTER_SITES= ftp://clockwork.dementia.org/angband/Source/ \
MAINTAINER= mph@freebsd.org
GNU_CONFIGURE= yes
+.if !defined(WITHOUT_X11)
USE_XLIB= yes
-
CONFIGURE_ARGS= --with-setgid=games --with-x
+.else
+CONFIGURE_ARGS= --with-setgid=games --with-x=no
+.endif
+
+pre-fetch:
+.if !defined(WITHOUT_X11)
+ @${ECHO_MSG} "You could define WITHOUT_X11, if you don't want X support"
+.else
+ @${ECHO_MSG} "Building without X support"
+.endif
.include <bsd.port.mk>