APP=texinfo
VERSION=6.7
BUILD=1sml
HOMEPAGE="https://www.gnu.org/software/texinfo/"
DOWNLOAD="https://ftp.gnu.org/gnu/texinfo/texinfo-6.7.tar.xz"
DESC="GNU software documentation system"
REQUIRES="netbsd-curses perl gzip"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --disable-nls 

  make
  make install DESTDIR=$PKG

  cp AUTHORS COPYING NEWS README* TODO $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
c1cba6894164fb9e09f000d5af287b7d324d15a0034d4145959b76fcd1e4ca671c201aa0725e8f99c51ac468e59467ebf950e2bc11ed4a07f15f6c838defd855  texinfo-6.7.tar.lz
"
