summaryrefslogtreecommitdiff
path: root/games/xvmines
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-03-27 10:09:58 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-03-27 10:09:58 +0000
commit6c43a5726ea011985cc58f64e3b0caebd341b83d (patch)
treec2d56ef0a3b6f49bf476b3fc9118b4f37601af14 /games/xvmines
parentUpgrade to 2.8.1dev.4 (diff)
Continuing our relentless quest for minesweepers, we give you xvmines.
PR: 6070 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes: svn path=/head/; revision=10321
Diffstat (limited to '')
-rw-r--r--games/xvmines/Makefile30
-rw-r--r--games/xvmines/distinfo1
-rw-r--r--games/xvmines/files/patch-aa9
-rw-r--r--games/xvmines/pkg-comment1
-rw-r--r--games/xvmines/pkg-descr18
-rw-r--r--games/xvmines/pkg-plist4
6 files changed, 63 insertions, 0 deletions
diff --git a/games/xvmines/Makefile b/games/xvmines/Makefile
new file mode 100644
index 000000000000..d97c01ada5a9
--- /dev/null
+++ b/games/xvmines/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: xvmines
+# Version required: 1.0
+# Date created: 18 March 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= xvmines-1.0
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.csd.uch.gr/pub/X11/games/ \
+ ftp://ftp.cdrom.com/pub/X11/R5contrib/ \
+ ftp://ftp.gwdg.de/pub/x11/x.org/R5contrib/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= andy@icc.surw.chel.su
+
+LIB_DEPENDS= xview\\.3\\.2:${PORTSDIR}/x11/xview-lib \
+ olgx\\.3\\.2:${PORTSDIR}/x11/xview-lib
+
+USE_IMAKE= yes
+MAN6= xvmines.6
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/xvmines ${PREFIX}/bin
+ @ ${INSTALL_DATA} ${WRKSRC}/xvmines.man ${PREFIX}/man/man6/xvmines.6
+ @ ${MKDIR} ${PREFIX}/share/doc/xvmines
+ @ ${INSTALL_DATA} ${WRKSRC}/Copyright ${PREFIX}/share/doc/xvmines
+
+.include <bsd.port.mk>
diff --git a/games/xvmines/distinfo b/games/xvmines/distinfo
new file mode 100644
index 000000000000..9c3f86ad93d8
--- /dev/null
+++ b/games/xvmines/distinfo
@@ -0,0 +1 @@
+MD5 (xvmines-1.0.tar.Z) = 4c3345dfc54bf869b57a6ae1a6d1327d
diff --git a/games/xvmines/files/patch-aa b/games/xvmines/files/patch-aa
new file mode 100644
index 000000000000..1875df00d25a
--- /dev/null
+++ b/games/xvmines/files/patch-aa
@@ -0,0 +1,9 @@
+--- Imakefile Sun Jun 27 10:05:51 1993
++++ /home/andy/tmp/wrk/Imakefile Fri Mar 20 00:45:31 1998
+@@ -1,4 +1,5 @@
+-WHERE :sh = (tmp=`echo /usr/openwin`;echo ${OPENWINHOME:=$tmp})
++#WHERE :sh = (tmp=`echo /usr/openwin`;echo ${OPENWINHOME:=$tmp})
++WHERE=${X11BASE}
+
+ #CC = gcc
+ CC = cc
diff --git a/games/xvmines/pkg-comment b/games/xvmines/pkg-comment
new file mode 100644
index 000000000000..f01ce1a0e6ce
--- /dev/null
+++ b/games/xvmines/pkg-comment
@@ -0,0 +1 @@
+XVmines is a simple minesweeper game for X Window System.
diff --git a/games/xvmines/pkg-descr b/games/xvmines/pkg-descr
new file mode 100644
index 000000000000..b65a9ebdb679
--- /dev/null
+++ b/games/xvmines/pkg-descr
@@ -0,0 +1,18 @@
+ XVmines is a simple minesweeper game for X Window System.
+ xvmines creates a rectangle on the screen, divided into equally
+sized cells. Each cell may contain a mine (hence the name xvmines),
+contain a number indicating the number of mines present in the
+8-neighboring cells or be empty.
+ Initially, all cells are covered with tiles. A tile can be
+removed, uncovering the cell below, by clicking the left mouse
+button on it. In addition,a cell can be marked as containing a mine
+by clicking the right mouse button on it. Note however that marking
+a cell as containing a mine does not necessarily mean that the cell
+really contains a mine!
+ Clicking the middle mouse button on a tile, marks it with a
+question mark, acting as a reminder mechanism. The user can use the
+numbers in the uncovered cells to find (or sometimes guess ...)
+which cells contain mines and which do not.
+ A game ends when all cells not containing mines have been
+uncovered and all cells containing mines have been marked, or when
+a cell containing a mine is uncovered.
diff --git a/games/xvmines/pkg-plist b/games/xvmines/pkg-plist
new file mode 100644
index 000000000000..49aad1fa828d
--- /dev/null
+++ b/games/xvmines/pkg-plist
@@ -0,0 +1,4 @@
+bin/xvmines
+man/man6/xvmines.6.gz
+share/doc/xvmines/Copyright
+@dirrm share/doc/xvmines