# $Id: Portfile 44897 2009-01-04 15:32:49Z css@macports.org $

PortSystem 1.0
name			hnb
version			1.9.18
categories		editors
maintainers		css

description		command-line outliner

long_description	Hierarchical notebook (hnb) is a curses program \
	to structure many kinds of data in one place, for example       \
	addresses, to-do lists, ideas, book reviews or to store         \
	snippets of brainstorming.

platforms		darwin
homepage		http://hnb.sourceforge.net/
master_sites		${homepage}.files/
checksums		md5 702867cb3f94936790493eb948c36412
use_configure		no
build.target		

destroot {
	xinstall -m 755 -s ${worksrcpath}/src/${name} ${destroot}${prefix}/bin
	xinstall -m 644 ${worksrcpath}/doc/${name}.1 \
		${destroot}${prefix}/share/man/man1
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} COPYING README VERSION \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath}/doc Documentation.hnb \
		Documentation.html hnbrc \
		${destroot}${prefix}/share/doc/${name}
}
