aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2009-02-04 22:10:32 +0800
committerlwhsu <lwhsu@FreeBSD.org>2009-02-04 22:10:32 +0800
commit73fe338c3e34435033b1e7a4fea46fa91fd2c9d8 (patch)
treea5640c64556ff9653a70fd667022e0a2bb9d99f0 /textproc
parent633dcdc80e2fd4af16f664992467d051bb17401e (diff)
downloadfreebsd-ports-gnome-73fe338c3e34435033b1e7a4fea46fa91fd2c9d8.tar.gz
freebsd-ports-gnome-73fe338c3e34435033b1e7a4fea46fa91fd2c9d8.tar.zst
freebsd-ports-gnome-73fe338c3e34435033b1e7a4fea46fa91fd2c9d8.zip
Add tokyodystopia 0.9.9, a full-text search system based on Tokyo
Cabinet.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/tokyodystopia/Makefile50
-rw-r--r--textproc/tokyodystopia/distinfo3
-rw-r--r--textproc/tokyodystopia/pkg-descr16
-rw-r--r--textproc/tokyodystopia/pkg-plist25
5 files changed, 95 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index e12612fc34e2..c63f7dd7118e 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1061,6 +1061,7 @@
SUBDIR += tl-aspell
SUBDIR += tn-aspell
SUBDIR += tnef2txt
+ SUBDIR += tokyodystopia
SUBDIR += tr-aspell
SUBDIR += trang
SUBDIR += translate-toolkit
diff --git a/textproc/tokyodystopia/Makefile b/textproc/tokyodystopia/Makefile
new file mode 100644
index 000000000000..3583ada89646
--- /dev/null
+++ b/textproc/tokyodystopia/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: tokyodystopia
+# Date created: 2009-02-04
+# Whom: Li-Wen Hsu <lwhsu@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tokyodystopia
+PORTVERSION= 0.9.9
+CATEGORIES= textproc
+MASTER_SITES= SOURCEFORGE \
+ http://tokyocabinet.sourceforge.net/dystopiapkg/
+MASTER_SITE_SUBDIR= tokyocabinet
+
+MAINTAINER= lwhsu@FreeBSD.org
+COMMENT= A full-text search system based on Tokyo Cabinet
+
+LIB_DEPENDS= tokyocabinet:${PORTSDIR}/databases/tokyocabinet
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_LDCONFIG= yes
+
+MAN1= dystmgr.1 \
+ dysttest.1 \
+ lapumgr.1 \
+ laputest.1 \
+ tcqmgr.1 \
+ tcqtest.1 \
+ tcwmgr.1 \
+ tcwtest.1
+MAN3= dystopia.3 \
+ laputa.3 \
+ tcidb.3 \
+ tcjdb.3 \
+ tcqdb.3 \
+ tcwdb.3
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|' \
+ ${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -e 's|DATADIR =.*|DATADIR = ${DOCSDIR}|' \
+ ${WRKSRC}/Makefile.in
+.if defined(NOPORTDOCS)
+ ${REINPLACE_CMD} -e 's|mkdir -p $$(DESTDIR)$$(DATADIR)||' \
+ -e 's|cp -Rf $$(DOCUMENTFILES) $$(DESTDIR)$$(DATADIR)||' \
+ ${WRKSRC}/Makefile.in
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/tokyodystopia/distinfo b/textproc/tokyodystopia/distinfo
new file mode 100644
index 000000000000..c97629a966e4
--- /dev/null
+++ b/textproc/tokyodystopia/distinfo
@@ -0,0 +1,3 @@
+MD5 (tokyodystopia-0.9.9.tar.gz) = 84c049c9bf3ce0d4a99ca1c6cf13c1dc
+SHA256 (tokyodystopia-0.9.9.tar.gz) = ba64f9b176929e02f546a2d4fda8562e15ea8fb4fa4e1281fae5bb3bdc15dde2
+SIZE (tokyodystopia-0.9.9.tar.gz) = 148524
diff --git a/textproc/tokyodystopia/pkg-descr b/textproc/tokyodystopia/pkg-descr
new file mode 100644
index 000000000000..29477bc0ac79
--- /dev/null
+++ b/textproc/tokyodystopia/pkg-descr
@@ -0,0 +1,16 @@
+Tokyo Dystopia is a full-text search system. You can search lots of records
+for some records including specified patterns. The characteristic of
+Tokyo Dystopia is the following.
+
+ * High performance of search
+ * High scalability of target documents
+ * Perfect recall ratio by character N-gram method
+ * Phrase matching, prefix matching, suffix matching, and token matching
+ * Multilingualism with Unicode
+ * Layered Architecture of APIs
+
+Tokyo Dystopia is available on platforms which have API conforming to C99 and
+POSIX. Tokyo Dystopia is a free software licensed under the GNU Lesser General
+Public License.
+
+WWW: http://tokyocabinet.sourceforge.net/dystopiadoc/
diff --git a/textproc/tokyodystopia/pkg-plist b/textproc/tokyodystopia/pkg-plist
new file mode 100644
index 000000000000..f2c9ad7bff60
--- /dev/null
+++ b/textproc/tokyodystopia/pkg-plist
@@ -0,0 +1,25 @@
+bin/dystmgr
+bin/dysttest
+bin/lapumgr
+bin/laputest
+bin/tcqmgr
+bin/tcqtest
+bin/tcwmgr
+bin/tcwtest
+include/dystopia.h
+include/laputa.h
+include/tcqdb.h
+include/tcwdb.h
+lib/libtokyodystopia.a
+lib/libtokyodystopia.so
+lib/libtokyodystopia.so.1
+lib/libtokyodystopia.so.1.10.0
+libdata/pkgconfig/tokyodystopia.pc
+libexec/dystsearch.cgi
+libexec/lapusearch.cgi
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/doc/index.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc
+%%PORTDOCS%%@dirrm %%DOCSDIR%%