aboutsummaryrefslogtreecommitdiffstats
path: root/databases/tarantool-c
diff options
context:
space:
mode:
authorvg <vg@FreeBSD.org>2015-08-23 06:17:18 +0800
committervg <vg@FreeBSD.org>2015-08-23 06:17:18 +0800
commit48dfbe985c0e9d7febdd6dcebd7bf527b919609d (patch)
tree320a2b3a3aa01812731d42baff9a6ed78242456a /databases/tarantool-c
parent5562238f22c651e793cfb7e59ec09e3ad0bf24c6 (diff)
downloadfreebsd-ports-gnome-48dfbe985c0e9d7febdd6dcebd7bf527b919609d.tar.gz
freebsd-ports-gnome-48dfbe985c0e9d7febdd6dcebd7bf527b919609d.tar.zst
freebsd-ports-gnome-48dfbe985c0e9d7febdd6dcebd7bf527b919609d.zip
New port: databases/tarantool-c
Tarantool-c is a client library written in C for Tarantool. WWW: https://github.com/tarantool/tarantool-c
Diffstat (limited to 'databases/tarantool-c')
-rw-r--r--databases/tarantool-c/Makefile20
-rw-r--r--databases/tarantool-c/distinfo2
-rw-r--r--databases/tarantool-c/files/patch-cmake_FindMsgPuck.cmake10
-rw-r--r--databases/tarantool-c/pkg-descr3
-rw-r--r--databases/tarantool-c/pkg-plist29
5 files changed, 64 insertions, 0 deletions
diff --git a/databases/tarantool-c/Makefile b/databases/tarantool-c/Makefile
new file mode 100644
index 000000000000..ec184c272377
--- /dev/null
+++ b/databases/tarantool-c/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= tarantool-c
+PORTVERSION= 1.0.0
+CATEGORIES= databases
+
+MAINTAINER= vg@FreeBSD.org
+COMMENT= C client for Tarantool 1.6+
+
+LIB_DEPENDS= libmsgpuck.so:${PORTSDIR}/devel/msgpuck
+
+USE_GITHUB= yes
+GH_PROJECT= ${PORTNAME}
+GH_ACCOUNT= tarantool
+GH_TAGNAME= 8704f4a
+
+USES= cmake
+CMAKE_ARGS= -DENABLE_BUNDLED_MSGPUCK=false
+
+.include <bsd.port.mk>
diff --git a/databases/tarantool-c/distinfo b/databases/tarantool-c/distinfo
new file mode 100644
index 000000000000..521011495c77
--- /dev/null
+++ b/databases/tarantool-c/distinfo
@@ -0,0 +1,2 @@
+SHA256 (tarantool-tarantool-c-1.0.0-8704f4a_GH0.tar.gz) = 0501c609cd0525d9d56140f345d5445f7982270971af0566b42dd59cb2bc5eee
+SIZE (tarantool-tarantool-c-1.0.0-8704f4a_GH0.tar.gz) = 111487
diff --git a/databases/tarantool-c/files/patch-cmake_FindMsgPuck.cmake b/databases/tarantool-c/files/patch-cmake_FindMsgPuck.cmake
new file mode 100644
index 000000000000..27ee193808b4
--- /dev/null
+++ b/databases/tarantool-c/files/patch-cmake_FindMsgPuck.cmake
@@ -0,0 +1,10 @@
+--- cmake/FindMsgPuck.cmake.orig 2015-08-21 21:12:03 UTC
++++ cmake/FindMsgPuck.cmake
+@@ -9,6 +9,7 @@ endif (MSGPUCK_INCLUDE_DIR)
+ if (MSGPUCK_INCLUDE_DIR)
+ if (NOT MSGPUCK_FIND_QUIETLY)
+ message(STATUS "Found msgpuck includes: ${MSGPUCK_INCLUDE_DIR}/msgpuck/msgpuck.h")
++ include_directories(${MSGPUCK_INCLUDE_DIR})
+ endif (NOT MSGPUCK_FIND_QUIETLY)
+ else (MSGPUCK_INCLUDE_DIR)
+ if (MSGPUCK_REQUIRED)
diff --git a/databases/tarantool-c/pkg-descr b/databases/tarantool-c/pkg-descr
new file mode 100644
index 000000000000..1a5f6b1b6a16
--- /dev/null
+++ b/databases/tarantool-c/pkg-descr
@@ -0,0 +1,3 @@
+Tarantool-c is a client library written in C for Tarantool.
+
+WWW: https://github.com/tarantool/tarantool-c
diff --git a/databases/tarantool-c/pkg-plist b/databases/tarantool-c/pkg-plist
new file mode 100644
index 000000000000..a4decda3388d
--- /dev/null
+++ b/databases/tarantool-c/pkg-plist
@@ -0,0 +1,29 @@
+include/tarantool/tarantool.h
+include/tarantool/tnt_auth.h
+include/tarantool/tnt_buf.h
+include/tarantool/tnt_call.h
+include/tarantool/tnt_delete.h
+include/tarantool/tnt_insert.h
+include/tarantool/tnt_io.h
+include/tarantool/tnt_iob.h
+include/tarantool/tnt_iter.h
+include/tarantool/tnt_mem.h
+include/tarantool/tnt_net.h
+include/tarantool/tnt_object.h
+include/tarantool/tnt_opt.h
+include/tarantool/tnt_ping.h
+include/tarantool/tnt_proto.h
+include/tarantool/tnt_reply.h
+include/tarantool/tnt_request.h
+include/tarantool/tnt_schema.h
+include/tarantool/tnt_select.h
+include/tarantool/tnt_stream.h
+include/tarantool/tnt_update.h
+lib/libtarantool.a
+lib/libtarantool.so
+lib/libtarantool.so.1.0
+lib/libtarantool.so.1.0.0
+lib/libtarantoolnet.a
+lib/libtarantoolnet.so
+lib/libtarantoolnet.so.1.0
+lib/libtarantoolnet.so.1.0.0