notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
p5-Games-Dice Perl module to simulate die rolls
0.046 games on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 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 search for ports maintained by this maintainer
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (10 items)
Collapse this list.
  1. /usr/local/share/licenses/p5-Games-Dice-0.046/catalog.mk
  2. /usr/local/share/licenses/p5-Games-Dice-0.046/LICENSE
  3. /usr/local/share/licenses/p5-Games-Dice-0.046/MIT
  4. bin/roll
  5. lib/perl5/site_perl/Games/Dice.pm
  6. lib/perl5/site_perl/man/man1/roll.1.gz
  7. lib/perl5/site_perl/man/man3/Games::Dice.3.gz
  8. @owner
  9. @group
  10. @mode
Collapse this list.
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):
p5-Games-Dice
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.0460.0460.0450.0460.046-0.045-
FreeBSD:13:quarterly0.0460.0460.0460.0460.0460.0460.0460.046
FreeBSD:14:latest0.0460.0460.0450.0460.0460.046-0.046
FreeBSD:14:quarterly0.0460.046-0.0460.0460.0460.0460.046
FreeBSD:15:latest0.0460.046n/a0.046n/a0.0460.0460.046
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. perl5>=5.32.r0<5.33 : lang/perl5.32
Test dependencies:
  1. p5-Test-MockRandom>=0 : devel/p5-Test-MockRandom
Runtime dependencies:
  1. 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:
Expand this list (12 items)
Collapse this list.
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Games/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Games/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Games/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Games/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Games/
  7. http://backpan.perl.org/modules/by-module/Games/
  8. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Games/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Games/
  10. https://cpan.metacpan.org/modules/by-module/
  11. https://cpan.metacpan.org/modules/by-module/Games/
  12. https://www.cpan.org/modules/by-module/Games/
Collapse this list.

Number of commits found: 27

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.046
30 Jan 2023 12:59:28
commit hash: 99189d3b33a4d3e1ae74ad3ec354aaf15bf39d09commit hash: 99189d3b33a4d3e1ae74ad3ec354aaf15bf39d09commit hash: 99189d3b33a4d3e1ae74ad3ec354aaf15bf39d09commit hash: 99189d3b33a4d3e1ae74ad3ec354aaf15bf39d09 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
0.045
20 Jul 2022 14:21:58
commit hash: d56127bdfc7d6fca27855e27a66e61ce99cce27ccommit hash: d56127bdfc7d6fca27855e27a66e61ce99cce27ccommit hash: d56127bdfc7d6fca27855e27a66e61ce99cce27ccommit hash: d56127bdfc7d6fca27855e27a66e61ce99cce27c files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
0.045
19 May 2021 19:56:19
commit hash: 9e8a0d668088862f281b55603bcd4d32e9223969commit hash: 9e8a0d668088862f281b55603bcd4d32e9223969commit hash: 9e8a0d668088862f281b55603bcd4d32e9223969commit hash: 9e8a0d668088862f281b55603bcd4d32e9223969 files touched by this commit
Danilo Egea Gondolfo (danilo) search for other commits by this committer
games/p5-Games-Dice: Drop maintainership
0.045
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.045
27 May 2018 20:15:20
Revision:470993Original commit files touched by this commit
sunpoet search for other commits by this committer
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
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
0.045
14 Sep 2015 12:19:50
Revision:396892Original commit files touched by this commit
mat search for other commits by this committer
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
Revision:385205Original commit files touched by this commit
danilo search for other commits by this committer
- Update to 0.045
0.044_1
26 Nov 2014 13:08:38
Revision:373448Original commit files touched by this commit
mat search for other commits by this committer
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 View all of this commit message)
0.044
14 Sep 2014 17:25:01
Revision:368202Original commit files touched by this commit
danilo search for other commits by this committer
- Update from 0.043 to 0.044
0.043
03 Oct 2013 13:34:43
Revision:329187Original commit files touched by this commit
danilo search for other commits by this committer
- Change maintainer email to @FreeBSD.org
- Add stage support

Approved by:	culot (mentor)
0.043
20 Sep 2013 17:36:36
Revision:327730Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
games)
0.043
05 Sep 2013 04:32:01
Revision:326341Original commit files touched by this commit
jgh search for other commits by this committer
- shift build_depends to test_depends

Approved by:	danilogondolfo@gmail.com (maintainer, implicit)
0.043
04 Sep 2013 06:46:24
Revision:326253Original commit files touched by this commit
jgh search for other commits by this committer
- 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
Revision:320802Original commit files touched by this commit
culot search for other commits by this committer
- 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
Revision:316425Original commit files touched by this commit
bdrewery search for other commits by this committer
- 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
Revision:307970Original commit files touched by this commit
bdrewery search for other commits by this committer
- Update to 0.03
- Trim header

Feature safe:	yes
0.02
03 Jul 2011 14:25:36
Original commit files touched by this commit
ohauer search for other commits by this committer
-remove MD5
0.02
21 Dec 2009 02:19:12
Original commit files touched by this commit
dougb search for other commits by this committer
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
Original commit files touched by this commit
linimon search for other commits by this committer
Reset aaron's port maintainerships due to many maintainer-timeouts.
0.02
17 Apr 2008 14:30:31
Original commit files touched by this commit
araujo search for other commits by this committer
- 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
Original commit files touched by this commit
aaron search for other commits by this committer
- Updated maintainer

Approved by:    tobez (implicit)
0.02
22 Jan 2006 11:18:58
Original commit files touched by this commit
edwin search for other commits by this committer
SHA256ify

Approved by:    krion@
0.02
22 Jan 2006 02:11:14
Original commit files touched by this commit
edwin search for other commits by this committer
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
Original commit files touched by this commit
jylefort search for other commits by this committer
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>

Number of commits found: 27