Add p5-Config-Auto 0.03, magical config file parser.
PR: 56155 Submitted by: Lars Thegler <lars@thegler.dk>
This commit is contained in:
parent
2c8c3d42f4
commit
fab44d40bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88269
5 changed files with 49 additions and 0 deletions
|
@ -518,6 +518,7 @@
|
|||
SUBDIR += p5-Class-Trigger
|
||||
SUBDIR += p5-Class-WhiteHole
|
||||
SUBDIR += p5-Clone
|
||||
SUBDIR += p5-Config-Auto
|
||||
SUBDIR += p5-Config-General
|
||||
SUBDIR += p5-Config-Ini
|
||||
SUBDIR += p5-Config-IniFiles
|
||||
|
|
39
devel/p5-Config-Auto/Makefile
Normal file
39
devel/p5-Config-Auto/Makefile
Normal file
|
@ -0,0 +1,39 @@
|
|||
# New ports collection makefile for: p5-Config-Auto
|
||||
# Date created: August 29 2003
|
||||
# Whom: Lars Thegler <lars@thegler.dk>
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= Config-Auto
|
||||
PORTVERSION= 0.03
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Config
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= lars@thegler.dk
|
||||
COMMENT= Magical config file parser
|
||||
|
||||
BUILD_DEPENDS= ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \
|
||||
${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Config::Auto.3
|
||||
|
||||
test:
|
||||
cd ${WRKSRC} ; make test
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e 's/^our (\$$\w+)/use vars qw($$1); $$1/;' \
|
||||
-e '$$_ = "" if (/5.006/);' \
|
||||
${WRKSRC}/Auto.pm
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
devel/p5-Config-Auto/distinfo
Normal file
1
devel/p5-Config-Auto/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (Config-Auto-0.03.tar.gz) = 461dd819434ac75a295973cf04d691a4
|
3
devel/p5-Config-Auto/pkg-descr
Normal file
3
devel/p5-Config-Auto/pkg-descr
Normal file
|
@ -0,0 +1,3 @@
|
|||
Parse diverse config file formats 'magically'.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Config-Auto
|
5
devel/p5-Config-Auto/pkg-plist
Normal file
5
devel/p5-Config-Auto/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
|||
%%SITE_PERL%%/Config/Auto.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Config/Auto/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Config/Auto
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Config 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/Config 2>/dev/null || true
|
Loading…
Reference in a new issue