[Midnightbsd-cvs] mports [24676] trunk/archivers: add brotli
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Nov 22 15:41:12 EST 2018
Revision: 24676
http://svnweb.midnightbsd.org/mports/?rev=24676
Author: laffer1
Date: 2018-11-22 15:41:11 -0500 (Thu, 22 Nov 2018)
Log Message:
-----------
add brotli
Modified Paths:
--------------
trunk/archivers/Makefile
Added Paths:
-----------
trunk/archivers/brotli/
trunk/archivers/brotli/Makefile
trunk/archivers/brotli/distinfo
trunk/archivers/brotli/files/
trunk/archivers/brotli/files/patch-bootstrap
trunk/archivers/brotli/pkg-descr
trunk/archivers/brotli/pkg-plist
Modified: trunk/archivers/Makefile
===================================================================
--- trunk/archivers/Makefile 2018-11-22 20:34:01 UTC (rev 24675)
+++ trunk/archivers/Makefile 2018-11-22 20:41:11 UTC (rev 24676)
@@ -4,6 +4,7 @@
SUBDIR += arc
SUBDIR += arj
+SUBDIR += brotli
SUBDIR += bzip2
SUBDIR += cabextract
SUBDIR += fastjar
Added: trunk/archivers/brotli/Makefile
===================================================================
--- trunk/archivers/brotli/Makefile (rev 0)
+++ trunk/archivers/brotli/Makefile 2018-11-22 20:41:11 UTC (rev 24676)
@@ -0,0 +1,34 @@
+# $MidnightBSD$
+
+PORTNAME= brotli
+PORTVERSION= 1.0.6
+DISTVERSIONPREFIX= v
+PORTEPOCH= 1
+CATEGORIES= archivers devel
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Generic-purpose lossless compression algorithm
+
+LICENSE= mit
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= google
+
+USES= autoreconf:build compiler:c++0x gmake libtool pkgconfig
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+
+INSTALL_TARGET= install-strip
+PLIST_SUB= SHLIBVER=${PORTVERSION}
+
+OPTIONS_DEFINE= DOCS
+
+pre-configure:
+ (cd ${WRKSRC} && ./bootstrap)
+
+post-install:
+ ${MKDIR} ${PREFIX}/libdata/pkgconfig/
+ ${CP} ${PREFIX}/lib/pkgconfig/*.pc ${PREFIX}/libdata/pkgconfig/
+
+.include <bsd.port.mk>
Property changes on: trunk/archivers/brotli/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/brotli/distinfo
===================================================================
--- trunk/archivers/brotli/distinfo (rev 0)
+++ trunk/archivers/brotli/distinfo 2018-11-22 20:41:11 UTC (rev 24676)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1542919018
+SHA256 (brotli-v1.0.6_GH0.tar.gz) = ce94b7f48af5e8f444c3949ca93201c1b4bb40da633db084e900133ce87848db
+SIZE (brotli-v1.0.6_GH0.tar.gz) = 23827656
Property changes on: trunk/archivers/brotli/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/brotli/files/patch-bootstrap
===================================================================
--- trunk/archivers/brotli/files/patch-bootstrap (rev 0)
+++ trunk/archivers/brotli/files/patch-bootstrap 2018-11-22 20:41:11 UTC (rev 24676)
@@ -0,0 +1,11 @@
+--- bootstrap.orig 2018-11-22 15:37:46.993285000 -0500
++++ bootstrap 2018-11-22 15:37:55.140026000 -0500
+@@ -2,7 +2,7 @@
+
+ REQUIRED='is required, but not installed.'
+ bc -v >/dev/null 2>&1 || { echo >&2 "'bc' $REQUIRED"; exit 1; }
+-if [ `uname -s` != "FreeBSD" ]; then
++if [ `uname -s` != "MidnightBSD" ]; then
+ sed --version >/dev/null 2>&1 || { echo >&2 "'sed' $REQUIRED"; exit 1; }
+ fi
+ autoreconf --version >/dev/null 2>&1 || { echo >&2 "'autoconf' $REQUIRED"; exit 1; }
Property changes on: trunk/archivers/brotli/files/patch-bootstrap
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/brotli/pkg-descr
===================================================================
--- trunk/archivers/brotli/pkg-descr (rev 0)
+++ trunk/archivers/brotli/pkg-descr 2018-11-22 20:41:11 UTC (rev 24676)
@@ -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
Property changes on: trunk/archivers/brotli/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/brotli/pkg-plist
===================================================================
--- trunk/archivers/brotli/pkg-plist (rev 0)
+++ trunk/archivers/brotli/pkg-plist 2018-11-22 20:41:11 UTC (rev 24676)
@@ -0,0 +1,21 @@
+bin/brotli
+include/brotli/decode.h
+include/brotli/encode.h
+include/brotli/port.h
+include/brotli/types.h
+lib/libbrotlicommon.a
+lib/libbrotlicommon.so
+lib/libbrotlicommon.so.1
+lib/libbrotlicommon.so.%%SHLIBVER%%
+lib/libbrotlidec.a
+lib/libbrotlidec.so
+lib/libbrotlidec.so.1
+lib/libbrotlidec.so.%%SHLIBVER%%
+lib/libbrotlienc.a
+lib/libbrotlienc.so
+lib/libbrotlienc.so.1
+lib/libbrotlienc.so.%%SHLIBVER%%
+libdata/pkgconfig/libbrotlicommon.pc
+libdata/pkgconfig/libbrotlidec.pc
+libdata/pkgconfig/libbrotlienc.pc
+%%PORTDOCS%%%%DOCSDIR%%/README
Property changes on: trunk/archivers/brotli/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list