freebsd-ports/textproc/p5-FormValidator-Lite/Makefile
Frederic Culot 82721fc10a - Update to 0.34 [1]
- Trim Makefile's header [1]
- Update TEST_DEPENDS
- Pet portlint(1) by changing tab into space in WWW link

Changes:	http://search.cpan.org/dist/FormValidator-Lite/Changes
PR:		ports/178395 [1]
Submitted by:	TAKAHASHI Kaoru <kaoru@kaisei.org> (maintainer)
2013-05-13 07:55:29 +00:00

47 lines
1.4 KiB
Makefile

# Created by: TAKAHASHI Kaoru <kaoru@kaisei.org>
# $FreeBSD$
#
PORTNAME= FormValidator-Lite
PORTVERSION= 0.34
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= kaoru@kaisei.org
COMMENT= Lightleight form validation library
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Class-Accessor-Lite>=0.05:${PORTSDIR}/devel/p5-Class-Accessor-Lite \
p5-Class-Load>=0.11:${PORTSDIR}/devel/p5-Class-Load \
p5-Email-Valid>0:${PORTSDIR}/mail/p5-Email-Valid \
p5-Email-Valid-Loose>0:${PORTSDIR}/mail/p5-Email-Valid-Loose \
p5-Filter>0:${PORTSDIR}/devel/p5-Filter
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Text-TestBase>0:${PORTSDIR}/textproc/p5-Text-TestBase \
p5-Test-Requires>=0.05:${PORTSDIR}/devel/p5-Test-Requires \
p5-YAML>=0:${PORTSDIR}/textproc/p5-YAML
PERL_MODBUILD= yes
MAN3= FormValidator::Lite.3 \
FormValidator::Lite::Constraint.3 \
FormValidator::Lite::Constraint::Date.3 \
FormValidator::Lite::Constraint::Default.3 \
FormValidator::Lite::Constraint::Email.3 \
FormValidator::Lite::Constraint::File.3 \
FormValidator::Lite::Constraint::Japanese.3 \
FormValidator::Lite::Constraint::Time.3 \
FormValidator::Lite::Constraint::URL.3 \
FormValidator::Lite::Messages::en.3 \
FormValidator::Lite::Messages::ja.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400
TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>