diff options
author | obache <obache> | 2008-09-04 12:21:20 +0000 |
---|---|---|
committer | obache <obache> | 2008-09-04 12:21:20 +0000 |
commit | a653ccfa2584ef8a3a0f2a0a9fd5fe194d514a06 (patch) | |
tree | bd79cac865e650de67929e88ede3d5fb90df7760 /textproc | |
parent | 3c19bb7ee3990273d46bcb3fc89b82a42de9644c (diff) | |
download | pkgsrc-a653ccfa2584ef8a3a0f2a0a9fd5fe194d514a06.tar.gz |
Import tokyodystopia-0.9.5 as textproc/tokyodystopia.
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
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/tokyodystopia/DESCR | 14 | ||||
-rw-r--r-- | textproc/tokyodystopia/Makefile | 34 | ||||
-rw-r--r-- | textproc/tokyodystopia/PLIST | 40 | ||||
-rw-r--r-- | textproc/tokyodystopia/buildlink3.mk | 23 | ||||
-rw-r--r-- | textproc/tokyodystopia/distinfo | 7 | ||||
-rw-r--r-- | textproc/tokyodystopia/patches/patch-aa | 15 | ||||
-rw-r--r-- | textproc/tokyodystopia/patches/patch-ab | 17 |
7 files changed, 150 insertions, 0 deletions
diff --git a/textproc/tokyodystopia/DESCR b/textproc/tokyodystopia/DESCR new file mode 100644 index 00000000000..4ac9f038020 --- /dev/null +++ b/textproc/tokyodystopia/DESCR @@ -0,0 +1,14 @@ +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 diff --git a/textproc/tokyodystopia/Makefile b/textproc/tokyodystopia/Makefile new file mode 100644 index 00000000000..56f2c82a3ea --- /dev/null +++ b/textproc/tokyodystopia/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/09/04 12:21:20 obache Exp $ +# + +DISTNAME= tokyodystopia-0.9.5 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/} + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://tokyocabinet.sourceforge.net/dystopiadoc/ +COMMENT= Full-text search system + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_TOOLS+= gmake pkg-config + +PKGCONFIG_OVERRIDE+= tokyodystopia.pc.in + +CONFIGURE_ARGS+= --enable-zlib +CONFIGURE_ARGS+= --enable-bzip + +TEST_TARGET= check + +.include "../../databases/tokyocabinet/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../archivers/bzip2/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +PTHREAD_AUTO_VARS= yes +CONFIGURE_ARGS+= --enable-pthread +SUBST_CLASSES+= pthread +SUBST_STAGE.pthread= pre-configure +SUBST_FILES.pthread= configure +SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|' +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/tokyodystopia/PLIST b/textproc/tokyodystopia/PLIST new file mode 100644 index 00000000000..8113f20be6a --- /dev/null +++ b/textproc/tokyodystopia/PLIST @@ -0,0 +1,40 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/04 12:21:20 obache Exp $ +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.5.0 +lib/pkgconfig/tokyodystopia.pc +libexec/dystsearch.cgi +libexec/lapusearch.cgi +man/man1/dystmgr.1 +man/man1/dysttest.1 +man/man1/lapumgr.1 +man/man1/laputest.1 +man/man1/tcqmgr.1 +man/man1/tcqtest.1 +man/man1/tcwmgr.1 +man/man1/tcwtest.1 +man/man3/dystopia.3 +man/man3/laputa.3 +man/man3/tcidb.3 +man/man3/tcjdb.3 +man/man3/tcqdb.3 +man/man3/tcwdb.3 +share/tokyodystopia/COPYING +share/tokyodystopia/ChangeLog +share/tokyodystopia/THANKS +share/tokyodystopia/doc/index.html +@dirrm share/tokyodystopia/doc +@dirrm share/tokyodystopia diff --git a/textproc/tokyodystopia/buildlink3.mk b/textproc/tokyodystopia/buildlink3.mk new file mode 100644 index 00000000000..b36b3cdd092 --- /dev/null +++ b/textproc/tokyodystopia/buildlink3.mk @@ -0,0 +1,23 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/09/04 12:21:20 obache Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +TOKYODYSTOPIA_BUILDLINK3_MK:= ${TOKYODYSTOPIA_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= tokyodystopia +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntokyodystopia} +BUILDLINK_PACKAGES+= tokyodystopia +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tokyodystopia + +.if ${TOKYODYSTOPIA_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.tokyodystopia+= tokyodystopia>=0.9.5 +BUILDLINK_PKGSRCDIR.tokyodystopia?= ../../textproc/tokyodystpia +.endif # TOKYODYSTOPIA_BUILDLINK3_MK + +.include "../../databases/tokyocabinet/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../archivers/bzip2/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/textproc/tokyodystopia/distinfo b/textproc/tokyodystopia/distinfo new file mode 100644 index 00000000000..2c676668ec4 --- /dev/null +++ b/textproc/tokyodystopia/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/09/04 12:21:20 obache Exp $ + +SHA1 (tokyodystopia-0.9.5.tar.gz) = 676ba3d0710259ce20c561f468ca094cf3f5029b +RMD160 (tokyodystopia-0.9.5.tar.gz) = 5e17263a4130b522f5d99c456899f65e861943ca +Size (tokyodystopia-0.9.5.tar.gz) = 143419 bytes +SHA1 (patch-aa) = 28425b9730a0615eeac3dd197bde8925ba89dc12 +SHA1 (patch-ab) = 44ba7ceebaa0c03275c6f897084bdacf7d7cef86 diff --git a/textproc/tokyodystopia/patches/patch-aa b/textproc/tokyodystopia/patches/patch-aa new file mode 100644 index 00000000000..380cc9ec24a --- /dev/null +++ b/textproc/tokyodystopia/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/09/04 12:21:20 obache Exp $ + +--- Makefile.in.orig 2008-07-10 11:04:22.000000000 +0000 ++++ Makefile.in +@@ -51,8 +51,8 @@ CPPFLAGS = @MYCPPFLAGS@ \ + -D_TD_PREFIX="\"$(prefix)\"" -D_TD_INCLUDEDIR="\"$(INCLUDEDIR)\"" \ + -D_TD_LIBDIR="\"$(LIBDIR)\"" -D_TD_BINDIR="\"$(BINDIR)\"" -D_TD_LIBEXECDIR="\"$(LIBEXECDIR)\"" \ + -D_TD_APPINC="\"-I$(INCLUDEDIR)\"" -D_TD_APPLIBS="\"-L$(LIBDIR) -ltokyodystopia @LIBS@\"" +-CFLAGS = @MYCFLAGS@ +-LDFLAGS = @MYLDFLAGS@ ++CFLAGS = @CFLAGS@ @MYCFLAGS@ ++LDFLAGS = @LDFLAGS@ @MYLDFLAGS@ + LIBS = @LIBS@ + LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:. + RUNENV = @MYLDLIBPATHENV@=.:/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@ diff --git a/textproc/tokyodystopia/patches/patch-ab b/textproc/tokyodystopia/patches/patch-ab new file mode 100644 index 00000000000..5b02297bd24 --- /dev/null +++ b/textproc/tokyodystopia/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.1.1.1 2008/09/04 12:21:20 obache Exp $ + +--- configure.orig 2008-07-30 09:05:10.000000000 +0000 ++++ configure +@@ -1724,9 +1724,9 @@ MYDOCUMENTFILES="COPYING ChangeLog THANK + MYPCFILES="tokyodystopia.pc" + + # Building flags +-MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char -O2" +-MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -L$HOME/include -L/usr/local/include -DNDEBUG -D_GNU_SOURCE=1" +-MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib" ++MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char" ++MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -DNDEBUG -D_GNU_SOURCE=1" ++MYLDFLAGS="-L. -L\$(LIBDIR)" + MYRUNPATH="\$(LIBDIR)" + MYLDLIBPATHENV="LD_LIBRARY_PATH" + MYPOSTCMD="true" |