aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-23 07:00:40 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-23 07:00:40 +0000
commit87c033871e328d91fc79dfe4f5b21942ab8cccbe (patch)
tree03601d5c6e3661c246e540673601fc1201e6a155 /archivers
parent08fe105a454318bd39541c8f0a31591d44122abc (diff)
downloadports-87c033871e328d91fc79dfe4f5b21942ab8cccbe.tar.gz
ports-87c033871e328d91fc79dfe4f5b21942ab8cccbe.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/p5-Archive-Extract-Libarchive/Makefile30
-rw-r--r--archivers/p5-Archive-Extract-Libarchive/distinfo2
-rw-r--r--archivers/p5-Archive-Extract-Libarchive/pkg-descr6
-rw-r--r--archivers/p5-Archive-Extract-Libarchive/pkg-plist8
5 files changed, 47 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index bc2bf4fb64f3..01e3d89fd1b0 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -90,6 +90,7 @@
SUBDIR += ocaml-zip
SUBDIR += p5-Archive-Any
SUBDIR += p5-Archive-Extract
+ SUBDIR += p5-Archive-Extract-Libarchive
SUBDIR += p5-Archive-Rar
SUBDIR += p5-Archive-SimpleExtractor
SUBDIR += p5-Archive-Tar
diff --git a/archivers/p5-Archive-Extract-Libarchive/Makefile b/archivers/p5-Archive-Extract-Libarchive/Makefile
new file mode 100644
index 000000000000..87962cd2a754
--- /dev/null
+++ b/archivers/p5-Archive-Extract-Libarchive/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: p5-Archive-Extract-Libarchive
+# Date created: 2011-10-23
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Archive-Extract-Libarchive
+PORTVERSION= 0.35
+CATEGORIES= archivers perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= A generic archive extracting mechanism (using libarchive)
+
+BUILD_DEPENDS= p5-Object-Tiny>=0:${PORTSDIR}/devel/p5-Object-Tiny
+RUN_DEPENDS= p5-Object-Tiny>=0:${PORTSDIR}/devel/p5-Object-Tiny
+
+PERL_MODBUILD= yes
+
+MAN3= Archive::Extract::Libarchive.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/archivers/p5-Archive-Extract-Libarchive/distinfo b/archivers/p5-Archive-Extract-Libarchive/distinfo
new file mode 100644
index 000000000000..ea65c1704f91
--- /dev/null
+++ b/archivers/p5-Archive-Extract-Libarchive/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Archive-Extract-Libarchive-0.35.tar.gz) = eda64b22f752603b94bd9bed27b636d4e56acdb48e8b8007f2eacbcc2ebaaa46
+SIZE (Archive-Extract-Libarchive-0.35.tar.gz) = 72883
diff --git a/archivers/p5-Archive-Extract-Libarchive/pkg-descr b/archivers/p5-Archive-Extract-Libarchive/pkg-descr
new file mode 100644
index 000000000000..77a1a358822e
--- /dev/null
+++ b/archivers/p5-Archive-Extract-Libarchive/pkg-descr
@@ -0,0 +1,6 @@
+Archive::Extract::Libarchive has a similar interface to Archive::Extract, but
+instead of using Perl modules and external commands, it uses the libarchive C
+libary. It supports many different archive formats and compression algorithms
+and is fast.
+
+WWW: http://search.cpan.org/dist/Archive-Extract-Libarchive/
diff --git a/archivers/p5-Archive-Extract-Libarchive/pkg-plist b/archivers/p5-Archive-Extract-Libarchive/pkg-plist
new file mode 100644
index 000000000000..58c253f31772
--- /dev/null
+++ b/archivers/p5-Archive-Extract-Libarchive/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Archive/Extract/Libarchive.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Archive/Extract/Libarchive/Libarchive.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Archive/Extract/Libarchive/Libarchive.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Archive/Extract/Libarchive
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Archive/Extract
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Archive
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Archive/Extract
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Archive