Port details |
- p5-Games-Dice Perl module to simulate die rolls
- 0.046 games =2 0.046Version of this port present on the latest quarterly branch.
- There is no maintainer for this port.
- Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org
- Port Added: 2005-06-02 12:26:48
- Last Update: 2023-01-30 12:59:28
- Commit Hash: 99189d3
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: perl5
- License: MIT
- WWW:
- https://metacpan.org/release/Games-Dice
- Description:
- Games::Dice simulates die rolls. It uses a function-oriented (not
object-oriented) interface. No functions are exported by default. At present,
there are two functions which are exportable: roll and roll_array. The latter is
used internally by roll, but can also be exported by itself.
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; the most common, cube-shaped die is thus a d6. % can be used
instead of 100 for b; hence, rolling 2d% and 2d100 is equivalent. If F is used
for b fudge dice are used, which either results in -1, 0 or 1. 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
*.) Hence, 1d6+2 gives a number in the range 3..8, and 2d4*10 gives a number in
the range 20..80. (Using / truncates the result to an int after dividing.) 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. This is sometimes
used, for example, in role-playing to give higher averages.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Games-Dice>0:games/p5-Games-Dice
- To install the port:
- cd /usr/ports/games/p5-Games-Dice/ && make install clean
- To add the package, run one of these commands:
- pkg install games/p5-Games-Dice
- pkg install p5-Games-Dice
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Games-Dice
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1674589670
SHA256 (Games-Dice-0.046.tar.gz) = b79c8ced572157f3623a5fd8179f3babe63386163260955a41f95b089fec7eff
SIZE (Games-Dice-0.046.tar.gz) = 13218
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Test dependencies:
-
- p5-Test-MockRandom>=0 : devel/p5-Test-MockRandom
- Runtime dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- games_p5-Games-Dice
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.046 30 Jan 2023 12:59:28 |
Po-Chuan Hsieh (sunpoet) |
games/p5-Games-Dice: Update to 0.046
- Add LICENSE_FILE
- Add NO_ARCH
- Update pkg-descr
- Take maintainership
Changes: https://metacpan.org/dist/Games-Dice/changes |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.045 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.045 20 Jul 2022 14:21:58 |
Tobias C. Berner (tcberner) |
games: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <benlutz@datacomm.ch>
* <janos.mohacsi@bsd.hu>
* Aaron Baugher
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron VonderHaar <avh4@usa.net>
* Aaron Zauner <az_mail@gmx.at>
* Adam Kranzel (adam@alameda.edu)
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org> (Only the first 15 lines of the commit message are shown above ) |
0.045 19 May 2021 19:56:19 |
Danilo Egea Gondolfo (danilo) |
games/p5-Games-Dice: Drop maintainership |
0.045 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.045 27 May 2018 20:15:20 |
sunpoet |
Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.
With hat: perl |
0.045 01 Apr 2016 14:00:57 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight |
0.045 14 Sep 2015 12:19:50 |
mat |
Make it so that the default Perl is always called perl5.
- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
Though you should note that only the default version can be used to
install Perl modules, and the non default Perl versions cannot use the
modules installed via ports if they contain .so as they are installed
in a version specific directory.
Reviewed by: bapt (the Mk bits)
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3542 |
0.045 02 May 2015 19:00:52 |
danilo |
- Update to 0.045 |
0.044_1 26 Nov 2014 13:08:38 |
mat |
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the (Only the first 15 lines of the commit message are shown above ) |
0.044 14 Sep 2014 17:25:01 |
danilo |
- Update from 0.043 to 0.044 |
0.043 03 Oct 2013 13:34:43 |
danilo |
- Change maintainer email to @FreeBSD.org
- Add stage support
Approved by: culot (mentor) |
0.043 20 Sep 2013 17:36:36 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
games) |
0.043 05 Sep 2013 04:32:01 |
jgh |
- shift build_depends to test_depends
Approved by: danilogondolfo@gmail.com (maintainer, implicit) |
0.043 04 Sep 2013 06:46:24 |
jgh |
- update to 0.043
- adoption of perl USES framework
- adjust dependencies
PR: 181770
Submitted by: danilogondolfo@gmail.com ( maintainer ) |
0.041 13 Jun 2013 13:52:56 |
culot |
- Update to 0.041 [1]
- Add LICENSE (MIT)
Changes: http://search.cpan.org/dist/Games-Dice/Changes
PR: ports/179520 [1]
Submitted by: Danilo Egea Gondolfo <danilogondolfo@gmail.com> (maintainer) |
0.04 24 Apr 2013 12:10:18 |
bdrewery |
- Update to 0.04
- Pass maintainership to submitter
PR: ports/178099
Submitted by: Danilo Egea Gondolfo <danilogondolfo@gmail.com> |
0.03 29 Nov 2012 17:31:00 |
bdrewery |
- Update to 0.03
- Trim header
Feature safe: yes |
0.02 03 Jul 2011 14:25:36 |
ohauer |
-remove MD5 |
0.02 21 Dec 2009 02:19:12 |
dougb |
For ports maintained by ports@FreeBSD.org, remove names and/or
e-mail addresses from the pkg-descr file that could reasonably
be mistaken for maintainer contact information in order to avoid
confusion on the part of users looking for support. As a pleasant
side effect this also avoids confusion and/or frustration for people
who are no longer maintaining those ports. |
0.02 29 Apr 2008 05:27:10 |
linimon |
Reset aaron's port maintainerships due to many maintainer-timeouts. |
0.02 17 Apr 2008 14:30:31 |
araujo |
- Take advantage of CPAN macro from bsd.sites.mk, change
${MASTER_SITE_PERL_CPAN} to CPAN.
PR: ports/122674
Submitted by: Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by: araujo (myself)
Approved by: portmgr (pav) |
0.02 23 May 2006 16:40:36 |
aaron |
- Updated maintainer
Approved by: tobez (implicit) |
0.02 22 Jan 2006 11:18:58 |
edwin |
SHA256ify
Approved by: krion@ |
0.02 22 Jan 2006 02:11:14 |
edwin |
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@
PR: ports/88711 (related) |
0.02 02 Jun 2005 12:26:10 |
jylefort |
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 <pne@cpan.org>
WWW: http://search.cpan.org/dist/Games-Dice/
PR: ports/81612
Submitted by: Aaron Dalton <aaron@daltons.ca> |