svn commit: r390009 - in head/databases: . p5-LMDB_File p5-LMDB_File/files
Vanilla I. Shu
vanilla at FreeBSD.org
Thu Jun 18 02:06:38 UTC 2015
Author: vanilla
Date: Thu Jun 18 02:06:36 2015
New Revision: 390009
URL: https://svnweb.freebsd.org/changeset/ports/390009
Log:
Add p5-LMDB_File, a wrapper of openldap's lmdb.
Added:
head/databases/p5-LMDB_File/
head/databases/p5-LMDB_File/Makefile (contents, props changed)
head/databases/p5-LMDB_File/distinfo (contents, props changed)
head/databases/p5-LMDB_File/files/
head/databases/p5-LMDB_File/files/patch-liblmdb_Makefile (contents, props changed)
head/databases/p5-LMDB_File/pkg-descr (contents, props changed)
head/databases/p5-LMDB_File/pkg-plist (contents, props changed)
Modified:
head/databases/Makefile
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Thu Jun 18 01:46:34 2015 (r390008)
+++ head/databases/Makefile Thu Jun 18 02:06:36 2015 (r390009)
@@ -416,6 +416,7 @@
SUBDIR += p5-Iterator-DBI
SUBDIR += p5-Jifty-DBI
SUBDIR += p5-KyotoCabinet
+ SUBDIR += p5-LMDB_File
SUBDIR += p5-MLDBM
SUBDIR += p5-MLDBM-Sync
SUBDIR += p5-MR-Tarantool
Added: head/databases/p5-LMDB_File/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/p5-LMDB_File/Makefile Thu Jun 18 02:06:36 2015 (r390009)
@@ -0,0 +1,22 @@
+# Created by: vanilla@
+# $FreeBSD$
+
+PORTNAME= LMDB_File
+PORTVERSION= 0.05
+CATEGORIES= databases perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= vanilla at FreeBSD.org
+COMMENT= Perl wrapper around the OpenLDAP's LMDB
+
+LICENSE= ART20
+
+CFLAGS+= -DMDB_DSYNC=O_SYNC -Dfdatasync=fsync
+USES= perl5
+USE_PERL5= configure
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/LMDB_File/LMDB_File.so
+
+.include <bsd.port.mk>
Added: head/databases/p5-LMDB_File/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/p5-LMDB_File/distinfo Thu Jun 18 02:06:36 2015 (r390009)
@@ -0,0 +1,2 @@
+SHA256 (LMDB_File-0.05.tar.gz) = ea78115bd78a3ff740b91d74e2d18773a98f72274a6761f7e2ea94d765161331
+SIZE (LMDB_File-0.05.tar.gz) = 190963
Added: head/databases/p5-LMDB_File/files/patch-liblmdb_Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/p5-LMDB_File/files/patch-liblmdb_Makefile Thu Jun 18 02:06:36 2015 (r390009)
@@ -0,0 +1,16 @@
+--- liblmdb/Makefile.orig 2013-09-11 05:23:43 UTC
++++ liblmdb/Makefile
+@@ -16,11 +16,11 @@
+ # There may be other macros in mdb.c of interest. You should
+ # read mdb.c before changing any of them.
+ #
+-CC = gcc
++CC ?= gcc
+ W = -W -Wall -Wno-unused-parameter -Wbad-function-cast
+ THREADS = -pthread
+ OPT = -O2 -g
+-CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS)
++CFLAGS += $(THREADS) $(OPT) $(W) $(XCFLAGS)
+ LDLIBS =
+ SOLIBS =
+ prefix = /usr/local
Added: head/databases/p5-LMDB_File/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/p5-LMDB_File/pkg-descr Thu Jun 18 02:06:36 2015 (r390009)
@@ -0,0 +1,11 @@
+LMDB_File is a Perl wrapper around the OpenLDAP's LMDB (Lightning
+Memory-Mapped Database) C library.
+
+LMDB is an ultra-fast, ultra-compact key-value data store developed
+by Symas for the OpenLDAP Project. See http://symas.com/mdb/ for details.
+
+LMDB_File provides full access to the complete C API, a thin Perl wrapper
+with an Object-Oriented interface and a simple Perl's tie interface
+compatible with others DBMs.
+
+WWW: http://search.cpan.org/dist/LMDB_File/
Added: head/databases/p5-LMDB_File/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/p5-LMDB_File/pkg-plist Thu Jun 18 02:06:36 2015 (r390009)
@@ -0,0 +1,4 @@
+%%SITE_ARCH%%/LMDB_File.pm
+%%SITE_ARCH%%/auto/LMDB_File/LMDB_File.so
+%%SITE_ARCH%%/auto/LMDB_File/autosplit.ix
+%%PERL5_MAN3%%/LMDB_File.3.gz
More information about the svn-ports-all
mailing list