APP=pinfo
VERSION=0.6.8
BUILD=1sml
HOMEPAGE='http://pinfo.sourceforge.net/'
DOWNLOAD='http://pinfo.sourceforge.net/pinfo-0.6.8.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
"
