mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Add p5-MooseX-SimpleConfig 0.03, a Moose role for setting attributes
from a simple configfile.
This commit is contained in:
parent
d63008fa88
commit
d9364ca404
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229034
@ -1565,6 +1565,7 @@
|
||||
SUBDIR += p5-MooseX-IOC
|
||||
SUBDIR += p5-MooseX-POE
|
||||
SUBDIR += p5-MooseX-Policy-SemiAffordanceAccessor
|
||||
SUBDIR += p5-MooseX-SimpleConfig
|
||||
SUBDIR += p5-MooseX-Singleton
|
||||
SUBDIR += p5-MooseX-Storage
|
||||
SUBDIR += p5-MooseX-StrictConstructor
|
||||
|
29
devel/p5-MooseX-SimpleConfig/Makefile
Normal file
29
devel/p5-MooseX-SimpleConfig/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# New ports collection makefile for: devel/MooseX-SimpleConfig
|
||||
# Date created: 25 February 2009
|
||||
# Whom: Lars Thegler <lth@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= MooseX-SimpleConfig
|
||||
PORTVERSION= 0.03
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= lth@FreeBSD.org
|
||||
COMMENT= A Moose role for setting attributes from a simple configfile
|
||||
|
||||
RUN_DEPENDS= p5-Moose>=0.35:${PORTSDIR}/devel/p5-Moose \
|
||||
p5-MooseX-ConfigFromFile>=0.02:${PORTSDIR}/devel/p5-MooseX-ConfigFromFile \
|
||||
p5-Config-Any>=0.10:${PORTSDIR}/devel/p5-Config-Any
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= MooseX::SimpleConfig.3
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e '$$_="" if m/Test::More|auto_install/' ${WRKSRC}/Makefile.PL
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/p5-MooseX-SimpleConfig/distinfo
Normal file
3
devel/p5-MooseX-SimpleConfig/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (MooseX-SimpleConfig-0.03.tar.gz) = 6aacecf18afbf17f97e666c0197a5e18
|
||||
SHA256 (MooseX-SimpleConfig-0.03.tar.gz) = 0a49683a77ac5ce95eed2bd8b3372b9b6a89b2570d777b98bfb9d912d6924290
|
||||
SIZE (MooseX-SimpleConfig-0.03.tar.gz) = 20819
|
7
devel/p5-MooseX-SimpleConfig/pkg-descr
Normal file
7
devel/p5-MooseX-SimpleConfig/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
This role loads simple configfiles to set object attributes. It is
|
||||
based on the abstract role MooseX::ConfigFromFile, and uses Config::Any
|
||||
to load your configfile. Config::Any will in turn support any of a
|
||||
variety of different config formats, detected by the file extension.
|
||||
See Config::Any for more details about supported formats.
|
||||
|
||||
WWW: http://search.cpan.org/dist/MooseX-SimpleConfig/
|
5
devel/p5-MooseX-SimpleConfig/pkg-plist
Normal file
5
devel/p5-MooseX-SimpleConfig/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
%%SITE_PERL%%/MooseX/SimpleConfig.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/SimpleConfig/.packlist
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/SimpleConfig
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX
|
||||
@dirrmtry %%SITE_PERL%%/MooseX
|
Loading…
Reference in New Issue
Block a user