From ccc94daf04cafe732bd7342d1e2f39d5ac6e578d Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Tue, 22 Dec 2015 17:11:40 +0000 Subject: [PATCH] - Add snzip 1.0.2 - While I'm here: - Add LICENSE_FILE - Add OPTIONS_DEFINE Snzip is one of command line tools using snappy. This supports five types of file formats: framing-format, old framing-format, SNZ format, snappy-java format and snappy-in-java format. The default format is framing-format. WWW: https://github.com/kubo/snzip PR: 205511 Submitted by: --- archivers/Makefile | 1 + archivers/snzip/Makefile | 27 +++++++++++++++++++++++++++ archivers/snzip/distinfo | 2 ++ archivers/snzip/pkg-descr | 10 ++++++++++ 4 files changed, 40 insertions(+) create mode 100644 archivers/snzip/Makefile create mode 100644 archivers/snzip/distinfo create mode 100644 archivers/snzip/pkg-descr diff --git a/archivers/Makefile b/archivers/Makefile index ba46a111cf4d..a7bcd7feb74e 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -189,6 +189,7 @@ SUBDIR += sharutils SUBDIR += snappy SUBDIR += snappy-java + SUBDIR += snzip SUBDIR += squeeze SUBDIR += squsq SUBDIR += stuffit diff --git a/archivers/snzip/Makefile b/archivers/snzip/Makefile new file mode 100644 index 000000000000..2f35cf04771c --- /dev/null +++ b/archivers/snzip/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +PORTNAME= snzip +PORTVERSION= 1.0.2 +CATEGORIES= archivers + +MAINTAINER= mizhka@gmail.com +COMMENT= Compression/decompression tool based on snappy library + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libsnappy.so:${PORTSDIR}/archivers/snappy + +OPTIONS_DEFINE= DOCS + +USE_GITHUB= yes +GH_ACCOUNT= kubo + +USES= autoreconf +CONFIGURE_ARGS= --with-snappy=${LOCALBASE} +GNU_CONFIGURE= yes + +PLIST_FILES= bin/snzip +PORTDOCS= * + +.include diff --git a/archivers/snzip/distinfo b/archivers/snzip/distinfo new file mode 100644 index 000000000000..2e90c3272151 --- /dev/null +++ b/archivers/snzip/distinfo @@ -0,0 +1,2 @@ +SHA256 (kubo-snzip-1.0.2_GH0.tar.gz) = ec2763e15ca42455a32a53c8eefb92d7a4b8ea2f518a6e04c0f11f86c4924847 +SIZE (kubo-snzip-1.0.2_GH0.tar.gz) = 1754963 diff --git a/archivers/snzip/pkg-descr b/archivers/snzip/pkg-descr new file mode 100644 index 000000000000..5c2fd93637c8 --- /dev/null +++ b/archivers/snzip/pkg-descr @@ -0,0 +1,10 @@ +Snzip is one of command line tools using snappy. This supports five types of +file formats: + framing-format, + old framing-format, + SNZ format, + snappy-java format + and snappy-in-java format. +The default format is framing-format. + +WWW: https://github.com/kubo/snzip