- Update to 0.20

- Add OPTIONS: GRAPHVIZ (off by default)

Changes:	http://search.cpan.org/dist/Bread-Board/ChangeLog
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-06-17 22:38:51 +00:00
parent f8a9045900
commit 71eb56655d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275752
3 changed files with 29 additions and 4 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= Bread-Board
PORTVERSION= 0.18
PORTREVISION= 1
PORTVERSION= 0.20
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:STEVAN
@ -16,6 +15,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= A solderless way to wire up your application components
OPTIONS= GRAPHVIZ "Using Graphviz to visualize a Bread::Board system" off
RUN_DEPENDS= p5-Moose>=1.00:${PORTSDIR}/devel/p5-Moose \
p5-MooseX-Clone>=0.05:${PORTSDIR}/devel/p5-MooseX-Clone \
p5-MooseX-Params-Validate>=0.14:${PORTSDIR}/devel/p5-MooseX-Params-Validate
@ -23,6 +24,7 @@ TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/Test-Exception
PERL_CONFIGURE= yes
MAN1= visualize-breadboard.1
MAN3= Bread::Board.3 \
Bread::Board::BlockInjection.3 \
Bread::Board::ConstructorInjection.3 \
@ -30,6 +32,8 @@ MAN3= Bread::Board.3 \
Bread::Board::Container::Parameterized.3 \
Bread::Board::Dependency.3 \
Bread::Board::Dumper.3 \
Bread::Board::GraphViz.3 \
Bread::Board::GraphViz::App.3 \
Bread::Board::LifeCycle.3 \
Bread::Board::LifeCycle::Singleton.3 \
Bread::Board::LifeCycle::Singleton::WithParameters.3 \
@ -52,4 +56,20 @@ MAN3= Bread::Board.3 \
Bread::Board::Traversable.3 \
Bread::Board::Types.3
.include <bsd.port.options.mk>
.if defined(WITH_GRAPHVIZ)
RUN_DEPENDS+= p5-Data-Visitor>=0:${PORTSDIR}/devel/p5-Data-Visitor \
p5-GraphViz>=0:${PORTSDIR}/graphics/p5-GraphViz \
p5-MooseX-Runnable>=0:${PORTSDIR}/devel/p5-MooseX-Runnable \
p5-MooseX-Types-Set-Object>=0:${PORTSDIR}/devel/p5-MooseX-Types-Set-Object \
p5-Set-Object>=0:${PORTSDIR}/devel/p5-Set-Object
.endif
post-patch:
.if defined(WITH_GRAPHVIZ)
@${REINPLACE_CMD} -e 's|^# require|require|' ${WRKSRC}/Makefile.PL
.else
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (Bread-Board-0.18.tar.gz) = 5ccc9986f2daee672193acec48e5bae88054a8e434756507f11e9e345461dab1
SIZE (Bread-Board-0.18.tar.gz) = 60517
SHA256 (Bread-Board-0.20.tar.gz) = bcc3c0374f2abea19552230d136aa57f1e184317611976c71b9cebc4068decac
SIZE (Bread-Board-0.20.tar.gz) = 66651

View File

@ -1,3 +1,4 @@
bin/visualize-breadboard
%%SITE_PERL%%/Bread/Board.pm
%%SITE_PERL%%/Bread/Board/BlockInjection.pm
%%SITE_PERL%%/Bread/Board/ConstructorInjection.pm
@ -5,6 +6,8 @@
%%SITE_PERL%%/Bread/Board/Container/Parameterized.pm
%%SITE_PERL%%/Bread/Board/Dependency.pm
%%SITE_PERL%%/Bread/Board/Dumper.pm
%%SITE_PERL%%/Bread/Board/GraphViz.pm
%%SITE_PERL%%/Bread/Board/GraphViz/App.pm
%%SITE_PERL%%/Bread/Board/LifeCycle.pm
%%SITE_PERL%%/Bread/Board/LifeCycle/Singleton.pm
%%SITE_PERL%%/Bread/Board/LifeCycle/Singleton/WithParameters.pm
@ -17,6 +20,7 @@
%%SITE_PERL%%/Bread/Board/Manual/Example/FormSensible.pod
%%SITE_PERL%%/Bread/Board/Manual/Example/LogDispatch.pod
%%SITE_PERL%%/Bread/Board/Service.pm
%%SITE_PERL%%/Bread/Board/Service/Alias.pm
%%SITE_PERL%%/Bread/Board/Service/Deferred.pm
%%SITE_PERL%%/Bread/Board/Service/Deferred/Thunk.pm
%%SITE_PERL%%/Bread/Board/Service/Inferred.pm
@ -36,6 +40,7 @@
@dirrm %%SITE_PERL%%/Bread/Board/Manual
@dirrm %%SITE_PERL%%/Bread/Board/LifeCycle/Singleton
@dirrm %%SITE_PERL%%/Bread/Board/LifeCycle
@dirrm %%SITE_PERL%%/Bread/Board/GraphViz
@dirrm %%SITE_PERL%%/Bread/Board/Container
@dirrm %%SITE_PERL%%/Bread/Board
@dirrmtry %%SITE_PERL%%/Bread