BSD Ports

devel/p5-Module-Pluggable 6.4 FreeBSD

Automatically give your module the ability to have plugins

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
f937dbbaeb
License
ART10, GPLv1+
Categories
devel, perl5
Package size
29.9 KiB, 63.6 KiB installed

Description

Module::Pluggable provides a simple but, hopefully, extensible way of having 'plugins' for your module. Obviously this isn't going to be the be all and end all of solutions but it works for me.

Essentially all it does is export a method into your namespace that looks through a search path for .pm files and turn those into class names.

Optionally it instantiates those classes for you.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Module-Pluggable6.4
OpenBSDdevel/p5-Module-Pluggable6.4
NetBSDdevel/p5-Module-Pluggable6.4
DragonFlydevel/p5-Module-Pluggable5.2
MidnightBSDdevel/p5-Module-Pluggable6.3

Install

Binary package:

pkg install p5-Module-Pluggable

From the ports tree:

cd /usr/ports/devel/p5-Module-Pluggable/ && make install clean

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

RUN_DEPENDS=	p5-Module-Pluggable>0:devel/p5-Module-Pluggable

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:latest6.46.45.25.26.4
FreeBSD:14:quarterly6.46.4n/a5.26.4
FreeBSD:15:latest6.46.4n/a5.25.2
FreeBSD:15:quarterly6.46.4n/an/an/a
FreeBSD:16:latest6.46.4n/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
Required by 376

The first 100 are listed.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 6
  • %%SITE_PERL%%/Devel/InnerPackage.pm
  • %%SITE_PERL%%/Module/Pluggable.pm
  • %%SITE_PERL%%/Module/Pluggable/Object.pm
  • %%PERL5_MAN3%%/Devel::InnerPackage.3.gz
  • %%PERL5_MAN3%%/Module::Pluggable.3.gz
  • %%PERL5_MAN3%%/Module::Pluggable::Object.3.gz
distinfo 1
FileSizeSHA256
Module-Pluggable-6.4.tar.gz34875970fd13accd3d538e637db080ebbd9898020c8b5591837c8493a39edd737922d
Master sites 1
  • CPAN

Commit history 1

DateCommitCreditsLog message
f937dbbaeb Po-Chuan Hsieh devel/p5-Module-Pluggable: Update to 6.4
Changes: https://metacpan.org/dist/Module-Pluggable/changes