diff options
author | miwi <miwi@FreeBSD.org> | 2009-02-16 05:05:12 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-02-16 05:05:12 +0800 |
commit | 6c963ffe5e88d03b9973c8dd0ada59b4fb9827a0 (patch) | |
tree | e486e1c30526d7f4d4ec9c493acc89bdce1bcae0 /www | |
parent | e54105a3554530edda52f01623ba1fadb060eb5b (diff) | |
download | freebsd-ports-gnome-6c963ffe5e88d03b9973c8dd0ada59b4fb9827a0.tar.gz freebsd-ports-gnome-6c963ffe5e88d03b9973c8dd0ada59b4fb9827a0.tar.zst freebsd-ports-gnome-6c963ffe5e88d03b9973c8dd0ada59b4fb9827a0.zip |
CGI::Application::Plugin::ConfigAuto adds easy access to config file
variables to your CGI::Application modules. Lazy loading is used to
prevent the config file from being parsed if no configuration variables
are accessed during the request.
The format is detected automatically using Config::Auto. It it known to
support the following formats: colon separated, space separated, equals
separated, XML, Perl code, and Windows INI. See that modules
documentation for complete details.
WWW: http://search.cpan.org/dist/CGI-Application-Plugin-ConfigAuto/
PR: ports/131723
Submitted by: Alex Kapranoff <alex at kapranoff.ru>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-CGI-Application-Plugin-ConfigAuto/Makefile | 26 | ||||
-rw-r--r-- | www/p5-CGI-Application-Plugin-ConfigAuto/distinfo | 3 | ||||
-rw-r--r-- | www/p5-CGI-Application-Plugin-ConfigAuto/pkg-descr | 11 | ||||
-rw-r--r-- | www/p5-CGI-Application-Plugin-ConfigAuto/pkg-plist | 4 |
5 files changed, 45 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 9548d266c8d8..a237e1533707 100644 --- a/www/Makefile +++ b/www/Makefile @@ -643,6 +643,7 @@ SUBDIR += p5-CGI-Application-Plugin-Authentication SUBDIR += p5-CGI-Application-Plugin-Authorization SUBDIR += p5-CGI-Application-Plugin-AutoRunmode + SUBDIR += p5-CGI-Application-Plugin-ConfigAuto SUBDIR += p5-CGI-Application-Plugin-DBH SUBDIR += p5-CGI-Application-Plugin-DebugScreen SUBDIR += p5-CGI-Application-Plugin-DevPopup diff --git a/www/p5-CGI-Application-Plugin-ConfigAuto/Makefile b/www/p5-CGI-Application-Plugin-ConfigAuto/Makefile new file mode 100644 index 000000000000..f684e4e1e0ec --- /dev/null +++ b/www/p5-CGI-Application-Plugin-ConfigAuto/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: p5-CGI-Application-Plugin-ConfigAuto +# Date created: February 15th 2009 +# Whom: Alex Kapranoff <alex@kapranoff.ru> +# +# $FreeBSD$ +# + +PORTNAME= CGI-Application-Plugin-ConfigAuto +PORTVERSION= 1.30 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= kappa@freebsd.org.ua +COMMENT= Plugin that adds Config::Auto support to CGI::Application + +RUN_DEPENDS= ${SITE_PERL}/CGI/Application.pm:${PORTSDIR}/www/p5-CGI-Application \ + ${SITE_PERL}/Config/Auto.pm:${PORTSDIR}/devel/p5-Config-Auto +BUILD_DEPENDS= ${SITE_PERL}/CGI/Application.pm:${PORTSDIR}/www/p5-CGI-Application \ + ${SITE_PERL}/Config/Auto.pm:${PORTSDIR}/devel/p5-Config-Auto + +PERL_MODBUILD= 5.8.0+ + +MAN3= CGI::Application::Plugin::ConfigAuto.3 + +.include <bsd.port.mk> diff --git a/www/p5-CGI-Application-Plugin-ConfigAuto/distinfo b/www/p5-CGI-Application-Plugin-ConfigAuto/distinfo new file mode 100644 index 000000000000..979cfe700768 --- /dev/null +++ b/www/p5-CGI-Application-Plugin-ConfigAuto/distinfo @@ -0,0 +1,3 @@ +MD5 (CGI-Application-Plugin-ConfigAuto-1.30.tar.gz) = a30633fae26924578a906d0c997599d8 +SHA256 (CGI-Application-Plugin-ConfigAuto-1.30.tar.gz) = f76272095071b10fb1400b4a67a24acf85d7b826256ea70344043244637e942a +SIZE (CGI-Application-Plugin-ConfigAuto-1.30.tar.gz) = 5801 diff --git a/www/p5-CGI-Application-Plugin-ConfigAuto/pkg-descr b/www/p5-CGI-Application-Plugin-ConfigAuto/pkg-descr new file mode 100644 index 000000000000..c764a3883aa8 --- /dev/null +++ b/www/p5-CGI-Application-Plugin-ConfigAuto/pkg-descr @@ -0,0 +1,11 @@ +CGI::Application::Plugin::ConfigAuto adds easy access to config file +variables to your CGI::Application modules. Lazy loading is used to +prevent the config file from being parsed if no configuration variables +are accessed during the request. + +The format is detected automatically using Config::Auto. It it known to +support the following formats: colon separated, space separated, equals +separated, XML, Perl code, and Windows INI. See that modules +documentation for complete details. + +WWW: http://search.cpan.org/dist/CGI-Application-Plugin-ConfigAuto/ diff --git a/www/p5-CGI-Application-Plugin-ConfigAuto/pkg-plist b/www/p5-CGI-Application-Plugin-ConfigAuto/pkg-plist new file mode 100644 index 000000000000..82776a07c454 --- /dev/null +++ b/www/p5-CGI-Application-Plugin-ConfigAuto/pkg-plist @@ -0,0 +1,4 @@ +%%SITE_PERL%%/CGI/Application/Plugin/ConfigAuto.pm +@dirrmtry %%SITE_PERL%%/CGI/Application/Plugin +@dirrmtry %%SITE_PERL%%/CGI/Application +@dirrmtry %%SITE_PERL%%/CGI |