blob: 2952896e4b97da30418b861d98d9697ed41e094c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= Bread-Board
PORTVERSION= 0.25
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:STEVAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Solderless way to wire up your application components
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Moose>=2:${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 \
p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Form-Sensible>=0:${PORTSDIR}/devel/p5-Form-Sensible \
p5-Log-Dispatch>=0:${PORTSDIR}/devel/p5-Log-Dispatch \
p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \
p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires
OPTIONS_DEFINE= GRAPHVIZ
GRAPHVIZ_DESC= Visualize a Bread::Board system via Graphviz
USE_PERL5= configure
USES= perl5
MAN1= visualize-breadboard.1
MAN3= Bread::Board.3 \
Bread::Board::BlockInjection.3 \
Bread::Board::ConstructorInjection.3 \
Bread::Board::Container.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 \
Bread::Board::Literal.3 \
Bread::Board::Manual.3 \
Bread::Board::Manual::Concepts.3 \
Bread::Board::Manual::Concepts::Advanced.3 \
Bread::Board::Manual::Concepts::Typemap.3 \
Bread::Board::Manual::Example.3 \
Bread::Board::Manual::Example::FormSensible.3 \
Bread::Board::Manual::Example::LogDispatch.3 \
Bread::Board::Service.3 \
Bread::Board::Service::Alias.3 \
Bread::Board::Service::Deferred.3 \
Bread::Board::Service::Deferred::Thunk.3 \
Bread::Board::Service::Inferred.3 \
Bread::Board::Service::WithClass.3 \
Bread::Board::Service::WithDependencies.3 \
Bread::Board::Service::WithParameters.3 \
Bread::Board::SetterInjection.3 \
Bread::Board::Traversable.3 \
Bread::Board::Types.3
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGRAPHVIZ}
BUILD_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
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 ${PORT_OPTIONS:MGRAPHVIZ}
@${REINPLACE_CMD} -e 's|^# require|require|' ${WRKSRC}/Makefile.PL
.else
.endif
.include <bsd.port.mk>
|