aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-FormValidator-Simple/Makefile
blob: 43fe42026db4dc08256150ec77c01dbf0972bfeb (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
# New ports collection makefile for:	FormValidator::Simple
# Date created:				21 Nov 2005
# Whom:					Lars Balker Rasmussen <lbr@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=		FormValidator-Simple
PORTVERSION=		0.22
CATEGORIES=		textproc perl5
MASTER_SITES=		${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	../by-authors/id/L/LY/LYOKATO
PKGNAMEPREFIX=		p5-

MAINTAINER=		lbr@FreeBSD.org
COMMENT=		Validation with simple chains of constraints

RUN_DEPENDS=	p5-Class-Accessor>=0.22:${PORTSDIR}/devel/p5-Class-Accessor \
		p5-Class-Inspector>=1.13:${PORTSDIR}/devel/p5-Class-Inspector \
		p5-Class-Data-Inheritable>=0.04:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
		p5-Class-Data-Accessor>=0.03:${PORTSDIR}/devel/p5-Class-Data-Accessor \
		p5-UNIVERSAL-require>=0.10:${PORTSDIR}/devel/p5-UNIVERSAL-require \
		p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools \
		p5-Email-Valid>=0.15:${PORTSDIR}/mail/p5-Email-Valid \
		p5-Email-Valid-Loose>=0.04:${PORTSDIR}/mail/p5-Email-Valid-Loose \
		p5-Date-Calc>=5.4:${PORTSDIR}/devel/p5-Date-Calc \
		p5-Tie-IxHash>=1.21:${PORTSDIR}/devel/p5-Tie-IxHash \
		p5-YAML>=0.39:${PORTSDIR}/textproc/p5-YAML \
		p5-List-MoreUtils>=0.16:${PORTSDIR}/lang/p5-List-MoreUtils \
		p5-DateTime-Format-Strptime>=1.07:${PORTSDIR}/devel/p5-DateTime-Format-Strptime
BUILD_DEPENDS=	${RUN_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		FormValidator::Simple.3 \
		FormValidator::Simple::Results.3

# included AutoInstall.pm bugs out on multi-dot version numbers, so let 
# ports handle all the installation requirements...
post-extract:
	@${PERL} -i.bak -ne 'print unless /^requires/' ${WRKSRC}/Makefile.PL

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500800
IGNORE=		requires perl 5.8 or later. Install lang/perl5.8 then try again
.endif

.include <bsd.port.post.mk>