aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorbrnrd <brnrd@FreeBSD.org>2017-07-13 03:44:56 +0800
committerbrnrd <brnrd@FreeBSD.org>2017-07-13 03:44:56 +0800
commitfbf424e67fec98e4affddb9790a5ea0ab05801b0 (patch)
treeb828c9924faf3933a09c8c77d59be38037ce3e01 /archivers
parentfad1eba08eaf72ac0731989eb7f598d7552779d8 (diff)
downloadfreebsd-ports-gnome-fbf424e67fec98e4affddb9790a5ea0ab05801b0.tar.gz
freebsd-ports-gnome-fbf424e67fec98e4affddb9790a5ea0ab05801b0.tar.zst
freebsd-ports-gnome-fbf424e67fec98e4affddb9790a5ea0ab05801b0.zip
archivers/brotli: Move and update to 0.6.0
- Move from devel/libbrotli to archivers/brotli - Remove meta-project for library build - Bump epoch for meta 1.0 to upstream 0.6 update - Add MOVED entry - Switch from autoconf to cmake PR: 218813, 218851 Submitted by: Markus Kohlmeyer <rootservice@gmail.com> Approved by: maintainer time-out Differential Revision: https://reviews.freebsd.org/D11290
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/brotli/Makefile28
-rw-r--r--archivers/brotli/distinfo3
-rw-r--r--archivers/brotli/pkg-descr9
-rw-r--r--archivers/brotli/pkg-plist17
5 files changed, 58 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index afb7f40999e1..380077caac4b 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -11,6 +11,7 @@
SUBDIR += ark
SUBDIR += atool
SUBDIR += bicom
+ SUBDIR += brotli
SUBDIR += bzip
SUBDIR += bzip2
SUBDIR += cabextract
diff --git a/archivers/brotli/Makefile b/archivers/brotli/Makefile
new file mode 100644
index 000000000000..404f2f3837b8
--- /dev/null
+++ b/archivers/brotli/Makefile
@@ -0,0 +1,28 @@
+# Created by: Sergey A. Osokin <osa@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= brotli
+PORTVERSION= 0.6.0
+DISTVERSIONPREFIX= v
+PORTEPOCH= 1
+CATEGORIES= archivers devel
+
+MAINTAINER= osa@FreeBSD.org
+COMMENT= Generic-purpose lossless compression algorithm
+
+LICENSE= MIT
+
+USE_GITHUB= yes
+GH_ACCOUNT= google
+
+USES= cmake compiler:c++0x pkgconfig
+USE_LDCONFIG= yes
+
+CMAKE_ARGS= -DBUILD_TESTING:BOOL=OFF
+
+post-install:
+ @${LN} -s libbrotlicommon.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libbrotlicommon.so.0
+ @${LN} -s libbrotlidec.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libbrotlidec.so.0
+ @${LN} -s libbrotlienc.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libbrotlienc.so.0
+
+.include <bsd.port.mk>
diff --git a/archivers/brotli/distinfo b/archivers/brotli/distinfo
new file mode 100644
index 000000000000..00fc327fa797
--- /dev/null
+++ b/archivers/brotli/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1498054439
+SHA256 (google-brotli-v0.6.0_GH0.tar.gz) = 69cdbdf5709051dd086a2f020f5abf9e32519eafe0ad6be820c667c3a9c9ee0f
+SIZE (google-brotli-v0.6.0_GH0.tar.gz) = 19838761
diff --git a/archivers/brotli/pkg-descr b/archivers/brotli/pkg-descr
new file mode 100644
index 000000000000..145094866fe5
--- /dev/null
+++ b/archivers/brotli/pkg-descr
@@ -0,0 +1,9 @@
+Brotli is a generic-purpose lossless compression algorithm that compresses data
+using a combination of a modern variant of the LZ77 algorithm, Huffman coding
+and 2nd order context modeling, with a compression ratio comparable to the best
+currently available general-purpose compression methods. It is similar in speed
+with deflate but offers more dense compression.
+
+The specification of the Brotli Compressed Data Format is defined in RFC 7932.
+
+WWW: https://github.com/google/brotli
diff --git a/archivers/brotli/pkg-plist b/archivers/brotli/pkg-plist
new file mode 100644
index 000000000000..383f6df505b2
--- /dev/null
+++ b/archivers/brotli/pkg-plist
@@ -0,0 +1,17 @@
+bin/bro
+include/brotli/decode.h
+include/brotli/encode.h
+include/brotli/port.h
+include/brotli/types.h
+lib/libbrotlicommon.so
+lib/libbrotlicommon.so.0
+lib/libbrotlicommon.so.0.6.0
+lib/libbrotlidec.so
+lib/libbrotlidec.so.0
+lib/libbrotlidec.so.0.6.0
+lib/libbrotlienc.so
+lib/libbrotlienc.so.0
+lib/libbrotlienc.so.0.6.0
+libdata/pkgconfig/libbrotlicommon.pc
+libdata/pkgconfig/libbrotlidec.pc
+libdata/pkgconfig/libbrotlienc.pc