aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/p5-App-Info/Makefile14
-rw-r--r--devel/p5-App-Info/distinfo2
2 files changed, 11 insertions, 5 deletions
diff --git a/devel/p5-App-Info/Makefile b/devel/p5-App-Info/Makefile
index b27ee5d16557..c158fb227b5c 100644
--- a/devel/p5-App-Info/Makefile
+++ b/devel/p5-App-Info/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= App-Info
-PORTVERSION= 0.23
+PORTVERSION= 0.24
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= App
@@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= demon@FreeBSD.org
COMMENT= Interface for providing metadata about installed software packages
-BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
- ${SITE_PERL}/Test/Simple.pm:${PORTSDIR}/devel/p5-Test-Simple
+BUILD_DEPENDS= ${SITE_PERL}/Test/Simple.pm:${PORTSDIR}/devel/p5-Test-Simple
PERL_CONFIGURE= YES
@@ -27,4 +26,11 @@ 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.mk>
+.include "../../devel/p5-Module-Build/inc.build.mk"
+.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>
diff --git a/devel/p5-App-Info/distinfo b/devel/p5-App-Info/distinfo
index f1c346339698..c855a9411648 100644
--- a/devel/p5-App-Info/distinfo
+++ b/devel/p5-App-Info/distinfo
@@ -1 +1 @@
-MD5 (App-Info-0.23.tar.gz) = b526f3d3c40c78e90cea61d2d04c7d74
+MD5 (App-Info-0.24.tar.gz) = 8610720135f74aa6d37fdeffdf2cbbbd