PKGNAME=wput
PKGSEC=web
PKGDEP="gnutls"
PKGDES="Command-line to upload files to FTP sites"

# Note: Incomplete but genuine Autotools source tree.
ABTYPE=autotools

# FIXME: Re-generation fails.
#
# autoheader: warning: missing template: HAVE_IOCTL
# autoheader: warning: Use AC_DEFINE([HAVE_IOCTL], [], [Description])
# autoheader: warning: missing template: HAVE_SSL
# autoheader: warning: missing template: HAVE_SYSTERMIO
# autoheader: warning: missing template: HAVE_TERMIO
# autoheader: warning: missing template: HAVE_WINSIZE
# autoreconf: error: /usr/bin/autoheader failed with exit status: 1
RECONF=0

# FIXME: make[1]: *** No rule to make target 'wput.h', needed by 'wput.o'.  Stop.
ABSHADOW=0

# Note: Not all installation paths follow DESTDIR=.
MAKE_AFTER=(
    "prefix=$PKGDIR/usr"
    "bindir=$PKGDIR/usr/bin"
    "mandir=$PKGDIR/usr/share/man"
)
