diff options
author | taca <taca> | 2004-05-06 13:22:43 +0000 |
---|---|---|
committer | taca <taca> | 2004-05-06 13:22:43 +0000 |
commit | 11e14782704aec5607357cbf473b00abf8d0244c (patch) | |
tree | bc0a67c8d0827909f5a48bed6d7142960ac417c0 /devel/darts | |
parent | cdf048487057ffa15ca3ad6b3236f4db7dcbc541 (diff) | |
download | pkgsrc-11e14782704aec5607357cbf473b00abf8d0244c.tar.gz |
Importing darts-0.2.
Darts: Double-ARray Trie System
This is a C++ template library that implements Double-Array [Aoe
1989]. Currently only Japanese documentation is provided.
* [Aoe1989] Aoe, J. An Efficient Digital Search Algorithm by Using a
Double-Array Structure. IEEE Transactions on Software
Engineering. Vol. 15, 9 (Sep 1989). pp. 1066-1077.
* [Datrie] Theppitak Karoonboonyanan An Implementation of Double-Array
Triehttp://www.links.nectec.or.th/~thep/datrie/
Diffstat (limited to 'devel/darts')
-rw-r--r-- | devel/darts/DESCR | 11 | ||||
-rw-r--r-- | devel/darts/Makefile | 36 | ||||
-rw-r--r-- | devel/darts/PLIST | 15 | ||||
-rw-r--r-- | devel/darts/buildlink3.mk | 20 | ||||
-rw-r--r-- | devel/darts/distinfo | 4 |
5 files changed, 86 insertions, 0 deletions
diff --git a/devel/darts/DESCR b/devel/darts/DESCR new file mode 100644 index 00000000000..c5b52ea8ddb --- /dev/null +++ b/devel/darts/DESCR @@ -0,0 +1,11 @@ +Darts: Double-ARray Trie System + +This is a C++ template library that implements Double-Array [Aoe +1989]. Currently only Japanese documentation is provided. + +* [Aoe1989] Aoe, J. An Efficient Digital Search Algorithm by Using a + Double-Array Structure. IEEE Transactions on Software + Engineering. Vol. 15, 9 (Sep 1989). pp. 1066-1077. + +* [Datrie] Theppitak Karoonboonyanan An Implementation of Double-Array + Triehttp://www.links.nectec.or.th/~thep/datrie/ diff --git a/devel/darts/Makefile b/devel/darts/Makefile new file mode 100644 index 00000000000..d56aed9c883 --- /dev/null +++ b/devel/darts/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/05/06 13:22:43 taca Exp $ +# $FreeBSD: ports/devel/darts/Makefile,v 1.2 2003/11/20 19:28:29 knu Exp $ +# + +DISTNAME= darts-0.2 +CATEGORIES= devel +MASTER_SITES= http://chasen.org/~taku/software/darts/src/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://chasen.org/~taku/software/darts/ +COMMENT= C++ template library that implements Double-Array + +GNU_CONFIGURE= yes + +DOCDIR= ${PREFIX}/share/doc/darts +HTMLDOCDIR= ${PREFIX}/share/doc/html/darts +EXAMPLESDIR= ${PREFIX}/share/examples/darts +EXAMPLES= darts.cpp mkdarts.cpp +DOCS= AUTHORS ChangeLog README +HTMLDOCS= darts.css index.html + +post-install: + ${INSTALL_DATA_DIR} ${DOCDIR} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR} +.endfor + ${INSTALL_DATA_DIR} ${HTMLDOCDIR} +.for f in ${HTMLDOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${HTMLDOCDIR} +.endfor + ${INSTALL_DATA_DIR} ${EXAMPLESDIR} +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR} +.endfor + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/darts/PLIST b/devel/darts/PLIST new file mode 100644 index 00000000000..925c6c1d8c0 --- /dev/null +++ b/devel/darts/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/06 13:22:43 taca Exp $ +include/darts.h +libexec/darts/darts +libexec/darts/mkdarts +@dirrm libexec/darts +share/doc/darts/AUTHORS +share/doc/darts/ChangeLog +share/doc/darts/README +@dirrm share/doc/darts +share/doc/html/darts/darts.css +share/doc/html/darts/index.html +@dirrm share/doc/html/darts +share/examples/darts/darts.cpp +share/examples/darts/mkdarts.cpp +@dirrm share/examples/darts diff --git a/devel/darts/buildlink3.mk b/devel/darts/buildlink3.mk new file mode 100644 index 00000000000..edecd0b68d5 --- /dev/null +++ b/devel/darts/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/05/06 13:22:43 taca Exp $ + +BUILDLINK_DEPMETHOD.darts?= build + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +DARTS_BUILDLINK3_MK:= ${DARTS_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= darts +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndarts} +BUILDLINK_PACKAGES+= darts + +.if !empty(DARTS_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.darts+= darts>=0.2 +BUILDLINK_PKGSRCDIR.darts?= ../../textproc/darts +.endif # DARTS_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/devel/darts/distinfo b/devel/darts/distinfo new file mode 100644 index 00000000000..b0e297f0fe3 --- /dev/null +++ b/devel/darts/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/05/06 13:22:43 taca Exp $ + +SHA1 (darts-0.2.tar.gz) = bc3ec22e13994fc29fc6564989b32b28810dda9b +Size (darts-0.2.tar.gz) = 237927 bytes |