aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Net-Twitter/Makefile
blob: 8c843611aa5e4d25342ec40fe52cd585c4b059af (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
# New ports collection makefile for:    p5-Net-Twitter
# Date created:     2007-08-03
# Whom:         Cheng-Lung Sung <clsung@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Net-Twitter
PORTVERSION=    3.14002
CATEGORIES= net perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Perl interface to twitter.com

RUN_DEPENDS=    ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
            ${SITE_PERL}/Data/Visitor/Callback.pm:${PORTSDIR}/devel/p5-Data-Visitor \
            ${SITE_PERL}/DateTime/Format/Strptime.pm:${PORTSDIR}/devel/p5-DateTime-Format-Strptime \
            ${SITE_PERL}/MooseX/AttributeHelpers.pm:${PORTSDIR}/devel/p5-MooseX-AttributeHelpers \
            ${SITE_PERL}/MooseX/MultiInitArg.pm:${PORTSDIR}/devel/p5-MooseX-MultiInitArg \
        ${SITE_PERL}/MooseX/Traits.pm:${PORTSDIR}/devel/p5-MooseX-Traits \
        ${SITE_PERL}/namespace/autoclean.pm:${PORTSDIR}/devel/p5-namespace-autoclean \
        ${SITE_PERL}/Net/OAuth/Simple.pm:${PORTSDIR}/net/p5-Net-OAuth-Simple \
        ${SITE_PERL}/JSON/Any.pm:${PORTSDIR}/converters/p5-JSON-Any
BUILD_DEPENDS=  ${RUN_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Net::Twitter.3 Net::Twitter::Search.3 Net::Identica.3 \
        Net::Twitter::API.3 Net::Twitter::Role::API::Search.3 \
        Net::Twitter::Error.3 Net::Twitter::Role::OAuth.3 \
        Net::Twitter::OAuth.3 Net::Twitter::Core.3 \
        Net::Twitter::Role::API::Lists.3 \
        Net::Twitter::Role::API::REST.3 \
        Net::Twitter::Role::API::Search::Trends.3 \
        Net::Twitter::Role::API::TwitterVision.3 \
        Net::Twitter::Role::InflateObjects.3 \
        Net::Twitter::Role::Legacy.3 \
        Net::Twitter::Role::RateLimit.3 \
        Net::Twitter::Role::RetryOnError.3 \
        Net::Twitter::Role::SimulateCursors.3 \
        Net::Twitter::Role::WrapError.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501000
RUN_DEPENDS+=   p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA
.endif

.include <bsd.port.post.mk>