BSD Ports

devel/p5-Class-Constant 0.07 FreeBSD

Build constant classes

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
10.1 KiB, 19.0 KiB installed

Description

Class::Constant allows you declaratively created so-called "constant classes". These are very much like enumerated types (as close as a typeless language like Perl can get, at least).

The classes generated by this module are modeled closely after Java's "typesafe enumeration" pattern, but with some added spice to make them more useful to Perl programs.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Class-Constant0.07
DragonFlydevel/p5-Class-Constant0.07
HardenedBSDdevel/p5-Class-Constant0.07
GhostBSDdevel/p5-Class-Constant0.07

Install

Binary package:

pkg install p5-Class-Constant

From the ports tree:

cd /usr/ports/devel/p5-Class-Constant/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Class-Constant>0:devel/p5-Class-Constant

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.070.070.070.070.07
FreeBSD:14:quarterly0.070.07n/a0.070.07
FreeBSD:15:latest0.070.07n/a0.070.07
FreeBSD:15:quarterly0.070.07n/an/an/a
FreeBSD:16:latest0.070.07n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/Class::Constant.3.gz
  • %%SITE_PERL%%/Class/Constant.pm
distinfo 1
FileSizeSHA256
Class-Constant-0.07.tar.gz14720ab84c071b5835c33a978e2ef5ac65ccdb127ad765e15ac5a6471e7bfbc8aed65
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.