summaryrefslogtreecommitdiff
path: root/games/xfrisk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xfrisk/Makefile')
-rw-r--r--games/xfrisk/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/games/xfrisk/Makefile b/games/xfrisk/Makefile
index 200edec7f3e..a77a8083e63 100644
--- a/games/xfrisk/Makefile
+++ b/games/xfrisk/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2003/03/29 12:41:11 jmmv Exp $
+# $NetBSD: Makefile,v 1.4 2003/09/30 08:26:51 xtraeme Exp $
#
DISTNAME= xfrisk-1.2
+PKGREVISION= 1
WRKSRC= ${WRKDIR}/XFrisk
CATEGORIES= games
MASTER_SITES= http://morphy.iki.fi/xfrisk/files/
@@ -10,6 +11,7 @@ MAINTAINER= sketch@rd.bbc.co.uk
HOMEPAGE= http://morphy.iki.fi/xfrisk/
COMMENT= X11 version of the classic Risk board game
+USE_BUILDLINK2= yes
USE_GMAKE= yes
USE_X11= yes
@@ -23,4 +25,12 @@ NO_BIN_ON_CDROM=${RESTRICTED}
MAKE_ENV+= LIBS="-lsocket -lnsl"
.endif
+# xfrisk doesn't work with standard Xaw.
+XAW_TYPE?= 3d
+
+.if ${XAW_TYPE} == standard
+XAW_TYPE=3d
+.endif
+
+.include "../../mk/xaw.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"