1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Add tokyotyrant 1.1.17, network interface of Tokyo Cabinet.

PR:		ports/132490
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
This commit is contained in:
Li-Wen Hsu 2009-03-27 21:34:43 +00:00
parent 9e7898a5d4
commit abf1799010
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231139
6 changed files with 96 additions and 0 deletions

View File

@ -623,6 +623,7 @@
SUBDIR += tdb
SUBDIR += tinycdb
SUBDIR += tokyocabinet
SUBDIR += tokyotyrant
SUBDIR += tora
SUBDIR += typhoon
SUBDIR += unixODBC

View File

@ -0,0 +1,36 @@
# New ports collection makefile for: tokyotyrant
# Date created: 2009-03-09
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= tokyotyrant
PORTVERSION= 1.1.17
CATEGORIES= databases
MASTER_SITES= SF
MASTER_SITE_SUBDIR= tokyocabinet
MAINTAINER= gslin@gslin.org
COMMENT= Network interface of Tokyo Cabinet
BUILD_DEPENDS= tokyocabinet>=1.4.7:${PORTSDIR}/databases/tokyocabinet
LIB_DEPENDS= tokyocabinet:${PORTSDIR}/databases/tokyocabinet
RUN_DEPENDS= tokyocabinet>=1.4.7:${PORTSDIR}/databases/tokyocabinet
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_GMAKE= yes
USE_RC_SUBR= ttserver
MAN1= tcrmgr.1 tcrmttest.1 tcrtest.1 ttserver.1 ttulmgr.1 ttultest.1
MAN3= tcrdb.3 tculog.3 ttutil.3
MAN8= ttservctl.8
# Since gnomehack only works for "(libdir)" case, we need to patch it
# manually.
post-patch:
${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (tokyotyrant-1.1.17.tar.gz) = 1e0787b4afc105c1b75c2d9a3e6540b2
SHA256 (tokyotyrant-1.1.17.tar.gz) = 3845c318cf1fc6a0f1ab66f4b557501ef0c2c7738677637eb3c55b4ce13e1fd2
SIZE (tokyotyrant-1.1.17.tar.gz) = 180401

View File

@ -0,0 +1,21 @@
#!/bin/sh
#
# $FreeBSD$
#
#
# PROVIDE: ttserver
# REQUIRE: DAEMON
# KEYWORD: shutdown
. %%RC_SUBR%%
name="ttserver"
rcvar=`set_rcvar`
command="%%PREFIX%%/bin/${name}"
pidfile="/var/run/ttserver.pid"
load_rc_config $name
: ${ttserver_flags="-dmn -pid ${pidfile}"}
run_rc_command "$1"

View File

@ -0,0 +1,9 @@
Tokyo Tyrant is a package of network interface to the DBM called
Tokyo Cabinet. Though the DBM has high performance, you might bother
in case that multiple processes share the same database, or remote
processes access the database. Thus, Tokyo Tyrant is provided for
concurrent and remote connections to Tokyo Cabinet. It is composed of
the server process managing a database and its access library for
client applications.
WWW: http://tokyocabinet.sourceforge.net/tyrantdoc/

View File

@ -0,0 +1,26 @@
@comment $FreeBSD$
%%DATADIR%%/COPYING
%%DATADIR%%/ChangeLog
%%DATADIR%%/THANKS
%%DATADIR%%/doc/index.html
%%DATADIR%%/ext/senatus.lua
%%DATADIR%%/ext/usherette.lua
bin/tcrmgr
bin/tcrmttest
bin/tcrtest
bin/ttserver
bin/ttulmgr
bin/ttultest
include/tcrdb.h
include/tculog.h
include/ttutil.h
lib/libtokyotyrant.a
lib/libtokyotyrant.so
lib/libtokyotyrant.so.3
lib/libtokyotyrant.so.3.1.0
libdata/pkgconfig/tokyotyrant.pc
sbin/ttservctl
@dirrmtry libdata/pkgconfig
@dirrmtry %%DATADIR%%/ext
@dirrmtry %%DATADIR%%/doc
@dirrmtry %%DATADIR%%