aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Apache-ConfigParser
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-05-25 16:01:00 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-05-25 16:01:00 +0000
commit479af192a90ef6d39fe1098e5c8fde17563b1f88 (patch)
treeb5592afbb3637902c32a4bcf4dd728b844178b1b /www/p5-Apache-ConfigParser
parentc8b4e49f9dcb46bf98069442783e37a68d6859cc (diff)
downloadports-479af192a90ef6d39fe1098e5c8fde17563b1f88.tar.gz
ports-479af192a90ef6d39fe1098e5c8fde17563b1f88.zip
Notes
Diffstat (limited to 'www/p5-Apache-ConfigParser')
-rw-r--r--www/p5-Apache-ConfigParser/Makefile32
-rw-r--r--www/p5-Apache-ConfigParser/distinfo3
-rw-r--r--www/p5-Apache-ConfigParser/pkg-descr22
-rw-r--r--www/p5-Apache-ConfigParser/pkg-plist9
4 files changed, 66 insertions, 0 deletions
diff --git a/www/p5-Apache-ConfigParser/Makefile b/www/p5-Apache-ConfigParser/Makefile
new file mode 100644
index 000000000000..631a5900444f
--- /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 000000000000..515e5e19a08c
--- /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 000000000000..19fb2c719f6a
--- /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 000000000000..274724e009cd
--- /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