pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/darts Importing darts-0.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee5cf59003f9
branches:  trunk
changeset: 474839:ee5cf59003f9
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu May 06 13:22:43 2004 +0000

description:
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:

 devel/darts/DESCR         |  11 +++++++++++
 devel/darts/Makefile      |  36 ++++++++++++++++++++++++++++++++++++
 devel/darts/PLIST         |  15 +++++++++++++++
 devel/darts/buildlink3.mk |  20 ++++++++++++++++++++
 devel/darts/distinfo      |   4 ++++
 5 files changed, 86 insertions(+), 0 deletions(-)

diffs (106 lines):

diff -r 398f295eca88 -r ee5cf59003f9 devel/darts/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/darts/DESCR Thu May 06 13:22:43 2004 +0000
@@ -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 -r 398f295eca88 -r ee5cf59003f9 devel/darts/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/darts/Makefile      Thu May 06 13:22:43 2004 +0000
@@ -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@localhost
+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 -r 398f295eca88 -r ee5cf59003f9 devel/darts/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/darts/PLIST Thu May 06 13:22:43 2004 +0000
@@ -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 -r 398f295eca88 -r ee5cf59003f9 devel/darts/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/darts/buildlink3.mk Thu May 06 13:22:43 2004 +0000
@@ -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 -r 398f295eca88 -r ee5cf59003f9 devel/darts/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/darts/distinfo      Thu May 06 13:22:43 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index