aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2015-12-24 20:25:31 +0800
committervanilla <vanilla@FreeBSD.org>2015-12-24 20:25:31 +0800
commitf0f77c0a8969e19816132b088d4ae676cfb728c9 (patch)
tree2648df439457c3e67b371bec750ec572de6edc61 /devel
parentb47bdbf95c681d29a79faf8ad790a3f4c9069399 (diff)
downloadfreebsd-ports-gnome-f0f77c0a8969e19816132b088d4ae676cfb728c9.tar.gz
freebsd-ports-gnome-f0f77c0a8969e19816132b088d4ae676cfb728c9.tar.zst
freebsd-ports-gnome-f0f77c0a8969e19816132b088d4ae676cfb728c9.zip
Add flatbuffers 1.2.0, memory efficient serialization library.
PR: 205509 Submitted by: Yuri Victorovich <yuri@rawbw.com>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/flatbuffers/Makefile21
-rw-r--r--devel/flatbuffers/distinfo2
-rw-r--r--devel/flatbuffers/pkg-descr3
-rw-r--r--devel/flatbuffers/pkg-plist8
5 files changed, 35 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index d89d9e84a37b..6aa9da84a1b7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -519,6 +519,7 @@
SUBDIR += fib
SUBDIR += firmware-utils
SUBDIR += fistgen
+ SUBDIR += flatbuffers
SUBDIR += flatzebra
SUBDIR += flex-sdk
SUBDIR += flex-sdk35
diff --git a/devel/flatbuffers/Makefile b/devel/flatbuffers/Makefile
new file mode 100644
index 000000000000..0408b84f5dd9
--- /dev/null
+++ b/devel/flatbuffers/Makefile
@@ -0,0 +1,21 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $FreeBSD$
+
+PORTNAME= flatbuffers
+PORTVERSION= 1.2.0
+DISTVERSIONPREFIX= v
+CATEGORIES= devel
+
+MAINTAINER= yuri@rawbw.com
+COMMENT= Memory efficient serialization library
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USE_GITHUB= yes
+GH_ACCOUNT= google
+
+USES= cmake
+USE_LDCONFIG= yes
+
+.include <bsd.port.mk>
diff --git a/devel/flatbuffers/distinfo b/devel/flatbuffers/distinfo
new file mode 100644
index 000000000000..de4b9af72dff
--- /dev/null
+++ b/devel/flatbuffers/distinfo
@@ -0,0 +1,2 @@
+SHA256 (google-flatbuffers-v1.2.0_GH0.tar.gz) = a6cacab3cbcc99e2308d8aa328bff060ba19061ce6eb23be85eccb63fb3446b5
+SIZE (google-flatbuffers-v1.2.0_GH0.tar.gz) = 391737
diff --git a/devel/flatbuffers/pkg-descr b/devel/flatbuffers/pkg-descr
new file mode 100644
index 000000000000..3964e8ac4b65
--- /dev/null
+++ b/devel/flatbuffers/pkg-descr
@@ -0,0 +1,3 @@
+Memory efficient serialization library.
+
+WWW: http://google.github.io/flatbuffers/
diff --git a/devel/flatbuffers/pkg-plist b/devel/flatbuffers/pkg-plist
new file mode 100644
index 000000000000..200e7542defe
--- /dev/null
+++ b/devel/flatbuffers/pkg-plist
@@ -0,0 +1,8 @@
+bin/flatc
+include/flatbuffers/flatbuffers.h
+include/flatbuffers/hash.h
+include/flatbuffers/idl.h
+include/flatbuffers/reflection.h
+include/flatbuffers/reflection_generated.h
+include/flatbuffers/util.h
+lib/libflatbuffers.a