summaryrefslogtreecommitdiff
path: root/devel/p5-Module-Pluggable
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-04-18 16:36:15 +0000
committerwiz <wiz@pkgsrc.org>2005-04-18 16:36:15 +0000
commit3d6baccce9d7adfc8f6745849dcc0bec04ae1a1d (patch)
treea8a28a13d7d5fb3541334c46a7df2bcf89a1dffe /devel/p5-Module-Pluggable
parentc78459c368fd45d27e39624524771ea977e0f5a3 (diff)
downloadpkgsrc-3d6baccce9d7adfc8f6745849dcc0bec04ae1a1d.tar.gz
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 (limited to 'devel/p5-Module-Pluggable')
-rw-r--r--devel/p5-Module-Pluggable/DESCR9
-rw-r--r--devel/p5-Module-Pluggable/Makefile18
-rw-r--r--devel/p5-Module-Pluggable/PLIST1
-rw-r--r--devel/p5-Module-Pluggable/distinfo5
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/p5-Module-Pluggable/DESCR b/devel/p5-Module-Pluggable/DESCR
new file mode 100644
index 00000000000..6890c3cd896
--- /dev/null
+++ b/devel/p5-Module-Pluggable/DESCR
@@ -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 --git a/devel/p5-Module-Pluggable/Makefile b/devel/p5-Module-Pluggable/Makefile
new file mode 100644
index 00000000000..e907cbcfff1
--- /dev/null
+++ b/devel/p5-Module-Pluggable/Makefile
@@ -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"
diff --git a/devel/p5-Module-Pluggable/PLIST b/devel/p5-Module-Pluggable/PLIST
new file mode 100644
index 00000000000..8b065093134
--- /dev/null
+++ b/devel/p5-Module-Pluggable/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/18 16:36:15 wiz Exp $
diff --git a/devel/p5-Module-Pluggable/distinfo b/devel/p5-Module-Pluggable/distinfo
new file mode 100644
index 00000000000..059904000d8
--- /dev/null
+++ b/devel/p5-Module-Pluggable/distinfo
@@ -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