aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2011-10-26 22:30:41 +0800
committerlth <lth@FreeBSD.org>2011-10-26 22:30:41 +0800
commit05a8da7e3668bc012dfd5688a14be2fe88db67f6 (patch)
tree9f2faea9bfd86ee6c4774950973a61bd3cd88138
parenta3d972ff469f17130fa547f30c50901ed0e4ce13 (diff)
downloadfreebsd-ports-gnome-05a8da7e3668bc012dfd5688a14be2fe88db67f6.tar.gz
freebsd-ports-gnome-05a8da7e3668bc012dfd5688a14be2fe88db67f6.tar.zst
freebsd-ports-gnome-05a8da7e3668bc012dfd5688a14be2fe88db67f6.zip
Add p5-Archive-Peek 0.34, peek into archives without extracting them.
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/p5-Archive-Peek/Makefile32
-rw-r--r--archivers/p5-Archive-Peek/distinfo2
-rw-r--r--archivers/p5-Archive-Peek/pkg-descr4
-rw-r--r--archivers/p5-Archive-Peek/pkg-plist8
5 files changed, 47 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index 01e3d89fd1b0..104c32b6610a 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -91,6 +91,7 @@
SUBDIR += p5-Archive-Any
SUBDIR += p5-Archive-Extract
SUBDIR += p5-Archive-Extract-Libarchive
+ SUBDIR += p5-Archive-Peek
SUBDIR += p5-Archive-Rar
SUBDIR += p5-Archive-SimpleExtractor
SUBDIR += p5-Archive-Tar
diff --git a/archivers/p5-Archive-Peek/Makefile b/archivers/p5-Archive-Peek/Makefile
new file mode 100644
index 000000000000..1b289dc6c8a3
--- /dev/null
+++ b/archivers/p5-Archive-Peek/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: archivers/p5-Archive-Peek
+# Date created: 01 September 2011
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Archive-Peek
+PORTVERSION= 0.34
+CATEGORIES= archivers perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Peek into archives without extracting them
+
+BUILD_DEPENDS= p5-Archive-Tar>=0:${PORTSDIR}/archivers/p5-Archive-Tar \
+ p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \
+ p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
+ p5-MooseX-Types-Path-Class>=0:${PORTSDIR}/devel/p5-MooseX-Types-Path-Class
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+TEST_DEPENDS= p5-Test-Pod>=1.14:${PORTSDIR}/devel/p5-Test-Pod
+
+PERL_CONFIGURE= yes
+
+MAN3= Archive::Peek.3
+
+regression-test: build
+ cd ${WRKSRC}/ && ${MAKE} test
+
+.include <bsd.port.mk>
diff --git a/archivers/p5-Archive-Peek/distinfo b/archivers/p5-Archive-Peek/distinfo
new file mode 100644
index 000000000000..781ee788cdff
--- /dev/null
+++ b/archivers/p5-Archive-Peek/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Archive-Peek-0.34.tar.gz) = 2c0f8bb48313189bc03faa94632bb2d6abd6d4a4927e5b8e85a1ecc300aa61c6
+SIZE (Archive-Peek-0.34.tar.gz) = 3581
diff --git a/archivers/p5-Archive-Peek/pkg-descr b/archivers/p5-Archive-Peek/pkg-descr
new file mode 100644
index 000000000000..be7fdd525342
--- /dev/null
+++ b/archivers/p5-Archive-Peek/pkg-descr
@@ -0,0 +1,4 @@
+This module lets you peek into archives without extracting them.
+It currently supports tar files and zip files.
+
+WWW: http://search.cpan.org/dist/Archive-Peek/
diff --git a/archivers/p5-Archive-Peek/pkg-plist b/archivers/p5-Archive-Peek/pkg-plist
new file mode 100644
index 000000000000..3e36bab4b434
--- /dev/null
+++ b/archivers/p5-Archive-Peek/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/Archive/Peek/Zip.pm
+%%SITE_PERL%%/Archive/Peek/Tar.pm
+%%SITE_PERL%%/Archive/Peek.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Archive/Peek/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Archive/Peek
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Archive
+@dirrmtry %%SITE_PERL%%/Archive/Peek
+@dirrmtry %%SITE_PERL%%/Archive