summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-05-14 07:11:06 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-05-14 07:11:06 +0000
commit27734e21b8beb8a4db80741826468f92e5431350 (patch)
tree19337253d2a9b1b7fe1458fbe96d6e487809ad06 /games
parentupdated to samba-1.9.18p7 (diff)
New port xvmahjongg; the solitaire version for Xview.
PR: 6090 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes: svn path=/head/; revision=10977
Diffstat (limited to 'games')
-rw-r--r--games/xvmahjongg/Makefile34
-rw-r--r--games/xvmahjongg/distinfo1
-rw-r--r--games/xvmahjongg/files/patch-aa20
-rw-r--r--games/xvmahjongg/files/patch-ab26
-rw-r--r--games/xvmahjongg/pkg-comment1
-rw-r--r--games/xvmahjongg/pkg-descr12
-rw-r--r--games/xvmahjongg/pkg-plist6
7 files changed, 100 insertions, 0 deletions
diff --git a/games/xvmahjongg/Makefile b/games/xvmahjongg/Makefile
new file mode 100644
index 000000000000..5ade1ed3f519
--- /dev/null
+++ b/games/xvmahjongg/Makefile
@@ -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>
diff --git a/games/xvmahjongg/distinfo b/games/xvmahjongg/distinfo
new file mode 100644
index 000000000000..7c670d722845
--- /dev/null
+++ b/games/xvmahjongg/distinfo
@@ -0,0 +1 @@
+MD5 (xvmahjongg2.1.tar.Z) = 6164ca1572c60433b420c5af425ceacc
diff --git a/games/xvmahjongg/files/patch-aa b/games/xvmahjongg/files/patch-aa
new file mode 100644
index 000000000000..59a2e6e47c49
--- /dev/null
+++ b/games/xvmahjongg/files/patch-aa
@@ -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 $@
diff --git a/games/xvmahjongg/files/patch-ab b/games/xvmahjongg/files/patch-ab
new file mode 100644
index 000000000000..38eddecb20ac
--- /dev/null
+++ b/games/xvmahjongg/files/patch-ab
@@ -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
diff --git a/games/xvmahjongg/pkg-comment b/games/xvmahjongg/pkg-comment
new file mode 100644
index 000000000000..7bf39b9466c9
--- /dev/null
+++ b/games/xvmahjongg/pkg-comment
@@ -0,0 +1 @@
+Mahjongg for XView with multicolored tiles.
diff --git a/games/xvmahjongg/pkg-descr b/games/xvmahjongg/pkg-descr
new file mode 100644
index 000000000000..51ee8eb431c6
--- /dev/null
+++ b/games/xvmahjongg/pkg-descr
@@ -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.
diff --git a/games/xvmahjongg/pkg-plist b/games/xvmahjongg/pkg-plist
new file mode 100644
index 000000000000..7d0d94e4af00
--- /dev/null
+++ b/games/xvmahjongg/pkg-plist
@@ -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