summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-10-08 13:33:00 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-10-08 13:33:00 +0000
commit1d2172d4454aeea050e69fa0ff766a4e4df435e3 (patch)
treed694dce5bdf7758cc3c531ccd65dc63c518bcb33 /textproc
parentApply new bzip2 patch: (diff)
Add sary, a suffix array library and tools, which provide fast
full-text search.
Notes
Notes: svn path=/head/; revision=67636
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/sary/Makefile39
-rw-r--r--textproc/sary/distinfo1
-rw-r--r--textproc/sary/files/patch-Makefile.in11
-rw-r--r--textproc/sary/pkg-comment1
-rw-r--r--textproc/sary/pkg-descr7
-rw-r--r--textproc/sary/pkg-plist42
7 files changed, 102 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 228fd5ab9f31..6c4b62740e40 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -325,6 +325,7 @@
SUBDIR += rxp
SUBDIR += sablotron
SUBDIR += sarep
+ SUBDIR += sary
SUBDIR += saxon
SUBDIR += scr2txt
SUBDIR += scrollkeeper
diff --git a/textproc/sary/Makefile b/textproc/sary/Makefile
new file mode 100644
index 000000000000..8de9085a6f6b
--- /dev/null
+++ b/textproc/sary/Makefile
@@ -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>
diff --git a/textproc/sary/distinfo b/textproc/sary/distinfo
new file mode 100644
index 000000000000..104a6aa39e90
--- /dev/null
+++ b/textproc/sary/distinfo
@@ -0,0 +1 @@
+MD5 (sary-1.0.4.tar.gz) = 07ee632e18b8f761acc6c095d4cb549a
diff --git a/textproc/sary/files/patch-Makefile.in b/textproc/sary/files/patch-Makefile.in
new file mode 100644
index 000000000000..d3c3f06d1822
--- /dev/null
+++ b/textproc/sary/files/patch-Makefile.in
@@ -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
+
diff --git a/textproc/sary/pkg-comment b/textproc/sary/pkg-comment
new file mode 100644
index 000000000000..cd1787cc51ab
--- /dev/null
+++ b/textproc/sary/pkg-comment
@@ -0,0 +1 @@
+A suffix array library and tools, which provide fast full-text search
diff --git a/textproc/sary/pkg-descr b/textproc/sary/pkg-descr
new file mode 100644
index 000000000000..16e1b402fd3e
--- /dev/null
+++ b/textproc/sary/pkg-descr
@@ -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
diff --git a/textproc/sary/pkg-plist b/textproc/sary/pkg-plist
new file mode 100644
index 000000000000..f5e66d521862
--- /dev/null
+++ b/textproc/sary/pkg-plist
@@ -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