pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/tokyodystopia Import tokyodystopia-0.9.5 as t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40813d766c94
branches:  trunk
changeset: 546545:40813d766c94
user:      obache <obache%pkgsrc.org@localhost>
date:      Thu Sep 04 12:21:20 2008 +0000

description:
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:

 textproc/tokyodystopia/DESCR            |  14 +++++++++++
 textproc/tokyodystopia/Makefile         |  34 ++++++++++++++++++++++++++++
 textproc/tokyodystopia/PLIST            |  40 +++++++++++++++++++++++++++++++++
 textproc/tokyodystopia/buildlink3.mk    |  23 ++++++++++++++++++
 textproc/tokyodystopia/distinfo         |   7 +++++
 textproc/tokyodystopia/patches/patch-aa |  15 ++++++++++++
 textproc/tokyodystopia/patches/patch-ab |  17 ++++++++++++++
 7 files changed, 150 insertions(+), 0 deletions(-)

diffs (178 lines):

diff -r 2a65c8c90caa -r 40813d766c94 textproc/tokyodystopia/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/tokyodystopia/DESCR      Thu Sep 04 12:21:20 2008 +0000
@@ -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 -r 2a65c8c90caa -r 40813d766c94 textproc/tokyodystopia/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/tokyodystopia/Makefile   Thu Sep 04 12:21:20 2008 +0000
@@ -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@localhost
+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 -r 2a65c8c90caa -r 40813d766c94 textproc/tokyodystopia/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/tokyodystopia/PLIST      Thu Sep 04 12:21:20 2008 +0000
@@ -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 -r 2a65c8c90caa -r 40813d766c94 textproc/tokyodystopia/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/tokyodystopia/buildlink3.mk      Thu Sep 04 12:21:20 2008 +0000
@@ -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 -r 2a65c8c90caa -r 40813d766c94 textproc/tokyodystopia/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/tokyodystopia/distinfo   Thu Sep 04 12:21:20 2008 +0000
@@ -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 -r 2a65c8c90caa -r 40813d766c94 textproc/tokyodystopia/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/tokyodystopia/patches/patch-aa   Thu Sep 04 12:21:20 2008 +0000
@@ -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 -r 2a65c8c90caa -r 40813d766c94 textproc/tokyodystopia/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/tokyodystopia/patches/patch-ab   Thu Sep 04 12:21:20 2008 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index