summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2003-02-17 14:59:31 +0000
committerzuntum <zuntum@pkgsrc.org>2003-02-17 14:59:31 +0000
commitfd1592867e30337968444f4ba7c63b170609bc59 (patch)
treefc857a2255d9fb89aa7bafd06ae4c99dc92c97e1 /games
parentc402b52b4c193c07c29b00cf44584c61e94f78c6 (diff)
downloadpkgsrc-fd1592867e30337968444f4ba7c63b170609bc59.tar.gz
Initial import of games/xvier (version 1.0)
xvier is a (not) simple game where you and the computer alternately throw stones into free columns. The stones pile up in the columns, and the goal is to get four stones in a row, column, or diagonally. The default grid is 7 columns by 6 rows. It can be sized from 4x4 to 13x13. It has 10 levels of difficulty. Provided by Jeremy C. Reed in PR#19100
Diffstat (limited to 'games')
-rw-r--r--games/xvier/DESCR6
-rw-r--r--games/xvier/Makefile16
-rw-r--r--games/xvier/PLIST4
-rw-r--r--games/xvier/distinfo5
-rw-r--r--games/xvier/patches/patch-aa24
5 files changed, 55 insertions, 0 deletions
diff --git a/games/xvier/DESCR b/games/xvier/DESCR
new file mode 100644
index 00000000000..c0c55bbf3e4
--- /dev/null
+++ b/games/xvier/DESCR
@@ -0,0 +1,6 @@
+xvier is a (not) simple game where you and the computer alternately
+throw stones into free columns. The stones pile up in the columns,
+and the goal is to get four stones in a row, column, or diagonally.
+
+The default grid is 7 columns by 6 rows. It can be sized from 4x4 to
+13x13. It has 10 levels of difficulty.
diff --git a/games/xvier/Makefile b/games/xvier/Makefile
new file mode 100644
index 00000000000..46f8bdd9e0f
--- /dev/null
+++ b/games/xvier/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/02/17 14:59:31 zuntum Exp $
+
+DISTNAME= xvier
+PKGNAME= xvier-1.0
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SUNSITE:=games/strategy/}
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= packages@netbsd.org
+#HOMEPAGE=
+COMMENT= four-in-a-row game
+
+USE_IMAKE= YES
+WRKSRC= ${WRKDIR}/${PKGNAME}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/xvier/PLIST b/games/xvier/PLIST
new file mode 100644
index 00000000000..1254dcb432e
--- /dev/null
+++ b/games/xvier/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/17 14:59:31 zuntum Exp $
+bin/xvier
+man/cat6/xvier.0
+libexec/xvier_prog
diff --git a/games/xvier/distinfo b/games/xvier/distinfo
new file mode 100644
index 00000000000..438bc752eed
--- /dev/null
+++ b/games/xvier/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/02/17 14:59:31 zuntum Exp $
+
+SHA1 (xvier.tar.Z) = d508d32610679d8c53fb8c04740a73e55913e67a
+Size (xvier.tar.Z) = 61765 bytes
+SHA1 (patch-aa) = 6adcd552f14722f89a0fc4b481c9a06f42cf24a1
diff --git a/games/xvier/patches/patch-aa b/games/xvier/patches/patch-aa
new file mode 100644
index 00000000000..9e62532b8dd
--- /dev/null
+++ b/games/xvier/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/02/17 14:59:31 zuntum Exp $
+
+--- Imakefile.orig Tue Jul 28 17:07:09 1992
++++ Imakefile Mon Nov 18 21:41:45 2002
+@@ -13,10 +13,12 @@
+ #NO_GETDTABSIZE = -DNO_GETDTABSIZE
+
+ #PROGNAME = $(LIBDIR)$(PATHSEP)xvier_prog
+-PROGNAME = /usr/games/lib/xvier_prog
++PROGNAME = $(PREFIX)/libexec/xvier_prog
+ DEFINES = $(XVIER_ASPECT) $(NO_FD_SET) $(NO_SELECT) \
+ $(NO_GETDTABSIZE) -DPROGNAME=\"$(PROGNAME)\"
+
++MANSUFFIX = 6
++
+ PROGRAMS = xvier xvier_prog
+
+ SRCS1 = xvier.c
+@@ -27,4 +29,4 @@
+ ComplexProgramTarget_1(xvier, $(XLIB), /**/)
+ NormalProgramTarget(xvier_prog, $(OBJS2), /**/, /**/, /**/)
+
+-InstallProgram(xvier_prog, $(PROGNAME))
++InstallProgram(xvier_prog, $(PREFIX)/libexec)