summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/xfrisk/DESCR3
-rw-r--r--games/xfrisk/Makefile21
-rw-r--r--games/xfrisk/PLIST11
-rw-r--r--games/xfrisk/distinfo5
-rw-r--r--games/xfrisk/patches/patch-aa29
5 files changed, 69 insertions, 0 deletions
diff --git a/games/xfrisk/DESCR b/games/xfrisk/DESCR
new file mode 100644
index 00000000000..7e43ad573ac
--- /dev/null
+++ b/games/xfrisk/DESCR
@@ -0,0 +1,3 @@
+XFrisk is a computer version of the classic Risk board game. It is a
+multiplayer game played on a TCP/IP network, uses the X11 window system
+for graphics and runs on most UNIX and UNIX-like platforms.
diff --git a/games/xfrisk/Makefile b/games/xfrisk/Makefile
new file mode 100644
index 00000000000..9deee1deef6
--- /dev/null
+++ b/games/xfrisk/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/02/27 21:38:46 agc Exp $
+#
+
+DISTNAME= xfrisk-1.2
+CATEGORIES= games
+MASTER_SITES= http://morphy.iki.fi/xfrisk/files/
+
+MAINTAINER= sketch@rd.bbc.co.uk
+HOMEPAGE= http://morphy.iki.fi/xfrisk/
+COMMENT= X11 version of the classic Risk board game
+
+WRKSRC= ${WRKDIR}/XFrisk
+
+USE_GMAKE= yes
+USE_X11= yes
+
+RESTRICTED= "Possible trademark infringement"
+NO_SRC_ON_CDROM=${RESTRICTED}
+NO_BIN_ON_CDROM=${RESTRICTED}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/xfrisk/PLIST b/games/xfrisk/PLIST
new file mode 100644
index 00000000000..6521da5d9a7
--- /dev/null
+++ b/games/xfrisk/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/02/27 21:38:46 agc Exp $
+bin/aiColson
+bin/aiConway
+bin/aiDummy
+bin/friskserver
+bin/risk
+bin/xfrisk
+lib/xfrisk/Countries.risk
+lib/xfrisk/Help.risk
+lib/xfrisk/World.risk
+@dirrm lib/xfrisk
diff --git a/games/xfrisk/distinfo b/games/xfrisk/distinfo
new file mode 100644
index 00000000000..e7c1a8c3eac
--- /dev/null
+++ b/games/xfrisk/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/02/27 21:38:46 agc Exp $
+
+SHA1 (xfrisk-1.2.tar.gz) = 2a82c4be95e151fd34f816aaa125f3eb237c28be
+Size (xfrisk-1.2.tar.gz) = 228943 bytes
+SHA1 (patch-aa) = 40154a400df95bd96098e44b406836feefa61bc2
diff --git a/games/xfrisk/patches/patch-aa b/games/xfrisk/patches/patch-aa
new file mode 100644
index 00000000000..7690010e82e
--- /dev/null
+++ b/games/xfrisk/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/02/27 21:38:46 agc Exp $
+
+--- Makefile.orig Sun Feb 24 21:34:38 2002
++++ Makefile Sun Feb 24 22:01:06 2002
+@@ -77,11 +77,11 @@
+ #CFLAGS+=-DTEST_GAME
+
+ ## Initial linker options
+-LDFLAGS=
++LDFLAGS=-Wl,-R/usr/X11R6/lib
+
+ ## Installation prefix
+ # Adjust to taste. Stuff gets installed here.
+-PREFIX=/usr/local
++#PREFIX=${X11BASE}
+ #PREFIX=/usr/local/X11
+
+ ## X11 location and options
+@@ -92,8 +92,8 @@
+ #XDIR=/usr/openwin
+
+ # try Xaw if you don't have Xaw3d
+-#XAW=Xaw
+-XAW=Xaw3d
++XAW=Xaw
++#XAW=Xaw3d
+
+ XLIBS=-L$(XDIR)/lib -l$(XAW) -lXext -lXmu -lXt -lSM -lICE -lX11
+