aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-Search
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-WWW-Search')
-rw-r--r--www/p5-WWW-Search/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/www/p5-WWW-Search/Makefile b/www/p5-WWW-Search/Makefile
index fd3d87689987..cda1a3d019a7 100644
--- a/www/p5-WWW-Search/Makefile
+++ b/www/p5-WWW-Search/Makefile
@@ -7,6 +7,7 @@
PORTNAME= WWW-Search
PORTVERSION= 2.46
+PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= WWW
@@ -15,7 +16,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= A perl5 module for WWW searches
-BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
+ ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
+ ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/HTML/TreeBuilder.pm:${PORTSDIR}/www/p5-HTML-Tree \
${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
@@ -42,13 +45,4 @@ MAN3= WWW::Search.3 \
post-patch:
@${RM} ${WRKSRC}/lib/WWW/Search/Test.pm.orig
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500601
-BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
- ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
- ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>