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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Class-Contract | 1.14_1 |
| DragonFly | devel/p5-Class-Contract | 1.14_1 |
| HardenedBSD | devel/p5-Class-Contract | 1.14_1 |
| GhostBSD | devel/p5-Class-Contract | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.14_1 | 1.14_1 | 1.14_1 | 1.14_1 | 1.14_1 |
| FreeBSD:14:quarterly | 1.14_1 | 1.14_1 | n/a | 1.14_1 | 1.14_1 |
| FreeBSD:15:latest | 1.14_1 | 1.14_1 | n/a | 1.14_1 | 1.14_1 |
| FreeBSD:15:quarterly | 1.14_1 | 1.14_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.14_1 | 1.14_1 | 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
No port depends on this one.
Configuration
Options name: devel_Class-Contract
| Option | Default | Description |
|---|---|---|
| EXAMPLES | off | Build 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
| File | Size | SHA256 |
|---|---|---|
| Class-Contract-1.14.tar.gz | 39692 | 482a18a0fd3fc0741a36381dfac5004a47ddac1ff50de0bf8c32b33152776b9a |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.