mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
Add p5-LMDB_File, a wrapper of openldap's lmdb.
This commit is contained in:
parent
19daca82ab
commit
fef7d4aa30
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390009
@ -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
|
||||
|
22
databases/p5-LMDB_File/Makefile
Normal file
22
databases/p5-LMDB_File/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# Created by: vanilla@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= LMDB_File
|
||||
PORTVERSION= 0.05
|
||||
CATEGORIES= databases perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= vanilla@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>
|
2
databases/p5-LMDB_File/distinfo
Normal file
2
databases/p5-LMDB_File/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (LMDB_File-0.05.tar.gz) = ea78115bd78a3ff740b91d74e2d18773a98f72274a6761f7e2ea94d765161331
|
||||
SIZE (LMDB_File-0.05.tar.gz) = 190963
|
16
databases/p5-LMDB_File/files/patch-liblmdb_Makefile
Normal file
16
databases/p5-LMDB_File/files/patch-liblmdb_Makefile
Normal file
@ -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
|
11
databases/p5-LMDB_File/pkg-descr
Normal file
11
databases/p5-LMDB_File/pkg-descr
Normal file
@ -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/
|
4
databases/p5-LMDB_File/pkg-plist
Normal file
4
databases/p5-LMDB_File/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user