Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2003 00:00:30 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56003: Update port: games/blackjack
Message-ID:  <20030827000030.266dd251.tkato@prontomail.com>
Resent-Message-ID: <200308261510.h7QFANZD018285@freefall.freebsd.org>

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

>Number:         56003
>Category:       ports
>Synopsis:       Update port: games/blackjack
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 26 08:10:23 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Fix WWW: line
- Utilize QTCPPFLAGS/QTCFGLIBS

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/blackjack/Makefile games/blackjack/Makefile
--- /usr/ports/games/blackjack/Makefile	Sat Apr 12 22:46:28 2003
+++ games/blackjack/Makefile	Mon Aug 25 22:47:18 2003
@@ -16,8 +16,10 @@
 COMMENT=	One of the better implementations of blackjack, based on QT
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
+
 USE_QT_VER=	3
-MAKE_ENV=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}"
+MAKE_ENV=	QTCPPFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
+		QTCFGLIBS="${QTCFGLIBS} ${PTHREAD_LIBS}"
 
 MAN1=		blackjack.1
 
diff -urN /usr/ports/games/blackjack/files/patch-aa games/blackjack/files/patch-aa
--- /usr/ports/games/blackjack/files/patch-aa	Tue Feb  4 20:49:44 2003
+++ games/blackjack/files/patch-aa	Mon Aug 25 22:46:25 2003
@@ -9,8 +9,8 @@
 -LDFLAGS=-L$(QTDIR)/lib -lqt
 +CC?=gcc
 +CXX?=g++
-+INCLUDES=-I$(X11BASE)/include/ ${PTHREAD_CFLAGS}
-+LDFLAGS=-L$(X11BASE)/lib -lqt-mt ${PTHREAD_LIBS}
++INCLUDES=${QTCPPFLAGS}
++LDFLAGS=${QTCFGLIBS} -lqt-mt
  VERSION=1.2
  
  # For systems that don't have install, use this
diff -urN /usr/ports/games/blackjack/pkg-descr games/blackjack/pkg-descr
--- /usr/ports/games/blackjack/pkg-descr	Wed Feb 12 19:11:35 2003
+++ games/blackjack/pkg-descr	Mon Aug 25 22:44:48 2003
@@ -1,23 +1,9 @@
+Blackjack is an X-windows based version of the casino game. The
+program is used to help learn the basic strategy of the game of
+blackjack. The help level can be set from a mode that tells you
+each correct move to make, to one that only warns you by a pop up
+window if you make a "bad" play. Betting limits, number of decks,
+number of splits, and shuffle point can be set. This program uses
+the Qt toolkit.
 
-   This is an X windows based game of the casino game blackjack.
-The program is currently written to use the Qt toolkit from Troll Tech.
-For more information on Qt see "http://www.trolltech.com/".
-
-   I have always enjoyed the game of blackjack.  When I first played in
-a casino I lost all the money I had brought.  After reading some books 
-on blackjack and the FAQ for rec.gambling.blackjack, I now know that there
-is a basic strategy to follow.  The strategy is based on the odds of each
-hand and the dealers up card.  I wrote this program so I could practice
-the basic strategy of blackjack.  The basic strategy is in the program
-and a help level can be set to help the user learn to play by these rules.
-My blackjack game has improved greatly.
-
-   I first wrote this program in tcl/tk.  It was OK, but I have trouble 
-remembering all the syntax and parsing rules.  The tcl/tk version was also
-noticably slow on my 386 running Linux.  Qt has been very good as a C++ 
-GUI library and is not slow at all on my 386. 
-
-Tom Daley
-tdaley@vsys.com
-
-WWW: http://members.surfbest.net/daley/blackjack/blackjack.html
+WWW: http://members.peakinet.net/tdaley/blackjack/blackjack.html
>Release-Note:
>Audit-Trail:
>Unformatted:



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