aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Catalyst-Action-REST/Makefile
blob: f7afccb5658768014fe9259928f2beb3161b92e6 (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
# New ports collection makefile for:    Catalyst-Action-REST
# Date created:    08 August 2007
# Whom:        Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=   Catalyst-Action-REST
PORTVERSION=    1.00
CATEGORIES= www perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Automated REST Method Dispatching for Catalyst

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-Catalyst-Runtime>=5.80030:${PORTSDIR}/www/p5-Catalyst-Runtime \
        p5-Class-Inspector>=1.13:${PORTSDIR}/devel/p5-Class-Inspector \
        p5-Data-Serializer>=0.36:${PORTSDIR}/devel/p5-Data-Serializer \
        p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
        p5-MRO-Compat>=0.10:${PORTSDIR}/devel/p5-MRO-Compat \
        p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable \
        p5-Moose>=1.03:${PORTSDIR}/devel/p5-Moose \
        p5-Params-Validate>=0.76:${PORTSDIR}/devel/p5-Params-Validate \
        p5-URI-Find>=0:${PORTSDIR}/textproc/p5-URI-Find \
        p5-YAML-Syck>=0.67:${PORTSDIR}/textproc/p5-YAML-Syck \
        p5-libwww>=2.033:${PORTSDIR}/www/p5-libwww \
        p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
RUN_DEPENDS:=   ${BUILD_DEPENDS}

TEST_DEPENDS=   p5-JSON>=0:${PORTSDIR}/converters/p5-JSON

PERL_CONFIGURE= yes
CONFIGURE_ARGS= --default

MAN3=       Catalyst::Action::Deserialize.3 \
        Catalyst::Action::DeserializeMultiPart.3 \
        Catalyst::Action::REST.3 \
        Catalyst::Action::REST::ForBrowsers.3 \
        Catalyst::Action::Serialize.3 \
        Catalyst::Action::SerializeBase.3 \
        Catalyst::Controller::REST.3 \
        Catalyst::Request::REST.3 \
        Catalyst::Request::REST::ForBrowsers.3 \
        Catalyst::TraitFor::Request::REST.3 \
        Catalyst::TraitFor::Request::REST::ForBrowsers.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501001
TEST_DEPENDS+=  p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
.endif

.include <bsd.port.post.mk>