Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2015 20:11:57 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r392396 - in head/databases: . levigo
Message-ID:  <201507172011.t6HKBvxq062820@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri Jul 17 20:11:56 2015
New Revision: 392396
URL: https://svnweb.freebsd.org/changeset/ports/392396

Log:
  New port: databases/levigo
  
  levigo is a Go wrapper for LevelDB.
  The API has been godoc'ed and is available on the web.
  Questions answered at golang-nuts@googlegroups.com.
  
  WWW: https://github.com/jmhodges/levigo
  
  PR:		194986
  Submitted by:	cheffo@freebsd-bg.org

Added:
  head/databases/levigo/
  head/databases/levigo/Makefile   (contents, props changed)
  head/databases/levigo/distinfo   (contents, props changed)
  head/databases/levigo/pkg-descr   (contents, props changed)
  head/databases/levigo/pkg-plist   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Fri Jul 17 20:03:27 2015	(r392395)
+++ head/databases/Makefile	Fri Jul 17 20:11:56 2015	(r392396)
@@ -130,6 +130,7 @@
     SUBDIR += leo_center
     SUBDIR += leofs
     SUBDIR += leveldb
+    SUBDIR += levigo
     SUBDIR += libdbi
     SUBDIR += libdbi-drivers
     SUBDIR += libdrizzle

Added: head/databases/levigo/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/levigo/Makefile	Fri Jul 17 20:11:56 2015	(r392396)
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PORTNAME=	levigo
+PORTVERSION=	20150216
+CATEGORIES=	databases
+
+MAINTAINER=	cheffo@freebsd-bg.org
+COMMENT=	Levigo is a Go wrapper for LevelDB
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	go:${PORTSDIR}/lang/go
+LIB_DEPENDS=	libleveldb.so:${PORTSDIR}/databases/leveldb
+
+ONLY_FOR_ARCHS=	i386 amd64
+
+USES=		compiler
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	jmhodges
+GH_PROJECT=	levigo
+GH_TAGNAME=	1ddad808d4
+
+BROKEN_FreeBSD_8=	Build has leftover /readelf.core, PR 194986
+
+.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} \
+		CXX=${CXX} \
+GO_ENV+=	${CONFIGURE_ENV}
+
+.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
+.include <bsd.port.post.mk>

Added: head/databases/levigo/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/levigo/distinfo	Fri Jul 17 20:11:56 2015	(r392396)
@@ -0,0 +1,2 @@
+SHA256 (jmhodges-levigo-20150216-1ddad808d4_GH0.tar.gz) = 0f5df795cb4ce7ad692bd70296343fb5bbbe1e67ca32b0e235cf0b7a2bc32959
+SIZE (jmhodges-levigo-20150216-1ddad808d4_GH0.tar.gz) = 12837

Added: head/databases/levigo/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/levigo/pkg-descr	Fri Jul 17 20:11:56 2015	(r392396)
@@ -0,0 +1,5 @@
+levigo is a Go wrapper for LevelDB.
+The API has been godoc'ed and is available on the web.
+Questions answered at golang-nuts@googlegroups.com.
+
+WWW: https://github.com/jmhodges/levigo

Added: head/databases/levigo/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/levigo/pkg-plist	Fri Jul 17 20:11:56 2015	(r392396)
@@ -0,0 +1,16 @@
+%%GO_LIBDIR%%/%%GO_PKGNAME%%.a
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/batch.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/cache.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/comparator.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/conv.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/db.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/doc.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/env.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/comparator_example.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/filterpolicy.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/iterator.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/leveldb_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/options.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/version.go



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507172011.t6HKBvxq062820>