Config::General is a configuration parser using a format similar
to Apache. It is a regression depend for some module needed for catalyst.
This commit is contained in:
parent
9706a617db
commit
f95a746038
27
devel/p5-Config-General/Makefile
Normal file
27
devel/p5-Config-General/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/04 14:43:11 espie Exp $
|
||||
|
||||
COMMENT= "generic configuration parser, inspired by apache"
|
||||
|
||||
DISTNAME= Config-General-2.31
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= devel perl5
|
||||
HOMEPAGE= http://www.daemon.de/config-general/
|
||||
|
||||
# Same as perl
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
# the 2.31 tarball includes an extra copy of Extended,
|
||||
# which is probably not intentional.
|
||||
post-extract:
|
||||
rm ${WRKSRC}/Extended.pm
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Config/}
|
||||
|
||||
CONFIGURE_STYLE=perl
|
||||
|
||||
PKG_ARCH= *
|
||||
|
||||
.include <bsd.port.mk>
|
4
devel/p5-Config-General/distinfo
Normal file
4
devel/p5-Config-General/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (Config-General-2.31.tar.gz) = 5d51723f6fb36cf943934b80c261d680
|
||||
RMD160 (Config-General-2.31.tar.gz) = 078c29b3b82ea8485c10915200fd883eed0194c9
|
||||
SHA1 (Config-General-2.31.tar.gz) = 4f6399506706a1bc244ccae7baafd81f800fda77
|
||||
SIZE (Config-General-2.31.tar.gz) = 45236
|
19
devel/p5-Config-General/pkg/DESCR
Normal file
19
devel/p5-Config-General/pkg/DESCR
Normal file
@ -0,0 +1,19 @@
|
||||
This module opens a config file and parses its contents
|
||||
for you. After parsing the module returns a hash structure
|
||||
which contains the representation of the config file.
|
||||
|
||||
The format of config files supported by Config::General is
|
||||
inspired by the well known apache config format, in fact,
|
||||
this module is 100% read-compatible to apache configs, but
|
||||
you can also just use simple name/value pairs in your config
|
||||
files.
|
||||
|
||||
In addition to the capabilities of a apache config file
|
||||
the module supports some enhancements such as here-documents,
|
||||
C-style comments or multiline options. It is also possible to
|
||||
save the config back to disk, which makes the module a
|
||||
perfect backend for configuration interfaces.
|
||||
|
||||
It is possible to use variables in config files and there
|
||||
also exists support for object oriented access to the
|
||||
configuration.
|
9
devel/p5-Config-General/pkg/PLIST
Normal file
9
devel/p5-Config-General/pkg/PLIST
Normal file
@ -0,0 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/04 14:43:11 espie Exp $
|
||||
${P5SITE}/Config/
|
||||
${P5SITE}/Config/General/
|
||||
${P5SITE}/Config/General.pm
|
||||
${P5SITE}/Config/General/Extended.pm
|
||||
${P5SITE}/Config/General/Interpolated.pm
|
||||
@man man/man3p/Config::General.3p
|
||||
@man man/man3p/Config::General::Extended.3p
|
||||
@man man/man3p/Config::General::Interpolated.3p
|
Loading…
x
Reference in New Issue
Block a user