aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
commitb59621d3ae883bef429a8fae6073bfa293a55222 (patch)
treeb415c7b2903cf47ada68c5557c3c6ac33a25fc41 /textproc
parente93c09b8f3675471a176b72ae1e6f085f7a607ad (diff)
downloadports-b59621d3ae883bef429a8fae6073bfa293a55222.tar.gz
ports-b59621d3ae883bef429a8fae6073bfa293a55222.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-CSS-Minifier-XS/Makefile8
-rw-r--r--textproc/p5-Excel-Template/Makefile9
-rw-r--r--textproc/p5-Geo-Parse-OSM/Makefile9
-rw-r--r--textproc/p5-HTML-Format/Makefile3
-rw-r--r--textproc/p5-HTML-HTML5-Entities/Makefile8
-rw-r--r--textproc/p5-Hailo/Makefile2
-rw-r--r--textproc/p5-JavaScript-Minifier-XS/Makefile8
-rw-r--r--textproc/p5-KinoSearch/Makefile9
-rw-r--r--textproc/p5-Lingua-EN-NamedEntity/Makefile10
-rw-r--r--textproc/p5-Marpa-HTML/Makefile16
-rw-r--r--textproc/p5-PDF-API2/Makefile9
-rw-r--r--textproc/p5-PPI/Makefile9
-rw-r--r--textproc/p5-PPIx-Regexp/Makefile8
-rw-r--r--textproc/p5-Perl-MinimumVersion/Makefile8
-rw-r--r--textproc/p5-Pod-POM/Makefile9
-rw-r--r--textproc/p5-Pod-ProjectDocs/Makefile9
-rw-r--r--textproc/p5-Pod-Simple/Makefile9
-rw-r--r--textproc/p5-Pod-Strip/Makefile9
-rw-r--r--textproc/p5-Pod-Tree/Makefile10
-rw-r--r--textproc/p5-String-ToIdentifier-EN/Makefile13
-rw-r--r--textproc/p5-Template-Plugin-Filter-Minify-CSS-XS/Makefile8
-rw-r--r--textproc/p5-Template-Plugin-Filter-Minify-CSS/Makefile8
-rw-r--r--textproc/p5-Template-Plugin-Filter-Minify-JavaScript-XS/Makefile8
-rw-r--r--textproc/p5-Template-Plugin-Filter-Minify-JavaScript/Makefile8
-rw-r--r--textproc/p5-Text-ASCIITable/Makefile3
-rw-r--r--textproc/p5-Text-Padding/Makefile10
-rw-r--r--textproc/p5-Text-Quote/Makefile8
-rw-r--r--textproc/p5-Text-VimColor/Makefile4
-rw-r--r--textproc/p5-Tk-Pod/Makefile4
-rw-r--r--textproc/p5-URI-Find/Makefile8
-rw-r--r--textproc/p5-XML-Feed/Makefile8
-rw-r--r--textproc/p5-XML-Generator/Makefile3
-rw-r--r--textproc/p5-XML-LibXML-PrettyPrint/Makefile2
-rw-r--r--textproc/p5-XML-SAX-Machines/Makefile3
-rw-r--r--textproc/p5-XML-Stream/Makefile12
-rw-r--r--textproc/p5-podlators/Makefile8
36 files changed, 240 insertions, 40 deletions
diff --git a/textproc/p5-CSS-Minifier-XS/Makefile b/textproc/p5-CSS-Minifier-XS/Makefile
index 24052f210a94..f82eb69cb6b3 100644
--- a/textproc/p5-CSS-Minifier-XS/Makefile
+++ b/textproc/p5-CSS-Minifier-XS/Makefile
@@ -18,4 +18,10 @@ PERL_CONFIGURE= yes
MAN3= CSS::Minifier::XS.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501200
+BUILD_DEPENDS+= p5-Module-Build>=0.3500:${PORTSDIR}/devel/p5-Module-Build
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Excel-Template/Makefile b/textproc/p5-Excel-Template/Makefile
index 915d1a73275d..ddd4a90fdd4a 100644
--- a/textproc/p5-Excel-Template/Makefile
+++ b/textproc/p5-Excel-Template/Makefile
@@ -56,4 +56,11 @@ MAN3= Excel::Template.3 \
Excel::Template::Iterator.3 \
Excel::Template::TextObject.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Unicode/String.pm:${PORTSDIR}/converters/p5-Unicode-String
+CONFIGURE_ARGS+= USE_UNICODE=1
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Geo-Parse-OSM/Makefile b/textproc/p5-Geo-Parse-OSM/Makefile
index c6fd4adf45e8..d33c294d6e95 100644
--- a/textproc/p5-Geo-Parse-OSM/Makefile
+++ b/textproc/p5-Geo-Parse-OSM/Makefile
@@ -28,4 +28,11 @@ MAN3= Geo::Parse::OSM.3 \
Geo::Parse::OSM::Multipass.3 \
Geo::Parse::OSM::Singlepass.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+BUILD_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-HTML-Format/Makefile b/textproc/p5-HTML-Format/Makefile
index adae056f7244..9a6e3ef1752b 100644
--- a/textproc/p5-HTML-Format/Makefile
+++ b/textproc/p5-HTML-Format/Makefile
@@ -20,7 +20,8 @@ LICENSE_COMB= dual
BUILD_DEPENDS= p5-Font-AFM>=0:${PORTSDIR}/x11-fonts/p5-Font-AFM \
p5-HTML-Tree>=3.15:${PORTSDIR}/www/p5-HTML-Tree
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-Font-AFM>=0:${PORTSDIR}/x11-fonts/p5-Font-AFM \
+ p5-HTML-Tree>=3.15:${PORTSDIR}/www/p5-HTML-Tree
TEST_DEPENDS= p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp
PERL_MODBUILD= yes
diff --git a/textproc/p5-HTML-HTML5-Entities/Makefile b/textproc/p5-HTML-HTML5-Entities/Makefile
index 88fd25ac87f2..7ba366603dd8 100644
--- a/textproc/p5-HTML-HTML5-Entities/Makefile
+++ b/textproc/p5-HTML-HTML5-Entities/Makefile
@@ -25,4 +25,10 @@ PERL_CONFIGURE= YES
MAN3= HTML::HTML5::Entities.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+BUILD_DEPENDS+= p5-parent>0:${PORTSDIR}/devel/p5-parent
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Hailo/Makefile b/textproc/p5-Hailo/Makefile
index f104786c7b5b..319c291ab206 100644
--- a/textproc/p5-Hailo/Makefile
+++ b/textproc/p5-Hailo/Makefile
@@ -45,7 +45,7 @@ TEST_DEPENDS= p5-Test-Exception>=0.29:${PORTSDIR}/devel/p5-Test-Exception \
p5-Test-Script-Run>=0.04:${PORTSDIR}/devel/p5-Test-Script-Run \
p5-Test-Synopsis>=0.06:${PORTSDIR}/devel/p5-Test-Synopsis
-PERL_CONFIGURE= yes
+PERL_CONFIGURE= 5.10.0+
MAN1= hailo.1
diff --git a/textproc/p5-JavaScript-Minifier-XS/Makefile b/textproc/p5-JavaScript-Minifier-XS/Makefile
index 9955782c6d6b..94647bbab927 100644
--- a/textproc/p5-JavaScript-Minifier-XS/Makefile
+++ b/textproc/p5-JavaScript-Minifier-XS/Makefile
@@ -18,4 +18,10 @@ PERL_CONFIGURE= yes
MAN3= JavaScript::Minifier::XS.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501200
+BUILD_DEPENDS+= p5-Module-Build>=0.3500:${PORTSDIR}/devel/p5-Module-Build
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-KinoSearch/Makefile b/textproc/p5-KinoSearch/Makefile
index 9dd6c21770d4..05d2209f65cc 100644
--- a/textproc/p5-KinoSearch/Makefile
+++ b/textproc/p5-KinoSearch/Makefile
@@ -114,4 +114,11 @@ MAN3= KinoSearch.3 \
KinoSearch::Util::ToolSet.3 \
KinoSearch::Util::VerifyArgs.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+BUILD_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Lingua-EN-NamedEntity/Makefile b/textproc/p5-Lingua-EN-NamedEntity/Makefile
index ec56951e462c..798d64f03c87 100644
--- a/textproc/p5-Lingua-EN-NamedEntity/Makefile
+++ b/textproc/p5-Lingua-EN-NamedEntity/Makefile
@@ -17,10 +17,16 @@ COMMENT= Basic Named Entity Extraction algorithm
RUN_DEPENDS= ${SITE_PERL}/Lingua/Stem/En.pm:${PORTSDIR}/textproc/p5-Lingua-Stem \
${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww
-BUILD_DEPENDS:= ${RUN_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Lingua::EN::NamedEntity.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Marpa-HTML/Makefile b/textproc/p5-Marpa-HTML/Makefile
index 801b9cbd47f1..7b8763fcc77d 100644
--- a/textproc/p5-Marpa-HTML/Makefile
+++ b/textproc/p5-Marpa-HTML/Makefile
@@ -19,16 +19,26 @@ COMMENT= High-level HTML Parser
BUILD_DEPENDS= p5-HTML-Parser>=3.64:${PORTSDIR}/www/p5-HTML-Parser \
p5-Marpa-PP>=0.012:${PORTSDIR}/lang/p5-Marpa-PP \
p5-Marpa-XS>=0.026:${PORTSDIR}/lang/p5-Marpa-XS
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-HTML-Parser>=3.64:${PORTSDIR}/www/p5-HTML-Parser \
+ p5-Marpa-PP>=0.012:${PORTSDIR}/lang/p5-Marpa-PP \
+ p5-Marpa-XS>=0.026:${PORTSDIR}/lang/p5-Marpa-XS
-PERL_CONFIGURE= yes
+PERL_CONFIGURE= 5.10.0+
MAN1= html_fmt.1 \
html_score.1
MAN3= Marpa::HTML.3 \
Marpa::HTML::Support.3
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501200
+BUILD_DEPENDS+= p5-Data-Dumper>=2.125:${PORTSDIR}/devel/p5-Data-Dumper
+RUN_DEPENDS+= p5-Data-Dumper>=2.125:${PORTSDIR}/devel/p5-Data-Dumper
+TEST_DEPENDS+= p5-Test-Simple>=0.94:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|lib/Marpa/Support.pod|lib/Marpa/HTML/Support.pod|' ${WRKSRC}/Build.PL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-PDF-API2/Makefile b/textproc/p5-PDF-API2/Makefile
index 36cdd108da8a..071aa2c201f0 100644
--- a/textproc/p5-PDF-API2/Makefile
+++ b/textproc/p5-PDF-API2/Makefile
@@ -62,4 +62,11 @@ MAN3= PDF::API2.3 \
PDF::API2::Resource::XObject::Image::TIFF.3 \
PDF::API2::Util.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+BUILD_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-PPI/Makefile b/textproc/p5-PPI/Makefile
index f10371bd19f1..a1856bf69ca3 100644
--- a/textproc/p5-PPI/Makefile
+++ b/textproc/p5-PPI/Makefile
@@ -121,4 +121,11 @@ MAN3= PPI.3 \
PPI::Transform.3 \
PPI::Transform::UpdateCopyright.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.20:${PORTSDIR}/lang/p5-Scalar-List-Utils
+RUN_DEPENDS+= p5-Scalar-List-Utils>=1.20:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-PPIx-Regexp/Makefile b/textproc/p5-PPIx-Regexp/Makefile
index 706de99cbd38..c541adaab4c1 100644
--- a/textproc/p5-PPIx-Regexp/Makefile
+++ b/textproc/p5-PPIx-Regexp/Makefile
@@ -81,4 +81,10 @@ MAN3= PPIx::Regexp.3 \
PPIx::Regexp::Tokenizer.3 \
PPIx::Regexp::Util.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Perl-MinimumVersion/Makefile b/textproc/p5-Perl-MinimumVersion/Makefile
index 450c2d8c4b32..5713092124d7 100644
--- a/textproc/p5-Perl-MinimumVersion/Makefile
+++ b/textproc/p5-Perl-MinimumVersion/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= p5-File-Find-Rule>=0.32:${PORTSDIR}/devel/p5-File-Find-Rule \
p5-Perl-Critic>=1.10.4:${PORTSDIR}/textproc/p5-Perl-Critic \
p5-Params-Util>=0.25:${PORTSDIR}/devel/p5-Params-Util \
p5-version>=0.76:${PORTSDIR}/devel/p5-version
-BUILD_DEPENDS:= ${RUN_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
@@ -30,4 +30,8 @@ MAN3= Perl::MinimumVersion.3
post-patch:
@${PERL} -pi -e '$$_="" if m/Test::/' ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 501001
+RUN_DEPENDS+= p5-Scalar-List-Utils>=1.20:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Pod-POM/Makefile b/textproc/p5-Pod-POM/Makefile
index 27815d0bfc45..7b13b2e79c62 100644
--- a/textproc/p5-Pod-POM/Makefile
+++ b/textproc/p5-Pod-POM/Makefile
@@ -44,4 +44,11 @@ MAN3= Pod::POM.3 \
Pod::POM::View::Pod.3 \
Pod::POM::View::Text.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
+RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Pod-ProjectDocs/Makefile b/textproc/p5-Pod-ProjectDocs/Makefile
index 4c3872f3afc3..5f51dff467a9 100644
--- a/textproc/p5-Pod-ProjectDocs/Makefile
+++ b/textproc/p5-Pod-ProjectDocs/Makefile
@@ -32,4 +32,11 @@ PERL_CONFIGURE= yes
MAN1= pod2projdocs.1
MAN3= Pod::ProjectDocs.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500808
+BUILD_DEPENDS+= p5-Pod-Parser>=1.32:${PORTSDIR}/textproc/p5-Pod-Parser
+RUN_DEPENDS+= p5-Pod-Parser>=1.32:${PORTSDIR}/textproc/p5-Pod-Parser
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Pod-Simple/Makefile b/textproc/p5-Pod-Simple/Makefile
index 0ef96247f1f6..565c181943a4 100644
--- a/textproc/p5-Pod-Simple/Makefile
+++ b/textproc/p5-Pod-Simple/Makefile
@@ -44,4 +44,11 @@ MAN3= Pod::Simple.3 \
Pod::Simple::XHTML.3 \
Pod::Simple::XMLOutStream.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS= p5-Pod-Escapes>=1.04:${PORTSDIR}/textproc/p5-Pod-Escapes
+BUILD_DEPENDS= p5-Pod-Escapes>=1.04:${PORTSDIR}/textproc/p5-Pod-Escapes
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Pod-Strip/Makefile b/textproc/p5-Pod-Strip/Makefile
index 60f66ea3e7a4..d2bd1399c56f 100644
--- a/textproc/p5-Pod-Strip/Makefile
+++ b/textproc/p5-Pod-Strip/Makefile
@@ -20,4 +20,11 @@ PERL_MODBUILD= yes
MAN3= Pod::Strip.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-Pod-Simple>=3.00:${PORTSDIR}/textproc/p5-Pod-Simple
+BUILD_DEPENDS+= ${RUN_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Pod-Tree/Makefile b/textproc/p5-Pod-Tree/Makefile
index 66838ed82e41..a145acba97c1 100644
--- a/textproc/p5-Pod-Tree/Makefile
+++ b/textproc/p5-Pod-Tree/Makefile
@@ -18,7 +18,7 @@ COMMENT= Create a static syntax tree for a POD
RUN_DEPENDS= p5-HTML-Stream>=1.49:${PORTSDIR}/www/p5-HTML-Stream \
p5-IO-String>=1:${PORTSDIR}/devel/p5-IO-String \
p5-Text-Template>=1:${PORTSDIR}/textproc/p5-Text-Template
-BUILD_DEPENDS:= ${RUN_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
@@ -41,4 +41,10 @@ post-patch:
${REINPLACE_CMD} -e '/pod2html/d' ${WRKSRC}/MANIFEST
${RM} ${WRKSRC}/t/pod2html.t
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-Pod-Escapes>=1.02:${PORTSDIR}/textproc/p5-Pod-Escapes
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-String-ToIdentifier-EN/Makefile b/textproc/p5-String-ToIdentifier-EN/Makefile
index 7b0401912502..3b5ecb76d7b0 100644
--- a/textproc/p5-String-ToIdentifier-EN/Makefile
+++ b/textproc/p5-String-ToIdentifier-EN/Makefile
@@ -17,7 +17,10 @@ COMMENT= Convert Strings to English Program Identifiers
BUILD_DEPENDS= p5-Lingua-EN-Inflect-Phrase>=0.07:${PORTSDIR}/textproc/p5-Lingua-EN-Inflect-Phrase \
p5-Text-Unidecode>=0.04:${PORTSDIR}/converters/p5-Text-Unidecode \
p5-namespace-clean>=0.20:${PORTSDIR}/devel/p5-namespace-clean
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-Lingua-EN-Inflect-Phrase>=0.07:${PORTSDIR}/textproc/p5-Lingua-EN-Inflect-Phrase \
+ p5-Text-Unidecode>=0.04:${PORTSDIR}/converters/p5-Text-Unidecode \
+ p5-namespace-clean>=0.20:${PORTSDIR}/devel/p5-namespace-clean
+
TEST_DEPENDS= p5-Test-Pod>=1.14:${PORTSDIR}/devel/p5-Test-Pod \
p5-Test-Pod-Coverage>=1.04:${PORTSDIR}/devel/p5-Test-Pod-Coverage
@@ -26,4 +29,10 @@ PERL_CONFIGURE= yes
MAN3= String::ToIdentifier::EN.3 \
String::ToIdentifier::EN::Unicode.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.92:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Template-Plugin-Filter-Minify-CSS-XS/Makefile b/textproc/p5-Template-Plugin-Filter-Minify-CSS-XS/Makefile
index 83fcced7f47a..80ac6af542c1 100644
--- a/textproc/p5-Template-Plugin-Filter-Minify-CSS-XS/Makefile
+++ b/textproc/p5-Template-Plugin-Filter-Minify-CSS-XS/Makefile
@@ -24,4 +24,10 @@ PERL_CONFIGURE= yes
MAN3= Template::Plugin::Filter::Minify::CSS::XS.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500808
+BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.30:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Template-Plugin-Filter-Minify-CSS/Makefile b/textproc/p5-Template-Plugin-Filter-Minify-CSS/Makefile
index 512af0950b60..80804ff9b68e 100644
--- a/textproc/p5-Template-Plugin-Filter-Minify-CSS/Makefile
+++ b/textproc/p5-Template-Plugin-Filter-Minify-CSS/Makefile
@@ -24,4 +24,10 @@ PERL_CONFIGURE= yes
MAN3= Template::Plugin::Filter::Minify::CSS.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500808
+BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.30:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Template-Plugin-Filter-Minify-JavaScript-XS/Makefile b/textproc/p5-Template-Plugin-Filter-Minify-JavaScript-XS/Makefile
index 68801c95521b..61c91194909f 100644
--- a/textproc/p5-Template-Plugin-Filter-Minify-JavaScript-XS/Makefile
+++ b/textproc/p5-Template-Plugin-Filter-Minify-JavaScript-XS/Makefile
@@ -24,4 +24,10 @@ PERL_CONFIGURE= yes
MAN3= Template::Plugin::Filter::Minify::JavaScript::XS.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500808
+BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.30:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Template-Plugin-Filter-Minify-JavaScript/Makefile b/textproc/p5-Template-Plugin-Filter-Minify-JavaScript/Makefile
index 8ea12b70c8c4..2794f20f61f1 100644
--- a/textproc/p5-Template-Plugin-Filter-Minify-JavaScript/Makefile
+++ b/textproc/p5-Template-Plugin-Filter-Minify-JavaScript/Makefile
@@ -24,4 +24,10 @@ PERL_CONFIGURE= yes
MAN3= Template::Plugin::Filter::Minify::JavaScript.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500808
+BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.30:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Text-ASCIITable/Makefile b/textproc/p5-Text-ASCIITable/Makefile
index 0f674005a0a3..4dd27017e3b4 100644
--- a/textproc/p5-Text-ASCIITable/Makefile
+++ b/textproc/p5-Text-ASCIITable/Makefile
@@ -31,4 +31,7 @@ post-install:
@${ECHO_MSG} "===> Example installed in ${EXAMPLESDIR}."
.endif
+regression-test: build
+ cd ${WRKSRC}/ && ./Build test
+
.include <bsd.port.mk>
diff --git a/textproc/p5-Text-Padding/Makefile b/textproc/p5-Text-Padding/Makefile
index e44b29b8be46..e0834309c086 100644
--- a/textproc/p5-Text-Padding/Makefile
+++ b/textproc/p5-Text-Padding/Makefile
@@ -22,8 +22,14 @@ RUN_DEPENDS= p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
p5-MooseX-Has-Sugar>=0:${PORTSDIR}/devel/p5-MooseX-Has-Sugar \
p5-Text-Truncate>=0:${PORTSDIR}/textproc/p5-Text-Truncate
-PERL_MODBUILD= yes
+PERL_MODBUILD= 5.12.0+
MAN3= Text::Padding.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Text-Quote/Makefile b/textproc/p5-Text-Quote/Makefile
index 8d0312f03921..1d0e0c3131b3 100644
--- a/textproc/p5-Text-Quote/Makefile
+++ b/textproc/p5-Text-Quote/Makefile
@@ -23,4 +23,10 @@ PERL_CONFIGURE= yes
MAN3= Text::Quote.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Text-VimColor/Makefile b/textproc/p5-Text-VimColor/Makefile
index aab5202cb9a7..5356b0b314e2 100644
--- a/textproc/p5-Text-VimColor/Makefile
+++ b/textproc/p5-Text-VimColor/Makefile
@@ -29,6 +29,10 @@ MAN3= Text::VimColor.3
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
.if ${PERL_LEVEL} < 501400
BUILD_DEPENDS+= p5-Term-ANSIColor>=3:${PORTSDIR}/devel/p5-Term-ANSIColor
RUN_DEPENDS+= p5-Term-ANSIColor>=3:${PORTSDIR}/devel/p5-Term-ANSIColor
diff --git a/textproc/p5-Tk-Pod/Makefile b/textproc/p5-Tk-Pod/Makefile
index 50e7af2803ca..290b5c1375e2 100644
--- a/textproc/p5-Tk-Pod/Makefile
+++ b/textproc/p5-Tk-Pod/Makefile
@@ -36,8 +36,8 @@ MAN3= Tk::More.3 \
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501000
-BUILD_DEPENDS+= p5-Pod-Simple>=2.05:${PORTSDIR}/textproc/p5-Pod-Simple
-RUN_DEPENDS+= p5-Pod-Simple>=2.05:${PORTSDIR}/textproc/p5-Pod-Simple
+BUILD_DEPENDS+= p5-Pod-Simple>=0:${PORTSDIR}/textproc/p5-Pod-Simple
+RUN_DEPENDS+= p5-Pod-Simple>=0:${PORTSDIR}/textproc/p5-Pod-Simple
.endif
.include <bsd.port.post.mk>
diff --git a/textproc/p5-URI-Find/Makefile b/textproc/p5-URI-Find/Makefile
index 9e7a9e99828a..c40618a13dc4 100644
--- a/textproc/p5-URI-Find/Makefile
+++ b/textproc/p5-URI-Find/Makefile
@@ -23,4 +23,10 @@ MAN1= urifind.1
MAN3= URI::Find.3 \
URI::Find::Schemeless.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-XML-Feed/Makefile b/textproc/p5-XML-Feed/Makefile
index cde125d039f1..2c15957932cf 100644
--- a/textproc/p5-XML-Feed/Makefile
+++ b/textproc/p5-XML-Feed/Makefile
@@ -39,4 +39,10 @@ MAN3= XML::Feed.3 \
XML::Feed::Enclosure.3 \
XML::Feed::Entry.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500905
+RUN_DEPENDS+= p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-XML-Generator/Makefile b/textproc/p5-XML-Generator/Makefile
index f5ad1034f0e8..1b54e6d65bcb 100644
--- a/textproc/p5-XML-Generator/Makefile
+++ b/textproc/p5-XML-Generator/Makefile
@@ -23,4 +23,7 @@ PERL_CONFIGURE= yes
MAN3= XML::Generator.3 XML::Generator::DOM.3
+regression-test test:
+ @(cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} test)
+
.include <bsd.port.mk>
diff --git a/textproc/p5-XML-LibXML-PrettyPrint/Makefile b/textproc/p5-XML-LibXML-PrettyPrint/Makefile
index 4ef8485b5106..cc950b6bcf15 100644
--- a/textproc/p5-XML-LibXML-PrettyPrint/Makefile
+++ b/textproc/p5-XML-LibXML-PrettyPrint/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS= p5-Pragmatic>=0:${PORTSDIR}/devel/p5-Pragmatic \
p5-XML-LibXML>=1.62:${PORTSDIR}/textproc/p5-XML-LibXML \
p5-common-sense>=0:${PORTSDIR}/devel/p5-common-sense
-PERL_CONFIGURE= yes
+PERL_CONFIGURE= 5.10.0+
MAN3= XML::LibXML::PrettyPrint.3
diff --git a/textproc/p5-XML-SAX-Machines/Makefile b/textproc/p5-XML-SAX-Machines/Makefile
index e6b543d33c1b..94c7e781f0d7 100644
--- a/textproc/p5-XML-SAX-Machines/Makefile
+++ b/textproc/p5-XML-SAX-Machines/Makefile
@@ -26,6 +26,9 @@ MAN3= XML::Filter::Distributor.3 XML::Filter::DocSplitter.3 \
XML::SAX::Machines.3 XML::SAX::Machines::ConfigHelper.3 \
XML::SAX::Manifold.3 XML::SAX::Pipeline.3 XML::SAX::Tap.3
+regression-test: build
+ ${MAKE} -C ${WRKSRC} test
+
post-install:
.ifndef(NOPORTEXAMPLES)
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
diff --git a/textproc/p5-XML-Stream/Makefile b/textproc/p5-XML-Stream/Makefile
index 8320c038a001..23a53089ef09 100644
--- a/textproc/p5-XML-Stream/Makefile
+++ b/textproc/p5-XML-Stream/Makefile
@@ -28,4 +28,14 @@ MAN3= XML::Stream.3 \
XML::Stream::Parser::DTD.3 \
XML::Stream::Tree.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.92:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.if ${PERL_LEVEL} < 501200
+BUILD_DEPENDS+= p5-Module-Build>=0.3603:${PORTSDIR}/devel/p5-Module-Build
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-podlators/Makefile b/textproc/p5-podlators/Makefile
index bc533f8721aa..ca006a643cbc 100644
--- a/textproc/p5-podlators/Makefile
+++ b/textproc/p5-podlators/Makefile
@@ -24,4 +24,10 @@ MAN3= Pod::Man.3 Pod::ParseLink.3 Pod::Text.3 Pod::Text::Color.3 \
post-patch:
${REINPLACE_CMD} -e '/pod2text/d;s/man1pod.*pod2man.*//' ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+RUN_DEPENDS+= p5-Pod-Simple>=3.06:${PORTSDIR}/textproc/p5-Pod-Simple
+.endif
+
+.include <bsd.port.post.mk>