freebsd-ports/databases/gomdb/Makefile
Kurt Jaeger 19f4c2999f 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
2015-10-14 05:44:49 +00:00

37 lines
673 B
Makefile

# $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>