1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Add sary, a suffix array library and tools, which provide fast

full-text search.
This commit is contained in:
Akinori MUSHA 2002-10-08 13:33:00 +00:00
parent 9517617847
commit 1d2172d445
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67636
7 changed files with 102 additions and 0 deletions

View File

@ -325,6 +325,7 @@
SUBDIR += rxp
SUBDIR += sablotron
SUBDIR += sarep
SUBDIR += sary
SUBDIR += saxon
SUBDIR += scr2txt
SUBDIR += scrollkeeper

39
textproc/sary/Makefile Normal file
View File

@ -0,0 +1,39 @@
# New ports collection makefile for: Sary
# Date created: 8 October 2002
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= sary
PORTVERSION= 1.0.4
CATEGORIES= textproc
MASTER_SITES= http://sary.namazu.org/stable/
MAINTAINER= knu@FreeBSD.org
USE_GNOMENG= yes
USE_GNOME= glib12 gnomehack
USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
MAN1= sary.1 mksary.1
post-patch:
${REINPLACE_CMD} -e 's,glib-config,${GLIB_CONFIG},g' \
${WRKSRC}/configure
.if !defined(NOPORTDOCS)
${FIND} ${WRKSRC}/docs -type f -name 'Makefile.in' | \
${XARGS} ${REINPLACE_CMD} \
-e 's,^docsdir = .*,docsdir = \$$(datadir)/doc/sary,'
.endif
post-install:
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/docs; ${MAKE} install
.endif
.include <bsd.port.mk>

1
textproc/sary/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (sary-1.0.4.tar.gz) = 07ee632e18b8f761acc6c095d4cb549a

View File

@ -0,0 +1,11 @@
--- Makefile.in.orig Fri Aug 23 01:39:41 2002
+++ Makefile.in Tue Oct 8 21:43:06 2002
@@ -90,7 +90,7 @@
AUTOMAKE_OPTIONS = 1.4 no-dependencies
-SUBDIRS = . docs man sary src tests debian
+SUBDIRS = . man sary src
include_HEADERS = sary.h

View File

@ -0,0 +1 @@
A suffix array library and tools, which provide fast full-text search

7
textproc/sary/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
Sary is a suffix array library and tools. It provides fast full-text
search facilities for text files on the order of 10 to 100 MB using a
data structure called a suffix array. It can also search specific
fields in a text file by assigning index points to those fields.
Author: Satoru Takabayashi <satoru@namazu.org>
WWW: http://sary.namazu.org/index.html.en

42
textproc/sary/pkg-plist Normal file
View File

@ -0,0 +1,42 @@
bin/mksary
bin/sary
bin/sary-config
include/sary.h
include/sary/array.h
include/sary/bsearch.h
include/sary/builder.h
include/sary/cache.h
include/sary/i.h
include/sary/ipoint.h
include/sary/merger.h
include/sary/mkqsort.h
include/sary/mmap.h
include/sary/progress.h
include/sary/saryconfig.h
include/sary/saryer.h
include/sary/sorter.h
include/sary/str.h
include/sary/text.h
include/sary/writer.h
@dirrm include/sary
lib/libsary.a
lib/libsary.la
lib/libsary.so
lib/libsary.so.8
libdata/pkgconfig/sary.pc
@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
share/aclocal/sary.m4
%%PORTDOCS%%share/doc/sary/en/libsary.html
%%PORTDOCS%%share/doc/sary/en/suffix-array.html
%%PORTDOCS%%share/doc/sary/images/figure1.png
%%PORTDOCS%%share/doc/sary/images/figure2.png
%%PORTDOCS%%share/doc/sary/images/figure3.png
%%PORTDOCS%%share/doc/sary/images/figure4.png
%%PORTDOCS%%share/doc/sary/images/figure5.png
%%PORTDOCS%%share/doc/sary/ja/libsary.html
%%PORTDOCS%%share/doc/sary/ja/suffix-array.html
%%PORTDOCS%%share/doc/sary/sary.css
%%PORTDOCS%%@dirrm share/doc/sary/en
%%PORTDOCS%%@dirrm share/doc/sary/images
%%PORTDOCS%%@dirrm share/doc/sary/ja
%%PORTDOCS%%@dirrm share/doc/sary