svn commit: r399239 - in head/databases: . gomdb
Kurt Jaeger
pi at FreeBSD.org
Wed Oct 14 05:44:51 UTC 2015
Author: pi
Date: Wed Oct 14 05:44:49 2015
New Revision: 399239
URL: https://svnweb.freebsd.org/changeset/ports/399239
Log:
New port: databases/gomdb
Go wrapper for OpenLDAP Lightning Memory-Mapped Database, LMDB.
WWW: https://github.com/szferi/gomdb
PR: 194946
Submitted by: cheffo at freebsd-bg.org
Added:
head/databases/gomdb/
head/databases/gomdb/Makefile (contents, props changed)
head/databases/gomdb/distinfo (contents, props changed)
head/databases/gomdb/pkg-descr (contents, props changed)
head/databases/gomdb/pkg-plist (contents, props changed)
Modified:
head/databases/Makefile
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Wed Oct 14 03:46:52 2015 (r399238)
+++ head/databases/Makefile Wed Oct 14 05:44:49 2015 (r399239)
@@ -93,6 +93,7 @@
SUBDIR += gnats4
SUBDIR += gnatsweb4
SUBDIR += godis
+ SUBDIR += gomdb
SUBDIR += gosqlite3
SUBDIR += gqlplus
SUBDIR += grass
Added: head/databases/gomdb/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/gomdb/Makefile Wed Oct 14 05:44:49 2015 (r399239)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME= gomdb
+PORTVERSION= 20140824
+CATEGORIES= databases
+
+MAINTAINER= cheffo at freebsd-bg.org
+COMMENT= Go wrapper for LMDB - OpenLDAP Lightning Memory-Mapped Database
+
+LICENSE= BSD3CLAUSE
+
+BUILD_DEPENDS= go:${PORTSDIR}/lang/go
+
+ONLY_FOR_ARCHS= i386 amd64
+
+USES= compiler
+
+USE_GITHUB= yes
+GH_ACCOUNT= szferi
+GH_PROJECT= gomdb
+GH_TAGNAME= 6bcb5a
+
+.include <bsd.port.pre.mk>
+
+#Build fails on FreeBSD10+ if value of "CC" is not set to "clang" (checked by configure)
+
+.if ${COMPILER_TYPE} == clang
+CC= clang
+.else
+USE_GCC= yes
+.endif
+
+CONFIGURE_ENV+= CC=${CC}
+GO_ENV+= ${CONFIGURE_ENV}
+
+.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
+.include <bsd.port.post.mk>
Added: head/databases/gomdb/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/gomdb/distinfo Wed Oct 14 05:44:49 2015 (r399239)
@@ -0,0 +1,2 @@
+SHA256 (szferi-gomdb-20140824-6bcb5a_GH0.tar.gz) = 61067d3131b988f00fb01373e90fd71c27a417ab4d664dc19b5500d3a4953877
+SIZE (szferi-gomdb-20140824-6bcb5a_GH0.tar.gz) = 103059
Added: head/databases/gomdb/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/gomdb/pkg-descr Wed Oct 14 05:44:49 2015 (r399239)
@@ -0,0 +1,3 @@
+Go wrapper for OpenLDAP Lightning Memory-Mapped Database, LMDB.
+
+WWW: https://github.com/szferi/gomdb
Added: head/databases/gomdb/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/gomdb/pkg-plist Wed Oct 14 05:44:49 2015 (r399239)
@@ -0,0 +1,18 @@
+%%GO_LIBDIR%%/%%GO_PKGNAME%%.a
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/bench_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/cursor.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/env.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/env_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/error_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/example_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/lmdb.h
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/mdb.c
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/mdb.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/mdb_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/midl.c
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/midl.h
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/txn.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/val.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/val_test.go
More information about the svn-ports-all
mailing list