aboutsummaryrefslogtreecommitdiff
path: root/archivers/p5-Archive-Zip
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/p5-Archive-Zip')
-rw-r--r--archivers/p5-Archive-Zip/Makefile4
-rw-r--r--archivers/p5-Archive-Zip/pkg-plist2
2 files changed, 5 insertions, 1 deletions
diff --git a/archivers/p5-Archive-Zip/Makefile b/archivers/p5-Archive-Zip/Makefile
index 38df66174030..9cc2e3551829 100644
--- a/archivers/p5-Archive-Zip/Makefile
+++ b/archivers/p5-Archive-Zip/Makefile
@@ -14,8 +14,10 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
-USE_ZIP= yes
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
+RUN_DEPENDS= ${BUILD_DEPENDS}
+USE_ZIP= yes
PERL_CONFIGURE= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
diff --git a/archivers/p5-Archive-Zip/pkg-plist b/archivers/p5-Archive-Zip/pkg-plist
index 1f6a6a607a0e..1e0309fc8c0a 100644
--- a/archivers/p5-Archive-Zip/pkg-plist
+++ b/archivers/p5-Archive-Zip/pkg-plist
@@ -5,4 +5,6 @@ lib/perl5/site_perl/%%PERL_VER%%/Archive/Zip/MockFileHandle.pm
lib/perl5/site_perl/%%PERL_VER%%/Archive/Zip/Tree.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Archive/Zip/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Archive/Zip
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Archive
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Archive/Zip
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Archive