aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-02-17 21:46:09 +0800
committerleeym <leeym@FreeBSD.org>2003-02-17 21:46:09 +0800
commit4aa6769e25a7f2c571c8f8944dedc7769a3cfa2c (patch)
tree72e011ebbdc9c68d7f8e8c74bac04a0c055e0750 /archivers
parentc637498ac5983fb159933e6d27de64ebd82f655b (diff)
downloadfreebsd-ports-gnome-4aa6769e25a7f2c571c8f8944dedc7769a3cfa2c.tar.gz
freebsd-ports-gnome-4aa6769e25a7f2c571c8f8944dedc7769a3cfa2c.tar.zst
freebsd-ports-gnome-4aa6769e25a7f2c571c8f8944dedc7769a3cfa2c.zip
1. fix dependency for archivers/p5-Archive-Zip on 4.x with perl >= 5.6
2. apply COMMENT PR: 48372 Submitted by: Erwin Lansing <erwin@lansing.dk>
Diffstat (limited to 'archivers')
-rw-r--r--archivers/p5-Archive-Zip/Makefile3
-rw-r--r--archivers/p5-Archive-Zip/pkg-comment1
2 files changed, 2 insertions, 2 deletions
diff --git a/archivers/p5-Archive-Zip/Makefile b/archivers/p5-Archive-Zip/Makefile
index 2f5846ed8714..f06c7579efd7 100644
--- a/archivers/p5-Archive-Zip/Makefile
+++ b/archivers/p5-Archive-Zip/Makefile
@@ -13,6 +13,7 @@ MASTER_SITE_SUBDIR= Archive
PKGNAMEPREFIX= p5-
MAINTAINER= erwin@lansing.dk
+COMMENT= Perl module to create, manipulate, read, and write Zip archive files
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
RUN_DEPENDS= ${BUILD_DEPENDS}
@@ -24,7 +25,7 @@ MAN3= Archive::Zip.3 Archive::Zip::Tree.3 Archive::Zip::FAQ.3 Archive::Zip::Mem
.include <bsd.port.mk>
-.if ${OSVERSION} < 500000 && !exists(${SITE_PERL}/File/Spec.pm)
+.if ${PERL_LEVEL} < 500601
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
.endif
diff --git a/archivers/p5-Archive-Zip/pkg-comment b/archivers/p5-Archive-Zip/pkg-comment
deleted file mode 100644
index ca490b08de9c..000000000000
--- a/archivers/p5-Archive-Zip/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Perl module to create, manipulate, read, and write Zip archive files