# $Id: Portfile,v 1.2 2006/03/02 21:40:50 takanori Exp $

PortSystem        1.0
name              darts
version           0.3
categories        devel
maintainers       takanori@opendarwin.org
description       Double-ARray Trie System
long_description  Darts is a C++ Templeate library which can be used to make Double-Array. \
		  Reference: \
		  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
platforms         darwin
homepage          http://chasen.org/~taku/software/darts/
master_sites      http://chasen.org/~taku/software/darts/src/
checksums	  md5 5d5d66072335593412d17313b4a3a7fc \
		  sha1 d28397a7ad4b2705117c02412d777a3257346129 \
		  rmd160 ddcfc2f0eb19ba2b231e01522f1429160be04960

configure.args-append	--libexecdir=${prefix}/lib

post-destroot	{
		xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc

		xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL NEWS README ${destroot}${prefix}/share/doc/${name}
		xinstall -m 644 -W ${worksrcpath}/doc darts.css index.html ${destroot}${prefix}/share/doc/${name}/doc
}
