summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/p5-Archive-Tar/Makefile16
-rw-r--r--archivers/p5-Archive-Tar/distinfo6
2 files changed, 14 insertions, 8 deletions
diff --git a/archivers/p5-Archive-Tar/Makefile b/archivers/p5-Archive-Tar/Makefile
index f17276f78a34..1231bbd37140 100644
--- a/archivers/p5-Archive-Tar/Makefile
+++ b/archivers/p5-Archive-Tar/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= Archive-Tar
-PORTVERSION= 1.38
-PORTREVISION= 1
+PORTVERSION= 1.40
CATEGORIES= archivers perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,9 +14,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module for creation and manipulation of tar files
-RUN_DEPENDS= ${SITE_PERL}/IO/Zlib.pm:${PORTSDIR}/archivers/p5-IO-Zlib \
- ${SITE_PERL}/IO/String.pm:${PORTSDIR}/devel/p5-IO-String
-BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-IO-Compress-Bzip2>=2.012:${PORTSDIR}/archivers/p5-IO-Compress-Bzip2 \
+ p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String
PERL_CONFIGURE= YES
@@ -32,4 +30,12 @@ OPTIONS= TEXT_DIFF "Text::Diff support for ptardiff" off
RUN_DEPENDS+= ${SITE_PERL}/Text/Diff.pm:${PORTSDIR}/textproc/p5-Text-Diff
.endif
+.if ${PERL_LEVEL} < 500904
+RUN_DEPENDS+= p5-Package-Constants>=0:${PORTSDIR}/devel/p5-Package-Constants
+.endif
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Zlib>=1.01:${PORTSDIR}/archivers/p5-IO-Zlib
+.endif
+
.include <bsd.port.post.mk>
diff --git a/archivers/p5-Archive-Tar/distinfo b/archivers/p5-Archive-Tar/distinfo
index a6c749ceb2db..4a14dbab45d8 100644
--- a/archivers/p5-Archive-Tar/distinfo
+++ b/archivers/p5-Archive-Tar/distinfo
@@ -1,3 +1,3 @@
-MD5 (Archive-Tar-1.38.tar.gz) = 17295c220b333fc4e1e3a140d3471be1
-SHA256 (Archive-Tar-1.38.tar.gz) = d10008979ea02b1fd1f34c939ecc9b23a200eba9b20a405119dd6e986a6543dd
-SIZE (Archive-Tar-1.38.tar.gz) = 42452
+MD5 (Archive-Tar-1.40.tar.gz) = df0322a37c5282a12da636c6f48d25e4
+SHA256 (Archive-Tar-1.40.tar.gz) = 7d6b285b7ea5c55042eca05e2a357d6449c44c2b940ea4bacbcbf1c1e1bb0c4e
+SIZE (Archive-Tar-1.40.tar.gz) = 48243