Portfile

# $Id: Portfile 20293 2006-11-01 17:47:33Z blair@macports.org $

PortSystem 1.0
name hnb
version 1.9.18
categories editors
maintainers css@macports.org

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}
}