aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/p5-Data-FormValidator/Makefile30
-rw-r--r--textproc/p5-Data-FormValidator/distinfo2
-rw-r--r--textproc/p5-Data-FormValidator/pkg-plist11
3 files changed, 35 insertions, 8 deletions
diff --git a/textproc/p5-Data-FormValidator/Makefile b/textproc/p5-Data-FormValidator/Makefile
index bfb9c75b6f9d..6ca2c91a8e97 100644
--- a/textproc/p5-Data-FormValidator/Makefile
+++ b/textproc/p5-Data-FormValidator/Makefile
@@ -6,17 +6,39 @@
#
PORTNAME= Data-FormValidator
-PORTVERSION= 1.92
+PORTVERSION= 3.13
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/M/MA/MARKSTOS
PKGNAMEPREFIX= p5-
MAINTAINER= svenasse@polaris.ca
-COMMENT= Validates user input (usually from an HTML form) based
+COMMENT= Validates user input (usually from an HTML form) based
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
+ ${SITE_PERL}/Test/Pod.pm:${PORTSDIR}/devel/p5-Test-Pod \
+ ${SITE_PERL}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic \
+ ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build \
+ ${SITE_PERL}/Image/Size.pm:${PORTSDIR}/graphics/p5-Image-Size \
+ ${SITE_PERL}/Regexp/Common.pm:${PORTSDIR}/textproc/p5-Regexp-Common \
+ ${SITE_PERL}/MIME/Types.pm:${PORTSDIR}/mail/p5-MIME-Types
+RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MAN3= Data::FormValidator.3
+MAN3= Data::FormValidator.3 \
+ Data::FormValidator::ConstraintsFactory.3 \
+ Data::FormValidator::Constraints.3 \
+ Data::FormValidator::Constraints::Dates.3 \
+ Data::FormValidator::Constraints::Upload.3 \
+ Data::FormValidator::Filters.3 \
+ Data::FormValidator::Results.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Data-FormValidator/distinfo b/textproc/p5-Data-FormValidator/distinfo
index 8718b42e690a..c301de597d49 100644
--- a/textproc/p5-Data-FormValidator/distinfo
+++ b/textproc/p5-Data-FormValidator/distinfo
@@ -1 +1 @@
-MD5 (Data-FormValidator-1.92.tar.gz) = 0f8271d739cce0895d2cdf58cabdd30b
+MD5 (Data-FormValidator-3.13.tar.gz) = d9c67dee50024cf97402e524c45cdc12
diff --git a/textproc/p5-Data-FormValidator/pkg-plist b/textproc/p5-Data-FormValidator/pkg-plist
index 67c7f801511f..8583ea54b839 100644
--- a/textproc/p5-Data-FormValidator/pkg-plist
+++ b/textproc/p5-Data-FormValidator/pkg-plist
@@ -1,5 +1,10 @@
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/FormValidator/.packlist
%%SITE_PERL%%/Data/FormValidator.pm
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/FormValidator
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data 2>/dev/null || true
+%%SITE_PERL%%/Data/FormValidator/Constraints.pm
+%%SITE_PERL%%/Data/FormValidator/ConstraintsFactory.pm
+%%SITE_PERL%%/Data/FormValidator/Constraints/Dates.pm
+%%SITE_PERL%%/Data/FormValidator/Constraints/Upload.pm
+%%SITE_PERL%%/Data/FormValidator/Filters.pm
+%%SITE_PERL%%/Data/FormValidator/Results.pm
+@dirrm %%SITE_PERL%%/Data/FormValidator/Constraints
+@dirrm %%SITE_PERL%%/Data/FormValidator
@unexec rmdir %D/%%SITE_PERL%%/Data 2>/dev/null || true