From owner-cvs-ports@FreeBSD.ORG Thu Jun 2 12:26:10 2005 Return-Path: X-Original-To: cvs-ports@FreeBSD.org Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9408016A41C; Thu, 2 Jun 2005 12:26:10 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 721E143D4C; Thu, 2 Jun 2005 12:26:10 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j52CQANq040867; Thu, 2 Jun 2005 12:26:10 GMT (envelope-from jylefort@repoman.freebsd.org) Received: (from jylefort@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j52CQAYc040866; Thu, 2 Jun 2005 12:26:10 GMT (envelope-from jylefort) Message-Id: <200506021226.j52CQAYc040866@repoman.freebsd.org> From: Jean-Yves Lefort Date: Thu, 2 Jun 2005 12:26:10 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/games Makefile ports/games/p5-Games-Dice Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2005 12:26:10 -0000 jylefort 2005-06-02 12:26:10 UTC FreeBSD ports repository Modified files: games Makefile Added files: games/p5-Games-Dice Makefile distinfo pkg-descr pkg-plist Log: Add p5-Games-Dice. Games::Dice simulates die rolls. It uses a function-oriented (not object-oriented) interface. No functions are exported by default. The number and type of dice to roll is given in a style which should be familiar to players of popular role-playing games: adb[+-*/b]c. a is optional and defaults to 1; it gives the number of dice to roll. b indicates the number of sides to each die. % can be used instead of 100 for b; hence, rolling 2d% and 2d100 is equivalent. roll simulates a rolls of b-sided dice and adds together the results. The optional end, consisting of one of +-*/b and a number c, can modify the sum of the individual dice. +-*/ are similar in that they take the sum of the rolls and add or subtract c, or multiply or divide the sum by c. (x can also be used instead of *.) Using b in this slot is a little different: it's short for "best" and indicates "roll a number of dice, but add together only the best few". For example, 5d6b3 rolls five six- sided dice and adds together the three best rolls. Author: Philip Newton WWW: http://search.cpan.org/dist/Games-Dice/ PR: ports/81612 Submitted by: Aaron Dalton Revision Changes Path 1.770 +1 -0 ports/games/Makefile 1.1 +22 -0 ports/games/p5-Games-Dice/Makefile (new) 1.1 +2 -0 ports/games/p5-Games-Dice/distinfo (new) 1.1 +22 -0 ports/games/p5-Games-Dice/pkg-descr (new) 1.1 +5 -0 ports/games/p5-Games-Dice/pkg-plist (new)