aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Catalyst-Plugin-I18N/Makefile
blob: 7155b3ff3038b1af05df919e8fa838a58cac8d42 (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
# New ports collection makefile for:    www/p5-Catalyst-Plugin-I18N
# Date created:             2 Dec 2005
# Whom:                 Lars Balker Rasmussen <lbr@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Catalyst-Plugin-I18N
PORTVERSION=    0.05
CATEGORIES= www perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/C/CH/CHANSEN
PKGNAMEPREFIX=  p5-

MAINTAINER= lbr@FreeBSD.org
COMMENT=    I18N for Catalyst

BUILD_DEPENDS=  p5-Catalyst>=2.99:${PORTSDIR}/www/p5-Catalyst \
        p5-Locale-Maketext-Lexicon>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Lexicon \
        p5-Locale-Maketext-Simple>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Simple
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Catalyst::Plugin::I18N.3

.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= requires at least Perl 5.8. Install lang/perl5.8, and try again
.elif ${PERL_LEVEL} < 500805
BUILD_DEPENDS+= p5-I18N-LangTags-Detect>=0:${PORTSDIR}/misc/p5-I18N-LangTags
RUN_DEPENDS+=   p5-I18N-LangTags-Detect>=0:${PORTSDIR}/misc/p5-I18N-LangTags
.endif
.include <bsd.port.post.mk>