Files

45 lines
1.2 KiB
Plaintext

PortSystem 1.0
name hnb
version 1.9.18
revision 1
categories editors
maintainers nomaintainer
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/
license GPL-2
master_sites ${homepage}.files/
checksums md5 702867cb3f94936790493eb948c36412
supported_archs i386 ppc
universal_variant no
depends_lib port:ncurses
use_configure no
build.args CC=${configure.cc} \
CFLAGS="${configure.cflags} \
-DHAVE_CONFIG_H -I${worksrcpath} \
-I${worksrcpath}/src/libcli \
[get_canonical_archflags cc]"
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}
}