FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
p5-Games-Dice Perl module to simulate die rolls
0.045 games on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: danilo@FreeBSD.org search for ports maintained by this maintainer
Port Added: 02 Jun 2005 12:26:48
Also Listed In: perl5
License: MIT
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.

WWW: http://search.cpan.org/dist/Games-Dice/
SVNWeb : Homepage : Distfiles Availability : PortsMon

To install the port: cd /usr/ports/games/p5-Games-Dice/ && make install clean
To add the package: pkg install p5-Games-Dice

PKGNAME: p5-Games-Dice


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. perl5>=5.20<5.21 : lang/perl5.20
Runtime dependencies:
  1. perl5>=5.20<5.21 : lang/perl5.20
There are no ports dependent upon this port

Configuration Options
     No options to configure

USES:
perl5

Master Sites:
  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. ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/Games/
  8. http://backpan.perl.org/modules/by-module/Games/
  9. http://cpan.metacpan.org/modules/by-module/
  10. http://cpan.metacpan.org/modules/by-module/Games/
  11. http://distcache.FreeBSD.org/ports-distfiles/
  12. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Games/
  13. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Games/
  14. http://www.cpan.dk/modules/by-module/Games/
  15. http://www.cpan.org/modules/by-module/Games/

Number of commits found: 19

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
14 Sep 2015 12:19:50
Original commit files touched by this commit  0.045
Revision:396892
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
02 May 2015 19:00:52
Original commit files touched by this commit  0.045
Revision:385205
danilo search for other commits by this committer
- Update to 0.045
26 Nov 2014 13:08:38
Original commit files touched by this commit  0.044_1
Revision:373448
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)
14 Sep 2014 17:25:01
Original commit files touched by this commit  0.044
Revision:368202
danilo search for other commits by this committer
- Update from 0.043 to 0.044
03 Oct 2013 13:34:43
Original commit files touched by this commit  0.043
Revision:329187
danilo search for other commits by this committer
- Change maintainer email to @FreeBSD.org
- Add stage support

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

Approved by:	danilogondolfo@gmail.com (maintainer, implicit)
04 Sep 2013 06:46:24
Original commit files touched by this commit  0.043
Revision:326253
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 )
13 Jun 2013 13:52:56
Original commit files touched by this commit  0.041
Revision:320802
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)
24 Apr 2013 12:10:18
Original commit files touched by this commit  0.04
Revision:316425
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>
29 Nov 2012 17:31:00
Original commit files touched by this commit  0.03
Revision:307970
bdrewery search for other commits by this committer
- Update to 0.03
- Trim header

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

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

Approved by:    krion@
22 Jan 2006 02:11:14
Original commit files touched by this commit  0.02
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)
02 Jun 2005 12:26:10
Original commit files touched by this commit  0.02
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: 19

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
ffmpegFeb 06
mencoderFeb 06
mplayerFeb 06
ldb*Feb 05
samba36*Feb 05
samba4*Feb 05
samba41*Feb 05
samba42*Feb 05
samba43*Feb 05
shotwellFeb 05
asterisk11Feb 04
asterisk13Feb 04
py-rsaFeb 04
webkit-gtk2Feb 04
webkit-gtk3Feb 04

28 vulnerabilities affecting 78 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 25702
Broken 360
Deprecated 145
Ignore 633
Forbidden 0
Restricted 206
No CDROM 87
Vulnerable 57
Expired 68
Set to expire 126
Interactive 0
new 24 hours 8
new 48 hours11
new 7 days26
new fortnight61
new month158

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.