diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/xblackjack/Makefile | 17 | ||||
-rw-r--r-- | games/xblackjack/distinfo | 1 | ||||
-rw-r--r-- | games/xblackjack/files/patch-aa | 35 | ||||
-rw-r--r-- | games/xblackjack/pkg-comment | 1 | ||||
-rw-r--r-- | games/xblackjack/pkg-descr | 21 | ||||
-rw-r--r-- | games/xblackjack/pkg-plist | 3 |
6 files changed, 78 insertions, 0 deletions
diff --git a/games/xblackjack/Makefile b/games/xblackjack/Makefile new file mode 100644 index 000000000000..01f2b58bbe37 --- /dev/null +++ b/games/xblackjack/Makefile @@ -0,0 +1,17 @@ +# New ports collection makefile for: xblackjack +# Version required: 2.2 +# Date created: +# Whom: erich@FreeBSD.org +# +# $Id$ +# + +DISTNAME= xblackjack-2.2 +CATEGORIES+= games +MASTER_SITES= ftp://ftp.x.org/contrib/games/ +REQUIRES_MOTIF= yes +USE_IMAKE= yes + +MAINTAINER= erich@FreeBSD.org + +.include <bsd.port.mk> diff --git a/games/xblackjack/distinfo b/games/xblackjack/distinfo new file mode 100644 index 000000000000..2016aa6fb282 --- /dev/null +++ b/games/xblackjack/distinfo @@ -0,0 +1 @@ +MD5 (xblackjack-2.2.tar.gz) = d8e2114e0d8ee4caece7fbbb53479872 diff --git a/games/xblackjack/files/patch-aa b/games/xblackjack/files/patch-aa new file mode 100644 index 000000000000..f0bf6a4edf4a --- /dev/null +++ b/games/xblackjack/files/patch-aa @@ -0,0 +1,35 @@ +--- Imakefile~ Thu Aug 1 21:41:28 1996 ++++ Imakefile Thu Aug 1 21:41:43 1996 +@@ -54,7 +54,7 @@ + /* + * You may need to remove -lbsd. + */ +- EXTRA_LIBRARIES = -lXm $(DEPLIBS) -lbsd ++ EXTRA_LIBRARIES = -lXm -lXt -lXmu -lXext -lX11 + #endif + + /* +--- Table.c~ Thu Aug 1 21:39:10 1996 ++++ Table.c Thu Aug 1 21:40:50 1996 +@@ -229,7 +229,8 @@ + /* always_install_accelerators */ False, + #if XmVersion > 1000 + /* geo_matrix_create */ NULL, +- /* focus_moved_proc */ XtInheritFocusMovedProc, ++ /* focus_moved_proc */ /*XtInheritFocusMovedProc,*/ ++ XtCallAcceptFocus, + #endif + /* extension */ NULL, + }, +--- TableP.h~ Thu Aug 1 21:36:01 1996 ++++ TableP.h Thu Aug 1 21:38:03 1996 +@@ -15,6 +15,9 @@ + + #include "Table.h" + #include <Xm/XmP.h> ++#include <Xm/TravActI.h> ++#include <Xm/ManagerI.h> ++#include <Xm/BulletinBI.h> + #include <Xm/BulletinBP.h> + + /* diff --git a/games/xblackjack/pkg-comment b/games/xblackjack/pkg-comment new file mode 100644 index 000000000000..5da42f4c3a3f --- /dev/null +++ b/games/xblackjack/pkg-comment @@ -0,0 +1 @@ +an X11/Motif blackjack game diff --git a/games/xblackjack/pkg-descr b/games/xblackjack/pkg-descr new file mode 100644 index 000000000000..81425edca16c --- /dev/null +++ b/games/xblackjack/pkg-descr @@ -0,0 +1,21 @@ +From The README: + + Xblackjack is a MOTIF/OLIT based tool constructed to get you ready for the + casino. It was inspired by a book called "Beat the Dealer" by Edward O. + Thorp, Ph.D. of UCLA. A number of important statistics are maintained for + display, and used by the program to implement Thorp's "Complete Point System" + (high-low system). + + Beginners can learn a basic strategy which doesn't require counting. The + best strategy employs a simple card counting technique which can be used to + distinguish favorable situations. Avid players can learn to compute Thorp's + high-low index, which takes the number of unseen cards into account. + + The index is used by the program to suggest a bet, indicate when you should + buy insurance, and whether you should stand or hit, etc. You can test the + strategy using a slider to control "autoplay mode". Pressing the message + button below the playing area provides hints; the current count, index + and strategy table are revealed. + +eric. +erich@FreeBSD.org diff --git a/games/xblackjack/pkg-plist b/games/xblackjack/pkg-plist new file mode 100644 index 000000000000..6df86878d94a --- /dev/null +++ b/games/xblackjack/pkg-plist @@ -0,0 +1,3 @@ +bin/xblackjack +man/man1/xblackjack.1.gz +lib/X11/app-defaults/XBlackjack |