77 lines
1.5 KiB
Bash
77 lines
1.5 KiB
Bash
SUMMARY="NetBSD's command-line FTP client"
|
|
DESCRIPTION="FTP client with several advanced features, like:
|
|
|
|
- command-line editing
|
|
- command-line fetches of FTP and HTTP URLs (including via proxies)
|
|
- command-line uploads of FTP URLs
|
|
- context-sensitive word completion
|
|
- dynamic progress bar
|
|
- IPv6 support
|
|
- modification time preservation
|
|
- paging of local and remote files
|
|
- passive mode support (with fallback to active mode)
|
|
- SOCKS support
|
|
- TIS FWTK gate-ftp server support
|
|
- transfer rate throttling."
|
|
HOMEPAGE="https://ftp.netbsd.org/pub/NetBSD/misc/tnftp/"
|
|
COPYRIGHT="2001-2015 The NetBSD Foundation, Inc."
|
|
LICENSE="BSD (2-clause)"
|
|
REVISION="6"
|
|
SOURCE_URI="$HOMEPAGE/tnftp-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="c94a8a49d3f4aec1965feea831d4d5bf6f90c65fd8381ee0863d11a5029a43a0"
|
|
PATCHES="tnftp-$portVersion.patch"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
tnftp = $portVersion
|
|
cmd:tnftp
|
|
cmd:ftp
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libcrypto
|
|
lib:libncurses
|
|
lib:libssl
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libcrypto
|
|
devel:libncurses
|
|
devel:libssl
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:autoheader
|
|
cmd:automake
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:libtoolize
|
|
cmd:make
|
|
cmd:pkg_config
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
export LDFLAGS="-lnetwork"
|
|
export CFLAGS="-D_BSD_SOURCE"
|
|
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
automake --add-missing
|
|
autoheader
|
|
runConfigure ./configure \
|
|
--enable-ssl \
|
|
--enable-editcomplete
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
ln -s $binDir/tnftp $binDir/ftp
|
|
}
|