New port: databases/gomdb

Go wrapper for OpenLDAP Lightning Memory-Mapped Database, LMDB.

WWW: https://github.com/szferi/gomdb

PR:		194946
Submitted by:	cheffo@freebsd-bg.org
This commit is contained in:
Kurt Jaeger 2015-10-14 05:44:49 +00:00
parent 1e0fd5f376
commit 19f4c2999f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399239
5 changed files with 61 additions and 0 deletions

View file

@ -93,6 +93,7 @@
SUBDIR += gnats4
SUBDIR += gnatsweb4
SUBDIR += godis
SUBDIR += gomdb
SUBDIR += gosqlite3
SUBDIR += gqlplus
SUBDIR += grass

37
databases/gomdb/Makefile Normal file
View file

@ -0,0 +1,37 @@
# $FreeBSD$
PORTNAME= gomdb
PORTVERSION= 20140824
CATEGORIES= databases
MAINTAINER= cheffo@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>

2
databases/gomdb/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (szferi-gomdb-20140824-6bcb5a_GH0.tar.gz) = 61067d3131b988f00fb01373e90fd71c27a417ab4d664dc19b5500d3a4953877
SIZE (szferi-gomdb-20140824-6bcb5a_GH0.tar.gz) = 103059

View file

@ -0,0 +1,3 @@
Go wrapper for OpenLDAP Lightning Memory-Mapped Database, LMDB.
WWW: https://github.com/szferi/gomdb

18
databases/gomdb/pkg-plist Normal file
View file

@ -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