aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-DateTime-Format-Natural/Makefile
blob: de1d3d3579b3a1a699e133f45ae6c3e23b827ccf (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
# New ports collection makefile for:	p5-DateTime-Format-Natural
# Date created:				22 Jul 2008
# Whom:					Timur I. Bakeyev <bat@cpan.org>
#
# $FreeBSD$
#

PORTNAME=	DateTime-Format-Natural
PORTVERSION=	0.82
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	timur@FreeBSD.org
COMMENT=	Create machine readable date/time with natural parsing logic

BUILD_DEPENDS=	\
		${SITE_PERL}/boolean.pm:${PORTSDIR}/devel/p5-boolean \
		${SITE_PERL}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
		${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
		${SITE_PERL}/${PERL_ARCH}/List/MoreUtils.pm:${PORTSDIR}/lang/p5-List-MoreUtils \
		p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate
RUN_DEPENDS:=	${BUILD_DEPENDS}
TEST_DEPENDS=	p5-Test-MockTime>=0:${PORTSDIR}/devel/p5-Test-MockTime

PERL_MODBUILD=	yes

MAN1=		dateparse.1

MAN3=		DateTime::Format::Natural.3 \
		DateTime::Format::Natural::Base.3 \
		DateTime::Format::Natural::Compat.3 \
		DateTime::Format::Natural::Duration.3 \
		DateTime::Format::Natural::Helpers.3 \
		DateTime::Format::Natural::Lang::Base.3 \
		DateTime::Format::Natural::Lang::EN.3 \
		DateTime::Format::Natural::Test.3 \
		DateTime::Format::Natural::Utils.3 \
		DateTime::Format::Natural::Wrappers.3

.include <bsd.port.mk>