ports/118947: [NEW PORT] databases/tokyocabinet: A modern implementation of DBM

Gea-Suan Lin gslin at gslin.org
Sat Dec 22 12:20:01 UTC 2007


>Number:         118947
>Category:       ports
>Synopsis:       [NEW PORT] databases/tokyocabinet: A modern implementation of DBM
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 22 12:20:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.3-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD ccreader.NCTU.edu.tw 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #2: Thu Oct 25 05:54:55 CST 2007
>Description:
Tokyo Cabinet is a library of routines for managing a database. The
database is a simple data file containing records, each is a pair of a
key and a value. Every key and value is serial bytes with variable
length. Both binary data and character string can be used as a key and
a value. There is neither concept of data tables nor data types.
Records are organized in hash table or B+ tree.

WWW:	http://tokyocabinet.sourceforge.net/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- tokyocabinet-1.1.6.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	tokyocabinet
#	tokyocabinet/pkg-descr
#	tokyocabinet/Makefile
#	tokyocabinet/pkg-plist
#	tokyocabinet/distinfo
#
echo c - tokyocabinet
mkdir -p tokyocabinet > /dev/null 2>&1
echo x - tokyocabinet/pkg-descr
sed 's/^X//' >tokyocabinet/pkg-descr << 'END-of-tokyocabinet/pkg-descr'
XTokyo Cabinet is a library of routines for managing a database. The
Xdatabase is a simple data file containing records, each is a pair of a
Xkey and a value. Every key and value is serial bytes with variable
Xlength. Both binary data and character string can be used as a key and
Xa value. There is neither concept of data tables nor data types.
XRecords are organized in hash table or B+ tree.
X
XWWW:	http://tokyocabinet.sourceforge.net/
END-of-tokyocabinet/pkg-descr
echo x - tokyocabinet/Makefile
sed 's/^X//' >tokyocabinet/Makefile << 'END-of-tokyocabinet/Makefile'
X# New ports collection makefile for:	tokyocabinet
X# Date created:		2007-12-22
X# Whom:			Gea-Suan Lin <gslin at gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tokyocabinet
XPORTVERSION=	1.1.6
XCATEGORIES=	databases
XMASTER_SITES=	SF
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	gslin at gslin.org
XCOMMENT=	A modern implementation of DBM
X
XCONFIGURE_ARGS=	--enable-off64
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_LDCONFIG=	yes
X
XMAN1=		tcbmgr.1 tcbmttest.1 tcbtest.1 tchmgr.1 tchmttest.1 \
X		tchtest.1 tcucodec.1 tcumttest.1 tcutest.1
XMAN3=		tcbdb.3 tchdb.3 tcutil.3 tokyocabinet.3
X
X# Because gnomehack use "(libdir)" and it doesn't work, we need to patch
X# it manually.
Xpost-patch:
X	${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|' \
X		${WRKSRC}/Makefile.in
X
X.include <bsd.port.mk>
END-of-tokyocabinet/Makefile
echo x - tokyocabinet/pkg-plist
sed 's/^X//' >tokyocabinet/pkg-plist << 'END-of-tokyocabinet/pkg-plist'
X at comment $FreeBSD$
X%%DATADIR%%/COPYING
X%%DATADIR%%/ChangeLog
X%%DATADIR%%/THANKS
X%%DATADIR%%/doc/benchmark.pdf
X%%DATADIR%%/doc/common.css
X%%DATADIR%%/doc/icon16.png
X%%DATADIR%%/doc/index.html
X%%DATADIR%%/doc/index.ja.html
X%%DATADIR%%/doc/logo-ja.png
X%%DATADIR%%/doc/logo.png
X%%DATADIR%%/doc/spex-en.html
X%%DATADIR%%/doc/spex-ja.html
Xbin/tcbmgr
Xbin/tcbmttest
Xbin/tcbtest
Xbin/tchmgr
Xbin/tchmttest
Xbin/tchtest
Xbin/tcucodec
Xbin/tcumttest
Xbin/tcutest
Xinclude/tcbdb.h
Xinclude/tchdb.h
Xinclude/tcutil.h
Xlib/libtokyocabinet.a
Xlib/libtokyocabinet.so
Xlib/libtokyocabinet.so.1
Xlib/libtokyocabinet.so.1.25.0
Xlibdata/pkgconfig/tokyocabinet.pc
X at dirrmtry %%DATADIR%%/doc
X at dirrmtry %%DATADIR%%
END-of-tokyocabinet/pkg-plist
echo x - tokyocabinet/distinfo
sed 's/^X//' >tokyocabinet/distinfo << 'END-of-tokyocabinet/distinfo'
XMD5 (tokyocabinet-1.1.6.tar.gz) = 25b86778713ef89d13570b2787815ea3
XSHA256 (tokyocabinet-1.1.6.tar.gz) = 188cecb014935de2fd11aa2e9ca13487378a3f18e35a4a9546489a85f8effa1a
XSIZE (tokyocabinet-1.1.6.tar.gz) = 312557
END-of-tokyocabinet/distinfo
exit
--- tokyocabinet-1.1.6.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list