diff options
author | aaron <aaron@FreeBSD.org> | 2006-05-26 00:01:00 +0800 |
---|---|---|
committer | aaron <aaron@FreeBSD.org> | 2006-05-26 00:01:00 +0800 |
commit | 8dc3ac0e3991dd05ac579de39c81a56257faa81a (patch) | |
tree | f88036f4707270e7519c54b82974a148c4159f7b | |
parent | 95b52c307dba9ffc4eb6a78bbdf98c5d4ae53f16 (diff) | |
download | freebsd-ports-graphics-8dc3ac0e3991dd05ac579de39c81a56257faa81a.tar.gz freebsd-ports-graphics-8dc3ac0e3991dd05ac579de39c81a56257faa81a.tar.zst freebsd-ports-graphics-8dc3ac0e3991dd05ac579de39c81a56257faa81a.zip |
Adding port www/p5-Apache-ConfigParser, a library for loading and parsing Apache conf files.
Approved by: tobez (implicit)
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-Apache-ConfigParser/Makefile | 32 | ||||
-rw-r--r-- | www/p5-Apache-ConfigParser/distinfo | 3 | ||||
-rw-r--r-- | www/p5-Apache-ConfigParser/pkg-descr | 22 | ||||
-rw-r--r-- | www/p5-Apache-ConfigParser/pkg-plist | 9 |
5 files changed, 67 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 9870cc9dc68..ce7b8167953 100644 --- a/www/Makefile +++ b/www/Makefile @@ -440,6 +440,7 @@ SUBDIR += p5-Apache-Compress SUBDIR += p5-Apache-CompressClientFixup SUBDIR += p5-Apache-ConfigFile + SUBDIR += p5-Apache-ConfigParser SUBDIR += p5-Apache-DB SUBDIR += p5-Apache-DBI SUBDIR += p5-Apache-DebugInfo diff --git a/www/p5-Apache-ConfigParser/Makefile b/www/p5-Apache-ConfigParser/Makefile new file mode 100644 index 00000000000..631a5900444 --- /dev/null +++ b/www/p5-Apache-ConfigParser/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: p5-Apache-ConfigParser +# Date created: 24 May 2006 +# Whom: Aaron Dalton <aaron@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Apache-ConfigParser +PORTVERSION= 1.01 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Apache +PKGNAMEPREFIX= p5- + +MAINTAINER= aaron@FreeBSD.org +COMMENT= Load Apache configuration files + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/FnMatch.pm:${PORTSDIR}/devel/p5-File-FnMatch \ + ${SITE_PERL}/Tree/DAG_Node.pm:${PORTSDIR}/devel/p5-Tree-DAG_Node + +MAN3= Apache::ConfigParser.3 Apache::ConfigParser::Directive.3 + +PERL_CONFIGURE= yes + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif + +.include <bsd.port.post.mk> diff --git a/www/p5-Apache-ConfigParser/distinfo b/www/p5-Apache-ConfigParser/distinfo new file mode 100644 index 00000000000..515e5e19a08 --- /dev/null +++ b/www/p5-Apache-ConfigParser/distinfo @@ -0,0 +1,3 @@ +MD5 (Apache-ConfigParser-1.01.tar.gz) = 2c1a863a2fc9d32313f277066bd9ea81 +SHA256 (Apache-ConfigParser-1.01.tar.gz) = 7d4d8c74911480a1ac62857a70d7bebb78106a8d5930067ce3e9c82f59493cac +SIZE (Apache-ConfigParser-1.01.tar.gz) = 201739 diff --git a/www/p5-Apache-ConfigParser/pkg-descr b/www/p5-Apache-ConfigParser/pkg-descr new file mode 100644 index 00000000000..19fb2c719f6 --- /dev/null +++ b/www/p5-Apache-ConfigParser/pkg-descr @@ -0,0 +1,22 @@ +The Apache::ConfigParser module is used to load an Apache configuration +file to allow programs to determine Apache's configuration directives and +contexts. The resulting object contains a tree based structure using the +Apache::ConfigParser::Directive class, which is a subclass of +Tree::DAG_node, so all of the methods that enable tree based searches and +modifications from Tree::DAG_Node are also available. The tree structure +is used to represent the ability to nest sections, such as <VirtualHost>, +<Directory>, etc. + +Apache does a great job of checking Apache configuration files for errors +and this modules leaves most of that to Apache. This module does minimal +configuration file checking. The module currently checks for: + +Start and end context names match + + The module checks if the start and end context names match. If the end +context name does not match the start context name, then it is ignored. +The module does not even check if the configuration contexts have valid +names. + +WWW: http://search.cpan.org/dist/Apache-ConfigParser +Author: Blair Zajac <blair@orcaware.com>. diff --git a/www/p5-Apache-ConfigParser/pkg-plist b/www/p5-Apache-ConfigParser/pkg-plist new file mode 100644 index 00000000000..274724e009c --- /dev/null +++ b/www/p5-Apache-ConfigParser/pkg-plist @@ -0,0 +1,9 @@ +%%SITE_PERL%%/Apache/ConfigParser.pm +%%SITE_PERL%%/Apache/ConfigParser.pod +%%SITE_PERL%%/Apache/ConfigParser/Directive.pm +%%SITE_PERL%%/Apache/ConfigParser/Directive.pod +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/ConfigParser/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/ConfigParser +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache +@dirrm %%SITE_PERL%%/Apache/ConfigParser +@dirrmtry %%SITE_PERL%%/Apache |