aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-App-Info/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-App-Info/Makefile')
-rw-r--r--devel/p5-App-Info/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/devel/p5-App-Info/Makefile b/devel/p5-App-Info/Makefile
index b1411116d104..929bcb52ffab 100644
--- a/devel/p5-App-Info/Makefile
+++ b/devel/p5-App-Info/Makefile
@@ -7,6 +7,7 @@
PORTNAME= App-Info
PORTVERSION= 0.25
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= App
@@ -15,7 +16,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= demon@FreeBSD.org
COMMENT= Interface for providing metadata about installed software packages
-BUILD_DEPENDS= ${SITE_PERL}/Test/Simple.pm:${PORTSDIR}/devel/p5-Test-Simple
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
+ ${SITE_PERL}/Test/Simple.pm:${PORTSDIR}/devel/p5-Test-Simple
PERL_MODBUILD= YES
@@ -26,10 +28,4 @@ MAN3= App::Info::HTTPD.3 App::Info::Lib::Iconv.3 \
App::Info::Util.3 App::Info::Handler.3 App::Info.3 \
App::Info::Handler::Prompt.3 App::Info::Handler::Carp.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} <= 500600
-BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>