diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2009-03-28 05:34:43 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2009-03-28 05:34:43 +0800 |
commit | f5f8a0d6fa96a6392b85372d392423dd19e2f4ba (patch) | |
tree | fb696aba21fc74ba0163512ea877beba60f19147 /databases | |
parent | f9b4f07faa725f1162cf7204d85064b6d697d229 (diff) | |
download | freebsd-ports-gnome-f5f8a0d6fa96a6392b85372d392423dd19e2f4ba.tar.gz freebsd-ports-gnome-f5f8a0d6fa96a6392b85372d392423dd19e2f4ba.tar.zst freebsd-ports-gnome-f5f8a0d6fa96a6392b85372d392423dd19e2f4ba.zip |
Add tokyotyrant 1.1.17, network interface of Tokyo Cabinet.
PR: ports/132490
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/tokyotyrant/Makefile | 36 | ||||
-rw-r--r-- | databases/tokyotyrant/distinfo | 3 | ||||
-rw-r--r-- | databases/tokyotyrant/files/ttserver.in | 21 | ||||
-rw-r--r-- | databases/tokyotyrant/pkg-descr | 9 | ||||
-rw-r--r-- | databases/tokyotyrant/pkg-plist | 26 |
6 files changed, 96 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 135d8a056c4b..73b1f3b8d36a 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -623,6 +623,7 @@ SUBDIR += tdb SUBDIR += tinycdb SUBDIR += tokyocabinet + SUBDIR += tokyotyrant SUBDIR += tora SUBDIR += typhoon SUBDIR += unixODBC diff --git a/databases/tokyotyrant/Makefile b/databases/tokyotyrant/Makefile new file mode 100644 index 000000000000..3560cbd002a3 --- /dev/null +++ b/databases/tokyotyrant/Makefile @@ -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> diff --git a/databases/tokyotyrant/distinfo b/databases/tokyotyrant/distinfo new file mode 100644 index 000000000000..68ab848b11be --- /dev/null +++ b/databases/tokyotyrant/distinfo @@ -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 diff --git a/databases/tokyotyrant/files/ttserver.in b/databases/tokyotyrant/files/ttserver.in new file mode 100644 index 000000000000..04daa5e2ee58 --- /dev/null +++ b/databases/tokyotyrant/files/ttserver.in @@ -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" diff --git a/databases/tokyotyrant/pkg-descr b/databases/tokyotyrant/pkg-descr new file mode 100644 index 000000000000..d7e1b473b688 --- /dev/null +++ b/databases/tokyotyrant/pkg-descr @@ -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/ diff --git a/databases/tokyotyrant/pkg-plist b/databases/tokyotyrant/pkg-plist new file mode 100644 index 000000000000..410741ff1d1f --- /dev/null +++ b/databases/tokyotyrant/pkg-plist @@ -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%% |