aboutsummaryrefslogtreecommitdiffstats
path: root/games/deal
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-04-07 12:36:47 +0800
committerwill <will@FreeBSD.org>2001-04-07 12:36:47 +0800
commit100935911581a75f0a0ae65f76fedaede620e438 (patch)
treeb519743ce023d8d7ce2b9ae2a2139ab74edce50f /games/deal
parent11076a19bccd94c1302e85449456db12e6be04e2 (diff)
downloadfreebsd-ports-gnome-100935911581a75f0a0ae65f76fedaede620e438.tar.gz
freebsd-ports-gnome-100935911581a75f0a0ae65f76fedaede620e438.tar.zst
freebsd-ports-gnome-100935911581a75f0a0ae65f76fedaede620e438.zip
Add deal 2.1, a calculator for card-draw probabilities.
PR: 26288 Submitted by: Mark Pulford <mark@kyne.com.au>
Diffstat (limited to 'games/deal')
-rw-r--r--games/deal/Makefile25
-rw-r--r--games/deal/distinfo1
-rw-r--r--games/deal/pkg-comment1
-rw-r--r--games/deal/pkg-descr11
-rw-r--r--games/deal/pkg-plist1
5 files changed, 39 insertions, 0 deletions
diff --git a/games/deal/Makefile b/games/deal/Makefile
new file mode 100644
index 000000000000..b6f9f3dd5f89
--- /dev/null
+++ b/games/deal/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: deal
+# Date created: Apr 2, 2001
+# Whom: Mark Pulford <mark@kyne.com.au>
+#
+# $FreeBSD$
+#
+
+PORTNAME= deal
+PORTVERSION= 2.1
+CATEGORIES= games
+MASTER_SITES= http://www.tuxedo.org/~esr/deal/
+
+MAINTAINER= mark@kyne.com.au
+
+ALL_TARGET= deal
+MAN1= deal.1
+
+pre-build:
+ ${PERL} -pi -e "s@-g@${CFLAGS}@g" ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/deal ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/deal.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/games/deal/distinfo b/games/deal/distinfo
new file mode 100644
index 000000000000..9a126830ebfc
--- /dev/null
+++ b/games/deal/distinfo
@@ -0,0 +1 @@
+MD5 (deal-2.1.tar.gz) = 4a1da74da9813a3e01532b449f6808be
diff --git a/games/deal/pkg-comment b/games/deal/pkg-comment
new file mode 100644
index 000000000000..b5dac785f101
--- /dev/null
+++ b/games/deal/pkg-comment
@@ -0,0 +1 @@
+A calculator for card-draw probabilities
diff --git a/games/deal/pkg-descr b/games/deal/pkg-descr
new file mode 100644
index 000000000000..d74b4a73bab5
--- /dev/null
+++ b/games/deal/pkg-descr
@@ -0,0 +1,11 @@
+Deal is a calculator for card-draw probabilities. Specifically it
+computes non-replacement draw probabilities using the hypergeomtric
+function. It can also be used to compute binomial coefficients and the
+gamma function.
+
+Deal is useful for tuning Magic: The Gathering decks.
+
+WWW: http://www.tuxedo.org/~esr/software.html
+
+- Mark Pulford
+mark@kyne.com.au
diff --git a/games/deal/pkg-plist b/games/deal/pkg-plist
new file mode 100644
index 000000000000..48f91e1cc2be
--- /dev/null
+++ b/games/deal/pkg-plist
@@ -0,0 +1 @@
+bin/deal