1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

New port xvmahjongg; the solitaire version for Xview.

PR:		6090
Submitted by:	Andrey Zakhvatov <andy@icc.surw.chel.su>
This commit is contained in:
Thomas Gellekum 1998-05-14 07:11:06 +00:00
parent 0c6c9d24ec
commit 27734e21b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10977
7 changed files with 100 additions and 0 deletions

34
games/xvmahjongg/Makefile Normal file
View File

@ -0,0 +1,34 @@
# New ports collection makefile for: xvmahjongg
# Version required: 2.0
# Date created: 21 March 1998
# Whom: Andrey Zakhvatov
#
# $Id$
#
DISTNAME= xvmahjongg2.1
PKGNAME= xvmahjongg-2.1
CATEGORIES= games x11
MASTER_SITES= ftp://ftp.cdrom.com/pub/X11/R5contrib/ \
ftp://ftp.tu-darmstadt.de/pub/X11/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
ALL_TARGET= mahjongg.swap
USE_X11= yes
WRKSRC= ${WRKDIR}/mahjongg2.1
MAN6= xvmahjongg.6
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/mahjongg ${PREFIX}/bin/xvmahjongg
@ ${INSTALL_DATA} ${WRKSRC}/mahjongg.6 ${PREFIX}/man/man6/xvmahjongg.6
@ ${MKDIR} ${PREFIX}/share/doc/xvmahjongg
.for file in Notes README README.too
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xvmahjongg
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (xvmahjongg2.1.tar.Z) = 6164ca1572c60433b420c5af425ceacc

View File

@ -0,0 +1,20 @@
--- image-stuff/Makefile Thu Dec 19 23:01:20 1991
+++ /home/andy/tmp/wrk/image-stuff/Makefile Sat Mar 21 23:44:49 1998
@@ -18,13 +18,13 @@
cd ..; image-stuff/Img-mk-swap
../images/color: ../images
- mkdir $@
+ - mkdir $@
../images/bandw: ../images
- mkdir $@
+ - mkdir $@
../images/swap: ../images
- mkdir $@
+ - mkdir $@
../images:
- mkdir $@
+ - mkdir $@

View File

@ -0,0 +1,26 @@
--- Makefile.orig Fri Dec 20 23:33:15 1991
+++ Makefile Thu May 14 09:05:45 1998
@@ -29,12 +29,12 @@
# Root directory of XView developers package
# For OpenWindows users, this is the same as $OPENWINHOME.
-XVIEWROOT = ${OPENWINHOME}
+XVIEWROOT = ${X11BASE}
# If not in OpenWindows, need to specify directory where libxview
# and libolgx are.
# For OpenWindows users, this is taken care of via $LD_LIBRARY_PATH.
-XVIEWLIBDIR =
+XVIEWLIBDIR = -L${X11BASE}/lib
# e.g., XVIEWLIBDIR = -L/usr/openwin/lib
# This -L... stuff may only be appropriate in a SunOS environment,
# so do what's appropriate in your environment. The -L<pathname>
@@ -45,7 +45,7 @@
# currently only necessary when compiling icons.o
TARGET=
-CFLAGS = -O -I${XVIEWROOT}/include
+CFLAGS+= -I${XVIEWROOT}/include
SWOBJS = icons.o mahjongg.o event.o
SWLIBS= ${XVIEWLIBDIR} -lxview -lolgx -lX11

View File

@ -0,0 +1 @@
Mahjongg for XView with multicolored tiles.

View File

@ -0,0 +1,12 @@
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.

View File

@ -0,0 +1,6 @@
bin/xvmahjongg
man/man6/xvmahjongg.6.gz
share/doc/xvmahjongg/Notes
share/doc/xvmahjongg/README
share/doc/xvmahjongg/README.too
@dirrm share/doc/xvmahjongg