summaryrefslogtreecommitdiffstats
path: root/textproc/p5-PPI/Makefile
blob: 079218936711b31ce5e84c03a5c90ce870a85a81 (plain)
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# New ports collection makefile for:	textproc/p5-PPI
# Date created:				24 March 2005
# Whom:					Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	PPI
PORTVERSION=	1.215
PORTREVISION=	2
CATEGORIES=	textproc perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:ADAMK
PKGNAMEPREFIX=	p5-

MAINTAINER=	lth@FreeBSD.org
COMMENT=	Analyze and manipulate Perl code without using perl itself

BUILD_DEPENDS=	\
		p5-Clone>=0.30:${PORTSDIR}/devel/p5-Clone \
		p5-IO-String>=1.07:${PORTSDIR}/devel/p5-IO-String \
		p5-List-MoreUtils>=0.16:${PORTSDIR}/lang/p5-List-MoreUtils \
		p5-Params-Util>=1.00:${PORTSDIR}/devel/p5-Params-Util \
		p5-Task-Weaken>0:${PORTSDIR}/devel/p5-Task-Weaken \
		p5-Class-Inspector>=1.22:${PORTSDIR}/devel/p5-Class-Inspector \
		p5-File-Remove>=1.42:${PORTSDIR}/devel/p5-File-Remove
RUN_DEPENDS:=	${BUILD_DEPENDS}
TEST_DEPENDS=	p5-Test-NoWarnings>=0.084:${PORTSDIR}/devel/p5-Test-NoWarnings \
		p5-Test-Object>=0.07:${PORTSDIR}/devel/p5-Test-Object \
		p5-Test-SubCalls>=1.07:${PORTSDIR}/devel/p5-Test-SubCalls

PERL_CONFIGURE=	yes

MAN3=	PPI.3 \
	PPI::Cache.3 \
	PPI::Document.3 \
	PPI::Document::File.3 \
	PPI::Document::Fragment.3 \
	PPI::Document::Normalized.3 \
	PPI::Dumper.3 \
	PPI::Element.3 \
	PPI::Find.3 \
	PPI::Lexer.3 \
	PPI::Node.3 \
	PPI::Normal.3 \
	PPI::Normal::Standard.3 \
	PPI::Statement.3 \
	PPI::Statement::Break.3 \
	PPI::Statement::Compound.3 \
	PPI::Statement::Data.3 \
	PPI::Statement::End.3 \
	PPI::Statement::Expression.3 \
	PPI::Statement::Given.3 \
	PPI::Statement::Include.3 \
	PPI::Statement::Include::Perl6.3 \
	PPI::Statement::Null.3 \
	PPI::Statement::Package.3 \
	PPI::Statement::Scheduled.3 \
	PPI::Statement::Sub.3 \
	PPI::Statement::Unknown.3 \
	PPI::Statement::UnmatchedBrace.3 \
	PPI::Statement::Variable.3 \
	PPI::Statement::When.3 \
	PPI::Structure.3 \
	PPI::Structure::Block.3 \
	PPI::Structure::Condition.3 \
	PPI::Structure::Constructor.3 \
	PPI::Structure::For.3 \
	PPI::Structure::Given.3 \
	PPI::Structure::List.3 \
	PPI::Structure::Subscript.3 \
	PPI::Structure::Unknown.3 \
	PPI::Structure::When.3 \
	PPI::Token.3 \
	PPI::Token::ArrayIndex.3 \
	PPI::Token::Attribute.3 \
	PPI::Token::BOM.3 \
	PPI::Token::Cast.3 \
	PPI::Token::Comment.3 \
	PPI::Token::DashedWord.3 \
	PPI::Token::Data.3 \
	PPI::Token::End.3 \
	PPI::Token::HereDoc.3 \
	PPI::Token::Label.3 \
	PPI::Token::Magic.3 \
	PPI::Token::Number.3 \
	PPI::Token::Number::Binary.3 \
	PPI::Token::Number::Exp.3 \
	PPI::Token::Number::Float.3 \
	PPI::Token::Number::Hex.3 \
	PPI::Token::Number::Octal.3 \
	PPI::Token::Number::Version.3 \
	PPI::Token::Operator.3 \
	PPI::Token::Pod.3 \
	PPI::Token::Prototype.3 \
	PPI::Token::Quote.3 \
	PPI::Token::Quote::Double.3 \
	PPI::Token::Quote::Interpolate.3 \
	PPI::Token::Quote::Literal.3 \
	PPI::Token::Quote::Single.3 \
	PPI::Token::QuoteLike.3 \
	PPI::Token::QuoteLike::Backtick.3 \
	PPI::Token::QuoteLike::Command.3 \
	PPI::Token::QuoteLike::Readline.3 \
	PPI::Token::QuoteLike::Regexp.3 \
	PPI::Token::QuoteLike::Words.3 \
	PPI::Token::Regexp.3 \
	PPI::Token::Regexp::Match.3 \
	PPI::Token::Regexp::Substitute.3 \
	PPI::Token::Regexp::Transliterate.3 \
	PPI::Token::Separator.3 \
	PPI::Token::Structure.3 \
	PPI::Token::Symbol.3 \
	PPI::Token::Unknown.3 \
	PPI::Token::Whitespace.3 \
	PPI::Token::Word.3 \
	PPI::Token::_QuoteEngine.3 \
	PPI::Token::_QuoteEngine::Full.3 \
	PPI::Token::_QuoteEngine::Simple.3 \
	PPI::Tokenizer.3 \
	PPI::Transform.3 \
	PPI::Transform::UpdateCopyright.3

regression-test: build
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501000
BUILD_DEPENDS+=	p5-Scalar-List-Utils>=1.20:${PORTSDIR}/lang/p5-Scalar-List-Utils
RUN_DEPENDS+=	p5-Scalar-List-Utils>=1.20:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud