Initial import of p5-Module-Pluggable-2.8:
p5-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.
This commit is contained in:
parent
c78459c368
commit
3d6baccce9
4 changed files with 33 additions and 0 deletions
9
devel/p5-Module-Pluggable/DESCR
Normal file
9
devel/p5-Module-Pluggable/DESCR
Normal file
|
@ -0,0 +1,9 @@
|
|||
p5-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.
|
18
devel/p5-Module-Pluggable/Makefile
Normal file
18
devel/p5-Module-Pluggable/Makefile
Normal file
|
@ -0,0 +1,18 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2005/04/18 16:36:15 wiz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= Module-Pluggable-2.8
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
SVR4_PKGNAME= p5mpl
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Module/}
|
||||
|
||||
MAINTAINER= tech-pkg@NetBSD.org
|
||||
HOMEPAGE= http://search.cpan.org/dist/Module-Pluggable/
|
||||
COMMENT= Perl 5 module for automatically adding the ability to have plugins to modules
|
||||
|
||||
USE_LANGUAGES= # empty
|
||||
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Module/Pluggable/.packlist
|
||||
|
||||
.include "../../lang/perl5/module.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
1
devel/p5-Module-Pluggable/PLIST
Normal file
1
devel/p5-Module-Pluggable/PLIST
Normal file
|
@ -0,0 +1 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/18 16:36:15 wiz Exp $
|
5
devel/p5-Module-Pluggable/distinfo
Normal file
5
devel/p5-Module-Pluggable/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2005/04/18 16:36:15 wiz Exp $
|
||||
|
||||
SHA1 (Module-Pluggable-2.8.tar.gz) = 65450cdf6ad741c5953207080f4f3fd448e0c762
|
||||
RMD160 (Module-Pluggable-2.8.tar.gz) = 0298939872795c2b60ab50ab14abc17150fb4026
|
||||
Size (Module-Pluggable-2.8.tar.gz) = 10356 bytes
|
Loading…
Reference in a new issue