pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Module-Pluggable Initial import of p5-Module-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/429f863efb06
branches:  trunk
changeset: 492711:429f863efb06
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Apr 18 16:36:15 2005 +0000

description:
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.

diffstat:

 devel/p5-Module-Pluggable/DESCR    |   9 +++++++++
 devel/p5-Module-Pluggable/Makefile |  18 ++++++++++++++++++
 devel/p5-Module-Pluggable/PLIST    |   1 +
 devel/p5-Module-Pluggable/distinfo |   5 +++++
 4 files changed, 33 insertions(+), 0 deletions(-)

diffs (49 lines):

diff -r 406bdcc256d8 -r 429f863efb06 devel/p5-Module-Pluggable/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Module-Pluggable/DESCR   Mon Apr 18 16:36:15 2005 +0000
@@ -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.
diff -r 406bdcc256d8 -r 429f863efb06 devel/p5-Module-Pluggable/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Module-Pluggable/Makefile        Mon Apr 18 16:36:15 2005 +0000
@@ -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@localhost
+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"
diff -r 406bdcc256d8 -r 429f863efb06 devel/p5-Module-Pluggable/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Module-Pluggable/PLIST   Mon Apr 18 16:36:15 2005 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/18 16:36:15 wiz Exp $
diff -r 406bdcc256d8 -r 429f863efb06 devel/p5-Module-Pluggable/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Module-Pluggable/distinfo        Mon Apr 18 16:36:15 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index