summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-08-26 15:40:47 +0000
committerkrion <krion@FreeBSD.org>2003-08-26 15:40:47 +0000
commitb99c30618463772722109e5faecad27a41d6c7ec (patch)
tree1f5730976ee40cfc898a68eaf7cdf43bfd1d6157 /games
parent144306b9fa51ae78f7f0943964d057c5167e2917 (diff)
downloadFreeBSD-ports-b99c30618463772722109e5faecad27a41d6c7ec.zip
FreeBSD-ports-b99c30618463772722109e5faecad27a41d6c7ec.tar.gz
- Fix WWW: line
- Utilize QTCPPFLAGS/QTCFGLIBS PR: 56003 Submitted by: Ports Fury
Diffstat (limited to 'games')
-rw-r--r--games/blackjack/Makefile4
-rw-r--r--games/blackjack/files/patch-aa4
-rw-r--r--games/blackjack/pkg-descr32
3 files changed, 14 insertions, 26 deletions
diff --git a/games/blackjack/Makefile b/games/blackjack/Makefile
index fc2091a..6bc2ce7 100644
--- a/games/blackjack/Makefile
+++ b/games/blackjack/Makefile
@@ -16,8 +16,10 @@ MAINTAINER= ports@FreeBSD.org
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 --git a/games/blackjack/files/patch-aa b/games/blackjack/files/patch-aa
index a3bee52..c9c0d51 100644
--- a/games/blackjack/files/patch-aa
+++ b/games/blackjack/files/patch-aa
@@ -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 --git a/games/blackjack/pkg-descr b/games/blackjack/pkg-descr
index c19aca1..bf5122a 100644
--- a/games/blackjack/pkg-descr
+++ b/games/blackjack/pkg-descr
@@ -1,23 +1,9 @@
-
- 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
+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.
+
+WWW: http://members.peakinet.net/tdaley/blackjack/blackjack.html
OpenPOWER on IntegriCloud