Files
haikuports/net-ftp/tnftp/tnftp-20151004.recipe
Humdinger 4d53c259d2 tnftp: Changes to SUMMARY and DESCRIPTION
Also removed "All rights reserved." from the copyright. I don't think
we generally have that useless addition.
2017-04-03 17:46:00 +02:00

76 lines
1.5 KiB
Bash

SUMMARY="NetBSD's command-line FTP client"
DESCRIPTION="NetBSD's FTP client (formerly known as lukemftp) 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="http://ftp.netbsd.org/pub/NetBSD/misc/tnftp/"
COPYRIGHT="2001-2015 The NetBSD Foundation, Inc."
LICENSE="BSD (2-clause)"
REVISION="2"
SOURCE_URI="$HOMEPAGE/tnftp-$portVersion.tar.gz"
CHECKSUM_SHA256="c94a8a49d3f4aec1965feea831d4d5bf6f90c65fd8381ee0863d11a5029a43a0"
PATCHES="tnftp-$portVersion.patch"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
tnftp = $portVersion
cmd:tnftp
"
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:automake
cmd:autoheader
cmd:gcc
cmd:ld
cmd:pkg_config
cmd:libtoolize
cmd:make
"
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
}