diff options
author | Will Andrews <will@FreeBSD.org> | 2002-06-23 08:18:08 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2002-06-23 08:18:08 +0000 |
commit | e54a33eb57b42ecbec93ecff75f90cb7fb834834 (patch) | |
tree | 6ca09eb3b1e4fe29971ec6e6a51accc1db2ba1bb /textproc/mifluz | |
parent | Add rancid 2.2.1, Really Awesome New Cisco confIg Differ. (diff) |
Add mifluz 0.23.0, a c++ library to build and query a full text
inverted index.
PR: 38977
Submitted by: Frederic Dubuy <fdubuy@free.fr>
Notes
Notes:
svn path=/head/; revision=61795
Diffstat (limited to 'textproc/mifluz')
-rw-r--r-- | textproc/mifluz/Makefile | 40 | ||||
-rw-r--r-- | textproc/mifluz/distinfo | 1 | ||||
-rw-r--r-- | textproc/mifluz/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | textproc/mifluz/files/patch-configure | 10 | ||||
-rw-r--r-- | textproc/mifluz/files/patch-doc-version.texi | 10 | ||||
-rw-r--r-- | textproc/mifluz/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/mifluz/pkg-descr | 14 | ||||
-rw-r--r-- | textproc/mifluz/pkg-message | 9 | ||||
-rw-r--r-- | textproc/mifluz/pkg-plist | 102 |
9 files changed, 198 insertions, 0 deletions
diff --git a/textproc/mifluz/Makefile b/textproc/mifluz/Makefile new file mode 100644 index 000000000000..d409fc09986e --- /dev/null +++ b/textproc/mifluz/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: GNU/mifluz +# Date created: 07 June 2002 +# Whom: Frederic Dubuy <fdubuy@free.fr> +# +# $FreeBSD$ +# + +PORTNAME= mifluz +PORTVERSION= 0.23.0 +CATEGORIES= textproc +MASTER_SITES= ftp://ftp.gnu.org/pub/gnu/mifluz/ + +MAINTAINER= ports@FreeBSD.org + +BUILD_DEPENDS= ${LOCALBASE}/lib/libiconv.so:${PORTSDIR}/converters/libiconv + +CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} + +GNU_CONFIGURE= yes + +INSTALLS_SHLIB= yes +LDCONFIG_DIRS= %%PREFIX%%/lib + +MAN1= htdb_dump.1 htdb_stat.1 htdb_load.1 mifluzdump.1 mifluzload.1 \ + mifluzsearch.1 mifluzdict.1 +MAN3= WordContext.3 WordList.3 WordDict.3 WordListOne.3 WordKey.3 \ + WordKeyInfo.3 WordType.3 WordDBInfo.3 WordRecordInfo.3 \ + WordRecord.3 WordReference.3 WordCursor.3 WordCursorOne.3 \ + WordMonitor.3 Configuration.3 mifluz.3 + +PKGMESSAGE= ${WRKDIR}/pkg-message + +post-install: + @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${PKGDIR}/pkg-message > \ + ${PKGMESSAGE} + @${ECHO_MSG} + @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} + +.include <bsd.port.mk> diff --git a/textproc/mifluz/distinfo b/textproc/mifluz/distinfo new file mode 100644 index 000000000000..079b0af1e178 --- /dev/null +++ b/textproc/mifluz/distinfo @@ -0,0 +1 @@ +MD5 (mifluz-0.23.0.tar.gz) = 653c6629daf1881a07a1eece495bf972 diff --git a/textproc/mifluz/files/patch-Makefile.in b/textproc/mifluz/files/patch-Makefile.in new file mode 100644 index 000000000000..b4c734476a66 --- /dev/null +++ b/textproc/mifluz/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Fri Jun 7 11:23:57 2002 ++++ Makefile.in Fri Jun 7 11:24:43 2002 +@@ -469,7 +469,7 @@ + mkdir -p ${DESTDIR}${localstatedir}/cache/mifluz + @if [ ! -d ${DESTDIR}${sysconfdir} ] ; then mkdir -p ${DESTDIR}${sysconfdir} ; fi + @if [ ! -f ${DESTDIR}${sysconfdir}/mifluz.conf ] ; \ +- then a="cp ${srcdir}/mifluz.conf ${DESTDIR}${sysconfdir}/mifluz.conf" ; echo $$a ; $$a ; \ ++ then a="cp ${srcdir}/mifluz.conf ${DESTDIR}${sysconfdir}/mifluz.conf.sample" ; echo $$a ; $$a ; \ + else echo "${DESTDIR}${sysconfdir}/mifluz.conf exists, not overwritten" ; \ + fi + diff --git a/textproc/mifluz/files/patch-configure b/textproc/mifluz/files/patch-configure new file mode 100644 index 000000000000..d3c59962518b --- /dev/null +++ b/textproc/mifluz/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig Mon Jul 23 14:55:39 2001 ++++ configure Fri Jun 7 10:27:58 2002 +@@ -9336,6 +9336,7 @@ + LIBICONV= + if test "$am_cv_lib_iconv" = yes; then + LIBICONV="-liconv" ++ LIBS="$LIBICONV $LIBS" + fi + + diff --git a/textproc/mifluz/files/patch-doc-version.texi b/textproc/mifluz/files/patch-doc-version.texi new file mode 100644 index 000000000000..ce68e8b07524 --- /dev/null +++ b/textproc/mifluz/files/patch-doc-version.texi @@ -0,0 +1,10 @@ +--- doc/version.texi.orig Fri Jun 7 10:44:55 2002 ++++ doc/version.texi Fri Jun 7 10:46:19 2002 +@@ -1,3 +1,7 @@ + @set UPDATED 29 June 2001 + @set EDITION 0.23.0 + @set VERSION 0.23.0 ++@dircategory Programming & development tools ++@direntry ++* Mifluz: (mifluz). C++ library to build and query a full text inverted index ++@end direntry diff --git a/textproc/mifluz/pkg-comment b/textproc/mifluz/pkg-comment new file mode 100644 index 000000000000..224e5f93cdbd --- /dev/null +++ b/textproc/mifluz/pkg-comment @@ -0,0 +1 @@ +C++ library to build and query a full text inverted index diff --git a/textproc/mifluz/pkg-descr b/textproc/mifluz/pkg-descr new file mode 100644 index 000000000000..ee61b85a5710 --- /dev/null +++ b/textproc/mifluz/pkg-descr @@ -0,0 +1,14 @@ +GNU mifluz has two main characteristics : it is very +simple (one might say stupid :-) and uses 50% of the size of the +indexed text for the index. It is simple because it provides only +a few basic functionalities. It does not contain document parsers +(HTML, PDF etc...). It does not contain a full text query parser. +It does not provide result display functions or other user friendly +stuff. It only provides functions to store word occurences and retrieve +them. The fact that it uses 50% of the size of the indexed text is +rather atypical. Most well known full text indexing systems only use +30%. The advantage GNU mifluz has over most full text indexing systems +is that it is fully dynamic (update, delete, insert), uses only a +controled amount of memory while resolving a query, has higher upper +limits and has a simple storage scheme. Consuming more disk space +allows all this. diff --git a/textproc/mifluz/pkg-message b/textproc/mifluz/pkg-message new file mode 100644 index 000000000000..628e36c88460 --- /dev/null +++ b/textproc/mifluz/pkg-message @@ -0,0 +1,9 @@ + +************************************************************* +A sample configuration file has been written in +%%PREFIX%%/etc/mifluz.conf.sample + +You will have to copy this file to %%PREFIX%%/etc/mifluz.conf +and edit it before using mifluz. +************************************************************* + diff --git a/textproc/mifluz/pkg-plist b/textproc/mifluz/pkg-plist new file mode 100644 index 000000000000..34cda0fc1f9d --- /dev/null +++ b/textproc/mifluz/pkg-plist @@ -0,0 +1,102 @@ +bin/htdb_load +bin/htdb_dump +bin/htdb_stat +bin/mifluzdump +bin/mifluzdict +bin/mifluzload +bin/mifluzsearch +etc/mifluz.conf.sample +include/mifluz/myqsort.h +include/mifluz/clib.h +include/mifluz/btree.h +include/mifluz/btree_auto.h +include/mifluz/btree_ext.h +include/mifluz/common_ext.h +include/mifluz/crdel_auto.h +include/mifluz/db.h +include/mifluz/db_am.h +include/mifluz/db_auto.h +include/mifluz/db_dispatch.h +include/mifluz/db_ext.h +include/mifluz/db_int.h +include/mifluz/db_join.h +include/mifluz/db_page.h +include/mifluz/db_shash.h +include/mifluz/db_swap.h +include/mifluz/db_upgrade.h +include/mifluz/db_verify.h +include/mifluz/debug.h +include/mifluz/env_ext.h +include/mifluz/hash.h +include/mifluz/hash_auto.h +include/mifluz/hash_ext.h +include/mifluz/lock.h +include/mifluz/lock_ext.h +include/mifluz/log.h +include/mifluz/log_auto.h +include/mifluz/log_ext.h +include/mifluz/mp.h +include/mifluz/mp_ext.h +include/mifluz/mutex.h +include/mifluz/mutex_ext.h +include/mifluz/os.h +include/mifluz/os_ext.h +include/mifluz/os_jump.h +include/mifluz/qam.h +include/mifluz/qam_auto.h +include/mifluz/qam_ext.h +include/mifluz/queue.h +include/mifluz/region.h +include/mifluz/shqueue.h +include/mifluz/txn.h +include/mifluz/txn_auto.h +include/mifluz/txn_ext.h +include/mifluz/xa.h +include/mifluz/xa_ext.h +include/mifluz/unac.h +include/mifluz/Configuration.h +include/mifluz/Dictionary.h +include/mifluz/HtMaxMin.h +include/mifluz/HtTime.h +include/mifluz/List.h +include/mifluz/Object.h +include/mifluz/ParsedString.h +include/mifluz/StringList.h +include/mifluz/WordBitCompress.h +include/mifluz/WordContext.h +include/mifluz/WordCursor.h +include/mifluz/WordCursorOne.h +include/mifluz/WordDB.h +include/mifluz/WordDBCache.h +include/mifluz/WordDBCompress.h +include/mifluz/WordDBInfo.h +include/mifluz/WordDead.h +include/mifluz/WordDict.h +include/mifluz/WordKey.h +include/mifluz/WordKeyInfo.h +include/mifluz/WordList.h +include/mifluz/WordListOne.h +include/mifluz/WordListMulti.h +include/mifluz/WordMeta.h +include/mifluz/WordMonitor.h +include/mifluz/ber.h +include/mifluz/WordRecord.h +include/mifluz/WordRecordInfo.h +include/mifluz/WordReference.h +include/mifluz/WordType.h +include/mifluz/htString.h +include/mifluz/lib.h +include/mifluz/config.h +include/mifluz.h +@unexec install-info --delete %D/info/mifluz.info %D/info/dir +info/mifluz.info +info/mifluz.info-1 +info/mifluz.info-2 +info/mifluz.info-3 +@exec install-info %D/info/mifluz.info %D/info/dir +lib/libmifluz.so.0 +lib/libmifluz.so +lib/libmifluz.la +lib/libmifluz.a +@dirrm include/mifluz +@dirrm var/cache/mifluz |