Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 1998 08:43:28 +0300 (MSK)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6090: New port: xvmahjongg-2.0
Message-ID:  <199803220543.IAA21005@icc.surw.chel.su>

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

>Number:         6090
>Category:       ports
>Synopsis:       New port: xvmahjongg-2.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:   Sat Mar 21 21:40:02 PST 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

>Description:

   This is a port of Mahjongg for XView with multicolored tiles.

   Mah jongg is an ancient Chinese game whose origins are supposed
to date back around 3000 years. It is typically a four player game
with  similarities  to most  popular card games. This version is a
solitaire  game  using  the  mahjongg  tiles. It was inspired by a
version originally seen on a PC.
   The  object  of  the  game  is to remove all the tiles from the
board  in matching  pairs. Tiles match only if they are identical.
Exceptions  are  the flower and season tiles. Any season tile will
match  any  other  season  tile and any flower tile will match any
other  flower  tile. Tiles  may be  removed from the board only if
they have either a left or a right edge  open and they do not have
a tile covering them.


# 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:
#
#	xvmahjongg-2.0
#	xvmahjongg-2.0/Makefile
#	xvmahjongg-2.0/files
#	xvmahjongg-2.0/files/md5
#	xvmahjongg-2.0/patches
#	xvmahjongg-2.0/patches/patch-aa
#	xvmahjongg-2.0/patches/patch-ab
#	xvmahjongg-2.0/pkg
#	xvmahjongg-2.0/pkg/PLIST
#	xvmahjongg-2.0/pkg/COMMENT
#	xvmahjongg-2.0/pkg/DESCR
#
echo c - xvmahjongg-2.0
mkdir -p xvmahjongg-2.0 > /dev/null 2>&1
echo x - xvmahjongg-2.0/Makefile
sed 's/^X//' >xvmahjongg-2.0/Makefile << 'END-of-xvmahjongg-2.0/Makefile'
X# New ports collection makefile for:	xvmahjongg
X# Version required:			2.0
X# Date created:				21 March 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=		xvmahjongg.ported
XPKGNAME=		xvmahjongg-2.0
XCATEGORIES=		games x11
XMASTER_SITES=		${MASTER_SITE_XCONTRIB}
XMASTER_SITE_SUBDIR=	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
XALL_TARGET=		mahjongg.swap
XUSE_X11=		yes
XWRKSRC=			${WRKDIR}/xvmahjongg
X
XMAN6=			xvmahjongg.6
X
Xpre-build:
X	@ ${RM} ${WRKSRC}/image-stuff/Img-uncompact
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/mahjongg ${PREFIX}/bin/xvmahjongg
X	@ ${INSTALL_DATA} ${WRKSRC}/mahjongg.6 ${PREFIX}/man/man6/xvmahjongg.6
X	@ ${MKDIR} ${PREFIX}/share/doc/xvmahjongg
X.for file in Notes README README.too
X	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xvmahjongg
X.endfor
X
X.include <bsd.port.mk>
END-of-xvmahjongg-2.0/Makefile
echo c - xvmahjongg-2.0/files
mkdir -p xvmahjongg-2.0/files > /dev/null 2>&1
echo x - xvmahjongg-2.0/files/md5
sed 's/^X//' >xvmahjongg-2.0/files/md5 << 'END-of-xvmahjongg-2.0/files/md5'
XMD5 (xvmahjongg.ported.tar.Z) = b771690d714614f78657cb44a547547e
END-of-xvmahjongg-2.0/files/md5
echo c - xvmahjongg-2.0/patches
mkdir -p xvmahjongg-2.0/patches > /dev/null 2>&1
echo x - xvmahjongg-2.0/patches/patch-aa
sed 's/^X//' >xvmahjongg-2.0/patches/patch-aa << 'END-of-xvmahjongg-2.0/patches/patch-aa'
X--- image-stuff/Makefile	Thu Dec 19 23:01:20 1991
X+++ /home/andy/tmp/wrk/image-stuff/Makefile	Sat Mar 21 23:44:49 1998
X@@ -18,13 +18,13 @@
X 	cd ..; image-stuff/Img-mk-swap
X 
X ../images/color: ../images
X-	mkdir $@
X+	- mkdir $@
X 
X ../images/bandw: ../images
X-	mkdir $@
X+	- mkdir $@
X 
X ../images/swap: ../images
X-	mkdir $@
X+	- mkdir $@
X 
X ../images:
X-	mkdir $@
X+	- mkdir $@
END-of-xvmahjongg-2.0/patches/patch-aa
echo x - xvmahjongg-2.0/patches/patch-ab
sed 's/^X//' >xvmahjongg-2.0/patches/patch-ab << 'END-of-xvmahjongg-2.0/patches/patch-ab'
X--- Makefile	Thu Dec 17 03:19:16 1992
X+++ /home/andy/tmp/wrk/Makefile	Sun Mar 22 00:02:15 1998
X@@ -29,12 +29,12 @@
X 
X # Root directory of XView developers package
X # For OpenWindows users, this is the same as $OPENWINHOME.
X-XVIEWROOT = ${OPENWINHOME}
X+XVIEWROOT = /usr/X11R6
X 
X # If not in OpenWindows, need to specify directory where libxview
X # and libolgx are.
X # For OpenWindows users, this is taken care of via $LD_LIBRARY_PATH.
X-XVIEWLIBDIR =
X+XVIEWLIBDIR = -L/usr/X11R6/lib
X # e.g., XVIEWLIBDIR = -L/usr/openwin/lib
X # This -L... stuff may only be appropriate in a SunOS environment,
X # so do what's appropriate in your environment.  The -L<pathname>
X@@ -45,10 +45,10 @@
X # currently only necessary when compiling icons.o
X TARGET=
X 
X-CFLAGS = -O -I${XVIEWROOT}/include
X+CFLAGS+= -I${XVIEWROOT}/include
X 
X SWOBJS = icons.o mahjongg.o event.o
X-SWLIBS= ${XVIEWLIBDIR} -lxview -lolgx -lX11 -lrpclib
X+SWLIBS= ${XVIEWLIBDIR} -lxview -lolgx -lX11
X 
X mahjongg: $(SWOBJS)
X 	cc $(CFLAGS) -o mahjongg $(SWOBJS) $(SWLIBS)
END-of-xvmahjongg-2.0/patches/patch-ab
echo c - xvmahjongg-2.0/pkg
mkdir -p xvmahjongg-2.0/pkg > /dev/null 2>&1
echo x - xvmahjongg-2.0/pkg/PLIST
sed 's/^X//' >xvmahjongg-2.0/pkg/PLIST << 'END-of-xvmahjongg-2.0/pkg/PLIST'
Xbin/xvmahjongg
Xman/man6/xvmahjongg.6.gz
Xshare/doc/xvmahjongg/Notes
Xshare/doc/xvmahjongg/README
Xshare/doc/xvmahjongg/README.too
X@dirrm share/doc/xvmahjongg
END-of-xvmahjongg-2.0/pkg/PLIST
echo x - xvmahjongg-2.0/pkg/COMMENT
sed 's/^X//' >xvmahjongg-2.0/pkg/COMMENT << 'END-of-xvmahjongg-2.0/pkg/COMMENT'
XMahjongg for XView with multicolored tiles.
END-of-xvmahjongg-2.0/pkg/COMMENT
echo x - xvmahjongg-2.0/pkg/DESCR
sed 's/^X//' >xvmahjongg-2.0/pkg/DESCR << 'END-of-xvmahjongg-2.0/pkg/DESCR'
X   Mah jongg is an ancient Chinese game whose origins are supposed
Xto date back around 3000 years. It is typically a four player game
Xwith  similarities  to most  popular card games. This version is a
Xsolitaire  game  using  the  mahjongg  tiles. It was inspired by a
Xversion originally seen on a PC.
X   The  object  of  the  game  is to remove all the tiles from the
Xboard  in matching  pairs. Tiles match only if they are identical.
XExceptions  are  the flower and season tiles. Any season tile will
Xmatch  any  other  season  tile and any flower tile will match any
Xother  flower  tile. Tiles  may be  removed from the board only if
Xthey have either a left or a right edge  open and they do not have
Xa tile covering them.
END-of-xvmahjongg-2.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?199803220543.IAA21005>