aboutsummaryrefslogtreecommitdiffstats
path: root/devel/darts
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-04-02 20:03:44 +0800
committerknu <knu@FreeBSD.org>2003-04-02 20:03:44 +0800
commit192e27ca86344dae90bdd9c89dd69a5cd748d81e (patch)
tree03d092504dc988cf791bc31b24020697b8276434 /devel/darts
parent75569bff8b62dbd0d7bab5c708143d3f84b1891a (diff)
downloadfreebsd-ports-gnome-192e27ca86344dae90bdd9c89dd69a5cd748d81e.tar.gz
freebsd-ports-gnome-192e27ca86344dae90bdd9c89dd69a5cd748d81e.tar.zst
freebsd-ports-gnome-192e27ca86344dae90bdd9c89dd69a5cd748d81e.zip
Add darts, a C++ template library that implements Double-Array.
Diffstat (limited to 'devel/darts')
-rw-r--r--devel/darts/Makefile33
-rw-r--r--devel/darts/distinfo1
-rw-r--r--devel/darts/pkg-descr14
-rw-r--r--devel/darts/pkg-plist14
4 files changed, 62 insertions, 0 deletions
diff --git a/devel/darts/Makefile b/devel/darts/Makefile
new file mode 100644
index 000000000000..1f3fef7b2cf8
--- /dev/null
+++ b/devel/darts/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: darts
+# Date created: 2 April 2003
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= darts
+PORTVERSION= 0.1
+CATEGORIES= devel
+MASTER_SITES= http://cl.aist-nara.ac.jp/~taku-ku/software/darts/src/
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= A C++ template library that implements Double-Array
+
+GNU_CONFIGURE= yes
+
+EXAMPLES= darts.cpp mkdarts.cpp
+DOCS= AUTHORS ChangeLog README doc
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${EXAMPLESDIR}
+.for f in ${EXAMPLES}
+ ${CP} -R ${WRKSRC}/${f} ${EXAMPLESDIR}/
+.endfor
+ ${MKDIR} ${DOCSDIR}
+.for f in ${DOCS}
+ ${CP} -R ${WRKSRC}/${f} ${DOCSDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/darts/distinfo b/devel/darts/distinfo
new file mode 100644
index 000000000000..86566b170bf1
--- /dev/null
+++ b/devel/darts/distinfo
@@ -0,0 +1 @@
+MD5 (darts-0.1.tar.gz) = 59524c36c2d71ccc6539619ae0f251ea
diff --git a/devel/darts/pkg-descr b/devel/darts/pkg-descr
new file mode 100644
index 000000000000..f259f3fa62e4
--- /dev/null
+++ b/devel/darts/pkg-descr
@@ -0,0 +1,14 @@
+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/
+
+Author: Taku Kudoh <taku-ku@is.aist-nara.ac.jp>
+WWW: http://cl.aist-nara.ac.jp/~taku-ku/software/darts/
diff --git a/devel/darts/pkg-plist b/devel/darts/pkg-plist
new file mode 100644
index 000000000000..833cd9b38b9b
--- /dev/null
+++ b/devel/darts/pkg-plist
@@ -0,0 +1,14 @@
+include/darts.h
+libexec/darts/darts
+libexec/darts/mkdarts
+@dirrm libexec/darts
+%%PORTDOCS%%%%EXAMPLESDIR%%/darts.cpp
+%%PORTDOCS%%%%EXAMPLESDIR%%/mkdarts.cpp
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/doc/darts.css
+%%PORTDOCS%%%%DOCSDIR%%/doc/index.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc
+%%PORTDOCS%%@dirrm %%DOCSDIR%%