BSD Ports

devel/p5-Class-Contract 1.14_1 FreeBSD

Design-by-Contract OO in Perl

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
devel, perl5
Package size
33.0 KiB, 120.7 KiB installed

Description

The Class::Contract module implements strong encapsulation, static inheritance, and design-by-contract condition checking for object-oriented Perl. The module provides a declarative syntax for attribute, method, constructor, and destructor definitions at both the object and class level. Pre-conditions, post-conditions, and class invariants are also fully supported.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Class-Contract1.14_1
DragonFlydevel/p5-Class-Contract1.14_1
HardenedBSDdevel/p5-Class-Contract1.14_1
GhostBSDdevel/p5-Class-Contract1.14_1

Install

Binary package:

pkg install p5-Class-Contract

From the ports tree:

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

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

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

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:latest1.14_11.14_11.14_11.14_11.14_1
FreeBSD:14:quarterly1.14_11.14_1n/a1.14_11.14_1
FreeBSD:15:latest1.14_11.14_1n/a1.14_11.14_1
FreeBSD:15:quarterly1.14_11.14_1n/an/an/a
FreeBSD:16:latest1.14_11.14_1n/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

Options name: devel_Class-Contract

OptionDefaultDescription
EXAMPLESoffBuild and/or install examples
USES
perl5 dos2unix
Service scripts
none

Files

pkg-plist 4
  • %%SITE_PERL%%/Class/Contract.pm
  • %%SITE_PERL%%/Class/Contract/Production.pm
  • %%PERL5_MAN3%%/Class::Contract.3.gz
  • %%PERL5_MAN3%%/Class::Contract::Production.3.gz
distinfo 1
FileSizeSHA256
Class-Contract-1.14.tar.gz39692482a18a0fd3fc0741a36381dfac5004a47ddac1ff50de0bf8c32b33152776b9a
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.