devel/p5-Time-Period 1.25 FreeBSD
Perl module that contains code to deal with time periods
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 14.0 KiB, 32.9 KiB installed
Description
Period.pm is a Perl module that contains code to deal with time periods. Currently, there is only a function in this module. That function is called inPeriod().
inPeriod() determines if a given time is within a given time period. It will return 1 if it is, 0 if not, and -1 if either the time or the period passed to it were malformed. The time is specified in non-leap year seconds past January 1, 1970, as per the time() function. The period is a string which is of the form described in Period's man page.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Time-Period | 1.25 |
| OpenBSD | devel/p5-Time-Period | 1.25 |
| NetBSD | time/p5-Time-Period | 1.20nb20 |
| DragonFly | devel/p5-Time-Period | 1.25 |
| HardenedBSD | devel/p5-Time-Period | 1.25 |
| GhostBSD | devel/p5-Time-Period | 1.25 |
Install
Binary package:
pkg install p5-Time-Period
From the ports tree:
cd /usr/ports/devel/p5-Time-Period/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Time-Period>0:devel/p5-Time-Period
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.25 | 1.25 | 1.25 | 1.25 | 1.25 |
| FreeBSD:14:quarterly | 1.25 | 1.25 | n/a | 1.25 | 1.25 |
| FreeBSD:15:latest | 1.25 | 1.25 | n/a | 1.25 | 1.25 |
| FreeBSD:15:quarterly | 1.25 | 1.25 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.25 | 1.25 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/Time::Period.3.gz
- %%SITE_PERL%%/Time/Period.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Time-Period-1.25.tar.gz | 18393 | d07fa580529beac6a9c8274c6bf220b4c3aade685df65c1669d53339bf6ef1e8 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.