diff options
author | obache <obache> | 2008-03-01 08:29:07 +0000 |
---|---|---|
committer | obache <obache> | 2008-03-01 08:29:07 +0000 |
commit | 781a272b863b53f6d87a24aa1df49ea2105ba8d7 (patch) | |
tree | 1c38cf5af7df97b0ec4ee8621d12e38eef0c206f | |
parent | ecf25dcfc73e1ce93782713bf3f15367921a7a7b (diff) | |
download | pkgsrc-781a272b863b53f6d87a24aa1df49ea2105ba8d7.tar.gz |
Import sary version 1.2.0.
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.
-rw-r--r-- | textproc/sary/DESCR | 4 | ||||
-rw-r--r-- | textproc/sary/Makefile | 21 | ||||
-rw-r--r-- | textproc/sary/PLIST | 40 | ||||
-rw-r--r-- | textproc/sary/buildlink3.mk | 21 | ||||
-rw-r--r-- | textproc/sary/distinfo | 5 |
5 files changed, 91 insertions, 0 deletions
diff --git a/textproc/sary/DESCR b/textproc/sary/DESCR new file mode 100644 index 00000000000..9a85b3384d4 --- /dev/null +++ b/textproc/sary/DESCR @@ -0,0 +1,4 @@ +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. diff --git a/textproc/sary/Makefile b/textproc/sary/Makefile new file mode 100644 index 00000000000..50e79a20453 --- /dev/null +++ b/textproc/sary/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/03/01 08:29:07 obache Exp $ +# + +DISTNAME= sary-1.2.0 +CATEGORIES= textproc +MASTER_SITES= http://sary.sourceforge.net/ + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://sary.sourceforge.net/ +COMMENT= Suffix array library and tools + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config + +PKGCONFIG_OVERRIDE+= sary.pc.in + +.include "../../devel/glib2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/sary/PLIST b/textproc/sary/PLIST new file mode 100644 index 00000000000..87648570b82 --- /dev/null +++ b/textproc/sary/PLIST @@ -0,0 +1,40 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/01 08:29:07 obache Exp $ +bin/mksary +bin/sary +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/searcher.h +include/sary/sorter.h +include/sary/str.h +include/sary/text.h +include/sary/writer.h +lib/libsary.la +lib/pkgconfig/sary.pc +man/man1/mksary.1 +man/man1/sary.1 +share/sary/docs/en/libsary.html +share/sary/docs/en/suffix-array.html +share/sary/docs/images/figure1.png +share/sary/docs/images/figure2.png +share/sary/docs/images/figure3.png +share/sary/docs/images/figure4.png +share/sary/docs/images/figure5.png +share/sary/docs/ja/libsary.html +share/sary/docs/ja/suffix-array.html +share/sary/docs/sary.css +@dirrm share/sary/docs/ja +@dirrm share/sary/docs/images +@dirrm share/sary/docs/en +@dirrm share/sary/docs +@dirrm share/sary +@dirrm include/sary diff --git a/textproc/sary/buildlink3.mk b/textproc/sary/buildlink3.mk new file mode 100644 index 00000000000..9eb9215cebf --- /dev/null +++ b/textproc/sary/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/03/01 08:29:07 obache Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +SARY_BUILDLINK3_MK:= ${SARY_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= sary +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsary} +BUILDLINK_PACKAGES+= sary +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sary + +.if ${SARY_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.sary+= sary>=1.2.0 +BUILDLINK_PKGSRCDIR.sary?= ../../textproc/sary +.endif # SARY_BUILDLINK3_MK + +.include "../../devel/glib2/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/textproc/sary/distinfo b/textproc/sary/distinfo new file mode 100644 index 00000000000..d93f475746f --- /dev/null +++ b/textproc/sary/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/03/01 08:29:07 obache Exp $ + +SHA1 (sary-1.2.0.tar.gz) = cfc671ca99d58df4ed8985408499f96579af18f3 +RMD160 (sary-1.2.0.tar.gz) = 0c38bf02edb08dabc3577bfde1357ec8821a27f7 +Size (sary-1.2.0.tar.gz) = 393787 bytes |