aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2019-08-30 14:31:27 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2019-08-30 14:31:27 +0000
commit5adebf729b238d640da25755d18da7302864b572 (patch)
treec7ab8ee5e301b09c671a85e89d0fd49231fd0865 /archivers
parent2c3c50600ebd47765986461d5fb169e1872cddbc (diff)
downloadports-5adebf729b238d640da25755d18da7302864b572.tar.gz
ports-5adebf729b238d640da25755d18da7302864b572.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/p5-IO-Compress-Brotli/Makefile21
-rw-r--r--archivers/p5-IO-Compress-Brotli/distinfo3
-rw-r--r--archivers/p5-IO-Compress-Brotli/files/patch-bin_bro-perl11
-rw-r--r--archivers/p5-IO-Compress-Brotli/pkg-descr4
-rw-r--r--archivers/p5-IO-Compress-Brotli/pkg-plist6
6 files changed, 46 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index 0cbaa41169fc..fa3ab0b91015 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -116,6 +116,7 @@
SUBDIR += p5-Compress-Snappy
SUBDIR += p5-Gzip-Faster
SUBDIR += p5-IO-Compress
+ SUBDIR += p5-IO-Compress-Brotli
SUBDIR += p5-IO-Compress-Lzf
SUBDIR += p5-IO-Compress-Lzma
SUBDIR += p5-IO-Compress-Lzop
diff --git a/archivers/p5-IO-Compress-Brotli/Makefile b/archivers/p5-IO-Compress-Brotli/Makefile
new file mode 100644
index 000000000000..ca86764a7819
--- /dev/null
+++ b/archivers/p5-IO-Compress-Brotli/Makefile
@@ -0,0 +1,21 @@
+# Created by: Ryan Steinmetz <zi@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= IO-Compress-Brotli
+PORTVERSION= 0.004001
+CATEGORIES= archivers perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Perl implementation of Brotli
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-File-Slurper>0:devel/p5-File-Slurper
+
+USES= gmake perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/archivers/p5-IO-Compress-Brotli/distinfo b/archivers/p5-IO-Compress-Brotli/distinfo
new file mode 100644
index 000000000000..6413b58bd64a
--- /dev/null
+++ b/archivers/p5-IO-Compress-Brotli/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1567172299
+SHA256 (IO-Compress-Brotli-0.004001.tar.gz) = 8ba5c0167e966f487bde159c18bc1b3486528013b3235d39f2fcb375ca4bf410
+SIZE (IO-Compress-Brotli-0.004001.tar.gz) = 7674244
diff --git a/archivers/p5-IO-Compress-Brotli/files/patch-bin_bro-perl b/archivers/p5-IO-Compress-Brotli/files/patch-bin_bro-perl
new file mode 100644
index 000000000000..250b9887547d
--- /dev/null
+++ b/archivers/p5-IO-Compress-Brotli/files/patch-bin_bro-perl
@@ -0,0 +1,11 @@
+--- bin/bro-perl.orig 2019-08-30 14:23:52 UTC
++++ bin/bro-perl
+@@ -21,7 +21,7 @@ GetOptions(
+ 'o|output=s' => \(my $OUTPUT),
+ 'q|quality=i' => \(my $QUALITY = 11),
+ 'r|repeat=i' => \(my $REPEAT = 1),
+- 's|stream=i' => \(my $STREAM),
++ 's|stream=i' => \(my $STREAM = 8),
+ 'v|verbose' => \(my $VERBOSE),
+ 'w|window=i' => \(my $WINDOW = 22),
+ );
diff --git a/archivers/p5-IO-Compress-Brotli/pkg-descr b/archivers/p5-IO-Compress-Brotli/pkg-descr
new file mode 100644
index 000000000000..77e5ad6f9fef
--- /dev/null
+++ b/archivers/p5-IO-Compress-Brotli/pkg-descr
@@ -0,0 +1,4 @@
+IO::Compress::Brotli is a module that compresses/decompresses Brotli buffers
+and streams.
+
+WWW: https://metacpan.org/release/IO-Compress-Brotli
diff --git a/archivers/p5-IO-Compress-Brotli/pkg-plist b/archivers/p5-IO-Compress-Brotli/pkg-plist
new file mode 100644
index 000000000000..69d9cd735fba
--- /dev/null
+++ b/archivers/p5-IO-Compress-Brotli/pkg-plist
@@ -0,0 +1,6 @@
+bin/bro-perl
+%%SITE_ARCH%%/IO/Compress/Brotli.pm
+%%SITE_ARCH%%/IO/Uncompress/Brotli.pm
+%%SITE_ARCH%%/auto/IO/Compress/Brotli/Brotli.so
+%%PERL5_MAN3%%/IO::Compress::Brotli.3.gz
+%%PERL5_MAN3%%/IO::Uncompress::Brotli.3.gz