aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Net-FreshBooks-API/Makefile
blob: 16a3202f3e1f612a20191592f5a38eb098ca14c1 (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
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

PORTNAME=	Net-FreshBooks-API
PORTVERSION=	0.23
PORTREVISION=	1
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Easy OO access to the FreshBooks.com API

BUILD_DEPENDS=	p5-B-Hooks-EndOfScope>=0.09:${PORTSDIR}/devel/p5-B-Hooks-EndOfScope \
		p5-Clone>=0:${PORTSDIR}/devel/p5-Clone \
		p5-Data-Dump>=0:${PORTSDIR}/devel/p5-Data-Dump \
		p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
		p5-Lingua-EN-Inflect>=0:${PORTSDIR}/textproc/p5-Lingua-EN-Inflect \
		p5-LWP-Protocol-https>=0:${PORTSDIR}/www/p5-LWP-Protocol-https \
		p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
		p5-Net-OAuth-Simple>=0:${PORTSDIR}/net/p5-Net-OAuth-Simple \
		p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate \
		p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class \
		p5-URI>=0:${PORTSDIR}/net/p5-URI \
		p5-WWW-Mechanize>=0:${PORTSDIR}/www/p5-WWW-Mechanize \
		p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML \
		p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \
		p5-parent>=0.223:${PORTSDIR}/devel/p5-parent \
		p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
		p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
RUN_DEPENDS:=	${BUILD_DEPENDS}
TEST_DEPENDS=	p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp \
		p5-Sub-Override>=0:${PORTSDIR}/devel/p5-Sub-Override \
		p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
		p5-Test-WWW-Mechanize>=0:${PORTSDIR}/devel/p5-Test-WWW-Mechanize \
		p5-Test-XML>=0:${PORTSDIR}/devel/p5-Test-XML

USES=		perl5
USE_PERL5=	modbuild

MAN3=		Net::FreshBooks::API.3 \
		Net::FreshBooks::API::Base.3 \
		Net::FreshBooks::API::Client.3 \
		Net::FreshBooks::API::Client::Contact.3 \
		Net::FreshBooks::API::Estimate.3 \
		Net::FreshBooks::API::Gateway.3 \
		Net::FreshBooks::API::Invoice.3 \
		Net::FreshBooks::API::InvoiceLine.3 \
		Net::FreshBooks::API::Iterator.3 \
		Net::FreshBooks::API::Language.3 \
		Net::FreshBooks::API::Links.3 \
		Net::FreshBooks::API::OAuth.3 \
		Net::FreshBooks::API::Payment.3 \
		Net::FreshBooks::API::Recurring.3 \
		Net::FreshBooks::API::Recurring::AutoBill.3 \
		Net::FreshBooks::API::Recurring::AutoBill::Card.3 \
		Net::FreshBooks::API::Recurring::AutoBill::Card::Expiration.3 \
		Net::FreshBooks::API::Role::CRUD.3 \
		Net::FreshBooks::API::Role::Common.3 \
		Net::FreshBooks::API::Role::Iterator.3 \
		Net::FreshBooks::API::Role::LineItem.3 \
		Net::FreshBooks::API::Role::SendBy.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501400
RUN_DEPENDS+=	p5-parent>=0.224:${PORTSDIR}/devel/p5-parent
TEST_DEPENDS+=	p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
.endif

.include <bsd.port.post.mk>