svn commit: r398287 - in head/archivers: . brotli

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Oct 1 15:55:08 UTC 2015


Author: sunpoet
Date: Thu Oct  1 15:55:06 2015
New Revision: 398287
URL: https://svnweb.freebsd.org/changeset/ports/398287

Log:
  - Add brotli 0.2.0
  
  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 the
  following internet draft: http://www.ietf.org/id/draft-alakuijala-brotli
  
  WWW: https://github.com/google/brotli

Added:
  head/archivers/brotli/
  head/archivers/brotli/Makefile   (contents, props changed)
  head/archivers/brotli/distinfo   (contents, props changed)
  head/archivers/brotli/pkg-descr   (contents, props changed)
Modified:
  head/archivers/Makefile

Modified: head/archivers/Makefile
==============================================================================
--- head/archivers/Makefile	Thu Oct  1 15:50:25 2015	(r398286)
+++ head/archivers/Makefile	Thu Oct  1 15:55:06 2015	(r398287)
@@ -11,6 +11,7 @@
     SUBDIR += ark
     SUBDIR += atool
     SUBDIR += bicom
+    SUBDIR += brotli
     SUBDIR += bzip
     SUBDIR += bzip2
     SUBDIR += cabextract

Added: head/archivers/brotli/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/brotli/Makefile	Thu Oct  1 15:55:06 2015	(r398287)
@@ -0,0 +1,28 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	brotli
+PORTVERSION=	0.2.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	archivers
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	Generic-purpose lossless compression algorithm
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USE_CXXSTD=	c++0x
+USE_PYTHON=	autoplist distutils
+USES=		compiler:c++0x python
+
+PLIST_FILES=	bin/brotli
+
+GH_ACCOUNT=	google
+USE_GITHUB=	yes
+
+post-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/python/bro.py ${STAGEDIR}${PREFIX}/bin/brotli
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/brotli.so
+
+.include <bsd.port.mk>

Added: head/archivers/brotli/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/brotli/distinfo	Thu Oct  1 15:55:06 2015	(r398287)
@@ -0,0 +1,2 @@
+SHA256 (google-brotli-v0.2.0_GH0.tar.gz) = 634d1089ee21b35e0ec5066cb5e44dd097e04e679e1e8c50bffa2b0dc77c2c29
+SIZE (google-brotli-v0.2.0_GH0.tar.gz) = 7839880

Added: head/archivers/brotli/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/brotli/pkg-descr	Thu Oct  1 15:55:06 2015	(r398287)
@@ -0,0 +1,10 @@
+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 the
+following internet draft: http://www.ietf.org/id/draft-alakuijala-brotli
+
+WWW: https://github.com/google/brotli


More information about the svn-ports-all mailing list