aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2015-10-26 17:29:28 +0800
committerdanfe <danfe@FreeBSD.org>2015-10-26 17:29:28 +0800
commitb65683835e3a8d680388eeedfc5781ccac136f80 (patch)
tree01cab893900283c7f390c5bbf8cf58727d5a7d9c
parent4251b48d610d00e9fd3a8b6abf84421d75956a15 (diff)
downloadfreebsd-ports-gnome-b65683835e3a8d680388eeedfc5781ccac136f80.tar.gz
freebsd-ports-gnome-b65683835e3a8d680388eeedfc5781ccac136f80.tar.zst
freebsd-ports-gnome-b65683835e3a8d680388eeedfc5781ccac136f80.zip
Add a port of wandio, a library written in C that provides an API for
transparent reading and writing of files using a variety of supported compression methods and transports. PR: 203805 (modified) Submitted by: Alistair King
-rw-r--r--devel/Makefile1
-rw-r--r--devel/wandio/Makefile41
-rw-r--r--devel/wandio/distinfo2
-rw-r--r--devel/wandio/pkg-descr10
-rw-r--r--devel/wandio/pkg-plist6
5 files changed, 60 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index c34e478dd5f4..2bf52049178f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5216,6 +5216,7 @@
SUBDIR += vtcl
SUBDIR += vxlog
SUBDIR += wand-libconfig
+ SUBDIR += wandio
SUBDIR += websocketpp
SUBDIR += websvn
SUBDIR += wininfo
diff --git a/devel/wandio/Makefile b/devel/wandio/Makefile
new file mode 100644
index 000000000000..ced23aee97d5
--- /dev/null
+++ b/devel/wandio/Makefile
@@ -0,0 +1,41 @@
+# Created by: Alistair King <alistair@caida.org>
+# $FreeBSD$
+
+PORTNAME= wandio
+PORTVERSION= 1.0.3
+CATEGORIES= devel
+MASTER_SITES= http://research.wand.net.nz/software/wandio/
+
+MAINTAINER= alistair@caida.org
+COMMENT= C library for compressed file I/O
+
+LICENSE= GPLv2
+
+USES= libtool
+CONFIGURE_ARGS= --disable-silent-rules
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+INSTALL_TARGET= install-strip
+
+OPTIONS_DEFINE= ZLIB BZIP2 LZO LZMA HTTP
+OPTIONS_DEFAULT= ZLIB BZIP2 LZMA HTTP
+
+ZLIB_DESC= Read/write support for ZLIB (gz) compressed files
+BZIP2_DESC= Read/write support for BZIP2 (bz2) compressed files
+LZO_DESC= Write support for LZO compressed files
+LZMA_DESC= Read/write support for LZMA compressed files
+HTTP_DESC= Support for reading files over HTTP
+
+ZLIB_CONFIGURE_WITH= zlib
+BZIP2_CONFIGURE_WITH= bzip2
+LZO_CONFIGURE_WITH= lzo
+LZO_LIB_DEPENDS= liblzo2.so:${PORTSDIR}/archivers/lzo2
+LZMA_CONFIGURE_WITH= lzma
+HTTP_CONFIGURE_WITH= http
+HTTP_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
+
+.include <bsd.port.mk>
diff --git a/devel/wandio/distinfo b/devel/wandio/distinfo
new file mode 100644
index 000000000000..c5a0c41cce9e
--- /dev/null
+++ b/devel/wandio/distinfo
@@ -0,0 +1,2 @@
+SHA256 (wandio-1.0.3.tar.gz) = 31dcc1402ace3023020446d6c7284fd84447f9b36e570206a179895e1eaa705b
+SIZE (wandio-1.0.3.tar.gz) = 373723
diff --git a/devel/wandio/pkg-descr b/devel/wandio/pkg-descr
new file mode 100644
index 000000000000..2f41597aea8b
--- /dev/null
+++ b/devel/wandio/pkg-descr
@@ -0,0 +1,10 @@
+Libwandio is a software library written in C that provides an API for
+transparent reading and writing of files using a variety of supported
+compression methods. Provided pthreads are available, I/O performance
+will be improved by doing any compression and/or decompression using a
+separate thread.
+
+Libwandio supports the popular compression methods (zlib, bzip2, LZMA,
+write-only LZO) and HTTP transport (read-only).
+
+WWW: http://research.wand.net.nz/software/libwandio.php
diff --git a/devel/wandio/pkg-plist b/devel/wandio/pkg-plist
new file mode 100644
index 000000000000..c90571d725dc
--- /dev/null
+++ b/devel/wandio/pkg-plist
@@ -0,0 +1,6 @@
+bin/wandiocat
+include/wandio.h
+lib/libwandio.a
+lib/libwandio.so
+lib/libwandio.so.1
+lib/libwandio.so.1.0.3