Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 1998 07:28:59 +0300 (MSK)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6070: New port: xvmines-1.0
Message-ID:  <199803200428.HAA10831@icc.surw.chel.su>

next in thread | raw e-mail | index | archive | help

>Number:         6070
>Category:       ports
>Synopsis:       New port: xvmines-1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 19 20:30:03 PST 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
New port: xvmines-1.0
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

>Description:

   This is a port of the XVmines - simple minesweeper game for X.

   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.


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xvmines-1.0
#	xvmines-1.0/Makefile
#	xvmines-1.0/files
#	xvmines-1.0/files/md5
#	xvmines-1.0/patches
#	xvmines-1.0/patches/patch-aa
#	xvmines-1.0/pkg
#	xvmines-1.0/pkg/PLIST
#	xvmines-1.0/pkg/COMMENT
#	xvmines-1.0/pkg/DESCR
#
echo c - xvmines-1.0
mkdir -p xvmines-1.0 > /dev/null 2>&1
echo x - xvmines-1.0/Makefile
sed 's/^X//' >xvmines-1.0/Makefile << 'END-of-xvmines-1.0/Makefile'
X# New ports collection makefile for:	xvmines
X# Version required:			1.0
X# Date created:				18 March 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=	xvmines-1.0
XCATEGORIES=	games x11
XMASTER_SITES=	ftp://ftp.csd.uch.gr/pub/X11/games/
XEXTRACT_SUFX=	.tar.Z
X
XMAINTAINER=	andy@icc.surw.chel.su
X
XLIB_DEPENDS=	xview\\.3\\.2:${PORTSDIR}/x11/xview-lib \
X		olgx\\.3\\.2:${PORTSDIR}/x11/xview-lib
X
XUSE_IMAKE=	yes
XMAN6=		xvmines.6
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/xvmines ${PREFIX}/bin
X	@ ${INSTALL_DATA} ${WRKSRC}/xvmines.man ${PREFIX}/man/man6/xvmines.6
X	@ ${MKDIR} ${PREFIX}/share/doc/xvmines
X	@ ${INSTALL_DATA} ${WRKSRC}/Copyright ${PREFIX}/share/doc/xvmines
X
X.include <bsd.port.mk>
END-of-xvmines-1.0/Makefile
echo c - xvmines-1.0/files
mkdir -p xvmines-1.0/files > /dev/null 2>&1
echo x - xvmines-1.0/files/md5
sed 's/^X//' >xvmines-1.0/files/md5 << 'END-of-xvmines-1.0/files/md5'
XMD5 (xvmines-1.0.tar.Z) = 4c3345dfc54bf869b57a6ae1a6d1327d
END-of-xvmines-1.0/files/md5
echo c - xvmines-1.0/patches
mkdir -p xvmines-1.0/patches > /dev/null 2>&1
echo x - xvmines-1.0/patches/patch-aa
sed 's/^X//' >xvmines-1.0/patches/patch-aa << 'END-of-xvmines-1.0/patches/patch-aa'
X--- Imakefile	Sun Jun 27 10:05:51 1993
X+++ /home/andy/tmp/wrk/Imakefile	Fri Mar 20 00:45:31 1998
X@@ -1,4 +1,5 @@
X-WHERE :sh = (tmp=`echo /usr/openwin`;echo ${OPENWINHOME:=$tmp})
X+#WHERE :sh = (tmp=`echo /usr/openwin`;echo ${OPENWINHOME:=$tmp})
X+WHERE=/usr/X11R6
X 
X #CC = gcc
X CC = cc 
END-of-xvmines-1.0/patches/patch-aa
echo c - xvmines-1.0/pkg
mkdir -p xvmines-1.0/pkg > /dev/null 2>&1
echo x - xvmines-1.0/pkg/PLIST
sed 's/^X//' >xvmines-1.0/pkg/PLIST << 'END-of-xvmines-1.0/pkg/PLIST'
Xbin/xvmines
Xman/man6/xvmines.6.gz
Xshare/doc/xvmines/Copyright
X@dirrm share/doc/xvmines
END-of-xvmines-1.0/pkg/PLIST
echo x - xvmines-1.0/pkg/COMMENT
sed 's/^X//' >xvmines-1.0/pkg/COMMENT << 'END-of-xvmines-1.0/pkg/COMMENT'
XXVmines is a simple minesweeper game for X Window System.
END-of-xvmines-1.0/pkg/COMMENT
echo x - xvmines-1.0/pkg/DESCR
sed 's/^X//' >xvmines-1.0/pkg/DESCR << 'END-of-xvmines-1.0/pkg/DESCR'
X   XVmines is a simple minesweeper game for X Window System.
X   xvmines creates a rectangle on the screen, divided into  equally
Xsized cells. Each cell may contain a mine (hence the name xvmines),
Xcontain a number  indicating  the  number of  mines  present in the 
X8-neighboring cells or be empty.
X   Initially,  all  cells  are  covered  with  tiles. A tile can be
Xremoved,  uncovering  the  cell  below, by  clicking the left mouse
Xbutton on it. In addition,a cell can be marked as containing a mine
Xby clicking the right mouse button on it. Note however that marking
Xa cell as containing a mine does not necessarily mean that the cell
Xreally contains a mine!
X   Clicking  the  middle  mouse  button  on a tile, marks it with a
Xquestion mark, acting as a reminder mechanism. The user can use the
Xnumbers in the uncovered  cells  to  find  (or sometimes guess ...)
Xwhich cells contain mines and which do not.
X   A game  ends  when  all  cells  not  containing  mines have been 
Xuncovered and all cells containing mines have  been marked, or when
Xa cell containing a mine is uncovered.
END-of-xvmines-1.0/pkg/DESCR
exit


>How-To-Repeat:

>Fix:
	
   Please, check and commit this port.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803200428.HAA10831>