From owner-freebsd-ports Mon Apr 2 4:30: 8 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9650537B71D for ; Mon, 2 Apr 2001 04:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f32BU2V56402; Mon, 2 Apr 2001 04:30:02 -0700 (PDT) (envelope-from gnats) Received: from hamster.kyne.com.au (kyneso.lnk.telstra.net [139.130.137.83]) by hub.freebsd.org (Postfix) with ESMTP id DCC4237B718 for ; Mon, 2 Apr 2001 04:29:56 -0700 (PDT) (envelope-from mark@aeris.kyne.com.au) Received: from aeris.kyne.com.au (root@aeris.kyne.com.au [203.38.180.166]) by hamster.kyne.com.au (8.9.3/8.9.3) with ESMTP id UAA13353 for ; Mon, 2 Apr 2001 20:59:55 +0930 Received: (from mark@localhost) by aeris.kyne.com.au (8.11.1/8.11.1) id f32BWt843010; Mon, 2 Apr 2001 21:02:55 +0930 (CST) (envelope-from mark) Message-Id: <200104021132.f32BWt843010@aeris.kyne.com.au> Date: Mon, 2 Apr 2001 21:02:55 +0930 (CST) From: mark@kyne.com.au Reply-To: mark@kyne.com.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/26288: New port: games/deal: A calculator for card-draw probabilities Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26288 >Category: ports >Synopsis: New port: games/deal: A calculator for card-draw probabilities >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 02 04:30:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Mark Pulford >Release: FreeBSD 4.2-STABLE i386 >Organization: none >Environment: >Description: 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. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # deal # deal/distinfo # deal/pkg-descr # deal/Makefile # deal/files # deal/files/patch-Makefile # deal/pkg-comment # deal/pkg-plist # echo c - deal mkdir -p deal > /dev/null 2>&1 echo x - deal/distinfo sed 's/^X//' >deal/distinfo << 'END-of-deal/distinfo' XMD5 (deal-2.1.tar.gz) = 4a1da74da9813a3e01532b449f6808be END-of-deal/distinfo echo x - deal/pkg-descr sed 's/^X//' >deal/pkg-descr << 'END-of-deal/pkg-descr' XDeal is a calculator for card-draw probabilities. Specifically it Xcomputes non-replacement draw probabilities using the hypergeomtric Xfunction. It can also be used to compute binomial coefficients and the Xgamma function. X XDeal is useful for tuning Magic: The Gathering decks. X XWWW: http://www.tuxedo.org/~esr/software.html X X- Mark Pulford Xmark@kyne.com.au END-of-deal/pkg-descr echo x - deal/Makefile sed 's/^X//' >deal/Makefile << 'END-of-deal/Makefile' X# New ports collection makefile for: deal X# Date created: Apr 2, 2001 X# Whom: Mark Pulford X# X# $FreeBSD$ X# X XPORTNAME= deal XPORTVERSION= 2.1 XCATEGORIES= games XMASTER_SITES= http://www.tuxedo.org/~esr/deal/ X XMAINTAINER= mark@kyne.com.au X XALL_TARGET= deal XMAN1= deal.1 X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/deal ${PREFIX}/bin X ${INSTALL_DATA} ${WRKSRC}/deal.1 ${PREFIX}/man/man1 X X.include END-of-deal/Makefile echo c - deal/files mkdir -p deal/files > /dev/null 2>&1 echo x - deal/files/patch-Makefile sed 's/^X//' >deal/files/patch-Makefile << 'END-of-deal/files/patch-Makefile' X--- Makefile.orig Fri Jul 28 14:07:59 2000 X+++ Makefile Mon Apr 2 20:55:32 2001 X@@ -8,7 +8,7 @@ X SOURCES = README Makefile deal.c deal.1 deal.lsm deal.spec X X deal: deal.c X- $(CC) -g deal.c -lm -o deal X+ $(CC) $(CFLAGS) deal.c -lm -o deal X X deal-$(VERS).tar.gz: $(SOURCES) X @ls $(SOURCES) | sed s:^:deal-$(VERS)/: >MANIFEST END-of-deal/files/patch-Makefile echo x - deal/pkg-comment sed 's/^X//' >deal/pkg-comment << 'END-of-deal/pkg-comment' XA calculator for card-draw probabilities END-of-deal/pkg-comment echo x - deal/pkg-plist sed 's/^X//' >deal/pkg-plist << 'END-of-deal/pkg-plist' Xbin/deal END-of-deal/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message