diff options
author | mcr <mcr> | 2001-09-30 23:53:24 +0000 |
---|---|---|
committer | mcr <mcr> | 2001-09-30 23:53:24 +0000 |
commit | cc7f69cff9125aef7f0cee2fd2ccf51004b67044 (patch) | |
tree | a1cb1a5a65763aef5f5430b33cb2331a4566fb63 /devel/p5-Class-Loader | |
parent | c792e599a7780f803a12f2d297466bfd4afa4b44 (diff) | |
download | pkgsrc-cc7f69cff9125aef7f0cee2fd2ccf51004b67044.tar.gz |
pkg from sen_ml@eccosys.com in support of p5-Crypt-OpenPGP
Diffstat (limited to 'devel/p5-Class-Loader')
-rw-r--r-- | devel/p5-Class-Loader/Makefile | 20 | ||||
-rw-r--r-- | devel/p5-Class-Loader/distinfo | 4 | ||||
-rw-r--r-- | devel/p5-Class-Loader/pkg/DESCR | 12 | ||||
-rw-r--r-- | devel/p5-Class-Loader/pkg/PLIST | 1 |
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/p5-Class-Loader/Makefile b/devel/p5-Class-Loader/Makefile new file mode 100644 index 00000000000..6f3c69974b6 --- /dev/null +++ b/devel/p5-Class-Loader/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2001/09/30 23:53:24 mcr Exp $ +# + +DISTNAME= Class-Loader-2.02 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Class/} + +MAINTAINER= mcr@netbsd.org +# from sen_ml@eccosys.com +#HOMEPAGE= +COMMENT= perl5 module for module loading and on-demand object creation + +USE_PERL5= # defined +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Class/Loader/.packlist + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Class-Loader/distinfo b/devel/p5-Class-Loader/distinfo new file mode 100644 index 00000000000..bac723a5215 --- /dev/null +++ b/devel/p5-Class-Loader/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1 2001/09/30 23:53:25 mcr Exp $ + +SHA1 (Class-Loader-2.02.tar.gz) = 4d8df9c82a1c09a1e628f33bdafbfa296a19687b +Size (Class-Loader-2.02.tar.gz) = 5972 bytes diff --git a/devel/p5-Class-Loader/pkg/DESCR b/devel/p5-Class-Loader/pkg/DESCR new file mode 100644 index 00000000000..31d1cb1d279 --- /dev/null +++ b/devel/p5-Class-Loader/pkg/DESCR @@ -0,0 +1,12 @@ +Certain applications like to defer the decision to use a particular module +till runtime. This is possible in perl, and is a useful trick in situations +where the type of data is not known at compile time and the application +doesn't wish to pre-compile modules to handle all types of data it can work +with. Loading modules at runtime can also provide flexible interfaces for +perl modules. Modules can let the programmer decide what modules will be +used by it instead of hard-coding their names. + +Class::Loader is an inheritable class that provides a method, _load(), to +load a module from disk and construct an object by calling its constructor. +It also provides a way to map modules names and associated metadata with +symbolic names that can be used in place of module names at _load(). diff --git a/devel/p5-Class-Loader/pkg/PLIST b/devel/p5-Class-Loader/pkg/PLIST new file mode 100644 index 00000000000..0063ed32148 --- /dev/null +++ b/devel/p5-Class-Loader/pkg/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1 2001/09/30 23:53:34 mcr Exp $ |