app=pinfo
version=0.6.8
build=1sml
homepage="http://pinfo.sourceforge.net/"
download="http://pinfo.sourceforge.net/pinfo-$version.tar.gz"
desc="Ncurses-based lynx-styled info and document viewer"
requires="netbsd-curses"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --mandir=/share/man \
    --disable-nls 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
4a0c41e8724a24323e2b069dabdfc757f4f041f67b2a15c41d75e26dbfe150dfac622bc0b764b542122d0c5979fdc452abf2056e89414f1d074900aeb41a1f82  pinfo-0.6.8.tar.lz
"
