diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-06-17 22:38:51 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-06-17 22:38:51 +0000 |
commit | 71eb56655d58cff0d9c918e059363bda45f6cb7d (patch) | |
tree | 84ab66f8a2a17b72d9c9bb7118f4edfcf825c702 /devel/p5-Bread-Board | |
parent | f8a90459008f97428762e01b25ce94bc578352df (diff) | |
download | ports-71eb56655d58cff0d9c918e059363bda45f6cb7d.tar.gz ports-71eb56655d58cff0d9c918e059363bda45f6cb7d.zip |
Notes
Diffstat (limited to 'devel/p5-Bread-Board')
-rw-r--r-- | devel/p5-Bread-Board/Makefile | 24 | ||||
-rw-r--r-- | devel/p5-Bread-Board/distinfo | 4 | ||||
-rw-r--r-- | devel/p5-Bread-Board/pkg-plist | 5 |
3 files changed, 29 insertions, 4 deletions
diff --git a/devel/p5-Bread-Board/Makefile b/devel/p5-Bread-Board/Makefile index 7eea022f67e7..fcaabed25034 100644 --- a/devel/p5-Bread-Board/Makefile +++ b/devel/p5-Bread-Board/Makefile @@ -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> diff --git a/devel/p5-Bread-Board/distinfo b/devel/p5-Bread-Board/distinfo index 1bb2018dfafc..0af0ded2be27 100644 --- a/devel/p5-Bread-Board/distinfo +++ b/devel/p5-Bread-Board/distinfo @@ -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 diff --git a/devel/p5-Bread-Board/pkg-plist b/devel/p5-Bread-Board/pkg-plist index 7ed83e4d7164..e5aef2982a20 100644 --- a/devel/p5-Bread-Board/pkg-plist +++ b/devel/p5-Bread-Board/pkg-plist @@ -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 |