diff --git a/devel/p5-prefork/Makefile b/devel/p5-prefork/Makefile new file mode 100644 index 00000000000..dd6e15c6438 --- /dev/null +++ b/devel/p5-prefork/Makefile @@ -0,0 +1,20 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2005/11/22 09:00:57 kevlo Exp $ + +COMMENT= "optimized module loading for forking or non-forking processes" + +DISTNAME= prefork-1.00 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/A/AD/ADAMK/} + +MAINTAINER= Kevin Lo + +# Same as Perl +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +CONFIGURE_STYLE= perl + +.include diff --git a/devel/p5-prefork/distinfo b/devel/p5-prefork/distinfo new file mode 100644 index 00000000000..90d3848e5be --- /dev/null +++ b/devel/p5-prefork/distinfo @@ -0,0 +1,4 @@ +MD5 (prefork-1.00.tar.gz) = 41e19e56aca6ae7f36bcbfe420a0eb4c +RMD160 (prefork-1.00.tar.gz) = 125b2f9f3768cfb20475b09f7c9774fa1dacef7f +SHA1 (prefork-1.00.tar.gz) = 0ebf41d37971de03d33ed94ed5882a62feec6fe8 +SIZE (prefork-1.00.tar.gz) = 26602 diff --git a/devel/p5-prefork/pkg/DESCR b/devel/p5-prefork/pkg/DESCR new file mode 100644 index 00000000000..9dc410632f4 --- /dev/null +++ b/devel/p5-prefork/pkg/DESCR @@ -0,0 +1,7 @@ +The "prefork" pragma is intended to allow module writers to optimise +module loading for both scenarios with as little additional code as +possible. + +The prefork.pm is intended to serve as a central and optional marshalling +point for state detection (are we running in compile-time or run-time +mode) and to act as a relatively light-weight module loader. diff --git a/devel/p5-prefork/pkg/PLIST b/devel/p5-prefork/pkg/PLIST new file mode 100644 index 00000000000..8dfd155388b --- /dev/null +++ b/devel/p5-prefork/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2005/11/22 09:00:57 kevlo Exp $ +${P5SITE}/prefork.pm +@man man/man3p/prefork.3p