summaryrefslogtreecommitdiff
path: root/games/xfrisk/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2003-09-30 08:26:51 +0000
committerxtraeme <xtraeme@pkgsrc.org>2003-09-30 08:26:51 +0000
commita8b35ea72bee6f85d528562d7203f5a34964662c (patch)
tree50426ee6bbadbc606c70c9e389690080875e9362 /games/xfrisk/Makefile
parentc02ab55cbddce6d89cff88ed0d33dad642372d5e (diff)
downloadpkgsrc-a8b35ea72bee6f85d528562d7203f5a34964662c.tar.gz
xfrisk fails to properly display the action list, when using the standard
Xaw library, so change this to use Xaw3d. While here don't use X11BASE as PREFIX for installation. Patch provided by Soren Jacobsen PR pkg/21668, with some changes by me. Bump pkgrevision to 1.
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"