git: 63a3a5fd862c - main - archivers/p5-Archive-Libarchive: Add p5-Archive-Libarchive 0.08
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Oct 2022 17:12:22 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=63a3a5fd862c17114a3e464d6751f36e152c644a commit 63a3a5fd862c17114a3e464d6751f36e152c644a Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-10-03 16:56:33 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-10-03 17:10:12 +0000 archivers/p5-Archive-Libarchive: Add p5-Archive-Libarchive 0.08 Archive::Libarchive provides a Perl object-oriented interface to the libarchive library. The libarchive library is the API used to implemnt bsdtar, the default tar implementation on a number of operating systems, including FreeBSD, macOS and Windows. It can also be installed on most Linux distributions. But wait, there is more, libarchive supports a number of formats, compressors and filters transparently, so it can be a useful when used as a universal archiver/extractor. --- archivers/Makefile | 1 + archivers/p5-Archive-Libarchive/Makefile | 37 +++++++++++++++++++++++++++ archivers/p5-Archive-Libarchive/distinfo | 3 +++ archivers/p5-Archive-Libarchive/pkg-descr | 7 ++++++ archivers/p5-Archive-Libarchive/pkg-plist | 42 +++++++++++++++++++++++++++++++ 5 files changed, 90 insertions(+) diff --git a/archivers/Makefile b/archivers/Makefile index 4e7afc62a86a..868f258f152e 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -103,6 +103,7 @@ SUBDIR += p5-Archive-Any-Plugin-Rar SUBDIR += p5-Archive-Extract SUBDIR += p5-Archive-Extract-Libarchive + SUBDIR += p5-Archive-Libarchive SUBDIR += p5-Archive-Peek SUBDIR += p5-Archive-Rar SUBDIR += p5-Archive-SimpleExtractor diff --git a/archivers/p5-Archive-Libarchive/Makefile b/archivers/p5-Archive-Libarchive/Makefile new file mode 100644 index 000000000000..11a0f7cd26ea --- /dev/null +++ b/archivers/p5-Archive-Libarchive/Makefile @@ -0,0 +1,37 @@ +PORTNAME= Archive-Libarchive +PORTVERSION= 0.08 +CATEGORIES= archivers perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Modern Perl bindings to libarchive +WWW= https://metacpan.org/dist/Archive-Libarchive + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-FFI-C-Stat>=0:devel/p5-FFI-C-Stat \ + p5-FFI-CheckLib>=0.30:devel/p5-FFI-CheckLib \ + p5-FFI-Platypus>=1.38:devel/p5-FFI-Platypus \ + p5-FFI-Platypus-Type-Enum>=0.05:devel/p5-FFI-Platypus-Type-Enum \ + p5-FFI-Platypus-Type-PtrObject>=0:devel/p5-FFI-Platypus-Type-PtrObject \ + p5-Ref-Util>=0:devel/p5-Ref-Util +TEST_DEPENDS= p5-FFI-C>=0:devel/p5-FFI-C \ + p5-File-chdir>=0:devel/p5-File-chdir \ + p5-Path-Tiny>=0:devel/p5-Path-Tiny \ + p5-Sub-Identify>=0:devel/p5-Sub-Identify \ + p5-Term-Table>=0:devel/p5-Term-Table \ + p5-Test-Archive-Libarchive>=0:devel/p5-Test-Archive-Libarchive \ + p5-Test-Script>=1.09:devel/p5-Test-Script \ + p5-Test2-Suite>=0.000121:devel/p5-Test2-Suite \ + p5-Test2-Tools-MemoryCycle>=0:devel/p5-Test2-Tools-MemoryCycle + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/archivers/p5-Archive-Libarchive/distinfo b/archivers/p5-Archive-Libarchive/distinfo new file mode 100644 index 000000000000..ae6db911ecf4 --- /dev/null +++ b/archivers/p5-Archive-Libarchive/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1664767800 +SHA256 (Archive-Libarchive-0.08.tar.gz) = e8e342d54fd3d6e5e7e3160fe088c13a0a5033cffbe89481a1d2471d43720059 +SIZE (Archive-Libarchive-0.08.tar.gz) = 81280 diff --git a/archivers/p5-Archive-Libarchive/pkg-descr b/archivers/p5-Archive-Libarchive/pkg-descr new file mode 100644 index 000000000000..04e8038afde8 --- /dev/null +++ b/archivers/p5-Archive-Libarchive/pkg-descr @@ -0,0 +1,7 @@ +Archive::Libarchive provides a Perl object-oriented interface to the libarchive +library. The libarchive library is the API used to implemnt bsdtar, the default +tar implementation on a number of operating systems, including FreeBSD, macOS +and Windows. It can also be installed on most Linux distributions. But wait, +there is more, libarchive supports a number of formats, compressors and filters +transparently, so it can be a useful when used as a universal +archiver/extractor. diff --git a/archivers/p5-Archive-Libarchive/pkg-plist b/archivers/p5-Archive-Libarchive/pkg-plist new file mode 100644 index 000000000000..e0949945b52e --- /dev/null +++ b/archivers/p5-Archive-Libarchive/pkg-plist @@ -0,0 +1,42 @@ +%%SITE_PERL%%/Archive/Libarchive.pm +%%SITE_PERL%%/Archive/Libarchive/API.pm +%%SITE_PERL%%/Archive/Libarchive/Archive.pm +%%SITE_PERL%%/Archive/Libarchive/ArchiveRead.pm +%%SITE_PERL%%/Archive/Libarchive/ArchiveWrite.pm +%%SITE_PERL%%/Archive/Libarchive/DiskRead.pm +%%SITE_PERL%%/Archive/Libarchive/DiskWrite.pm +%%SITE_PERL%%/Archive/Libarchive/Entry.pm +%%SITE_PERL%%/Archive/Libarchive/EntryLinkResolver.pm +%%SITE_PERL%%/Archive/Libarchive/Lib.pm +%%SITE_PERL%%/Archive/Libarchive/Lib/Archive.pm +%%SITE_PERL%%/Archive/Libarchive/Lib/ArchiveRead.pm +%%SITE_PERL%%/Archive/Libarchive/Lib/ArchiveWrite.pm +%%SITE_PERL%%/Archive/Libarchive/Lib/Constants.pm +%%SITE_PERL%%/Archive/Libarchive/Lib/DiskRead.pm +%%SITE_PERL%%/Archive/Libarchive/Lib/DiskWrite.pm +%%SITE_PERL%%/Archive/Libarchive/Lib/Entry.pm +%%SITE_PERL%%/Archive/Libarchive/Lib/EntryLinkResolver.pm +%%SITE_PERL%%/Archive/Libarchive/Lib/Match.pm +%%SITE_PERL%%/Archive/Libarchive/Lib/Unbound.pm +%%SITE_PERL%%/Archive/Libarchive/Match.pm +%%PERL5_MAN3%%/Archive::Libarchive.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::API.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::Archive.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::ArchiveRead.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::ArchiveWrite.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::DiskRead.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::DiskWrite.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::Entry.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::EntryLinkResolver.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::Lib.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::Lib::Archive.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::Lib::ArchiveRead.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::Lib::ArchiveWrite.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::Lib::Constants.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::Lib::DiskRead.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::Lib::DiskWrite.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::Lib::Entry.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::Lib::EntryLinkResolver.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::Lib::Match.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::Lib::Unbound.3.gz +%%PERL5_MAN3%%/Archive::Libarchive::Match.3.gz