jca 88994efc68 Update to lftp-4.5.3, from Rafael Sadowski.
While here:
- remove MAINTAINER, mail address bounces
- fix (rather, hack) libssl detection which got broken with the removal
  of RAND_egd
ok sthen@
2014-08-10 21:50:41 +00:00

36 lines
804 B
Makefile

# $OpenBSD: Makefile,v 1.98 2014/08/10 21:50:41 jca Exp $
COMMENT= shell-like command line ftp and sftp client
DISTNAME= lftp-4.5.3
CATEGORIES= net
HOMEPAGE= http://lftp.yar.ru/
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c crypto curses expat m ereadline ssl stdc++ util z
# lftp needs add_history_time()
LIB_DEPENDS= devel/readline>=6.1p2
MASTER_SITES= http://lftp.yar.ru/ftp/
LIBTOOL_FLAGS= --tag=disable-shared
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-openssl \
--without-gnutls \
--disable-shared
# XXX hack to get rid of RAND_egd
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ereadline -I${LOCALBASE}/include \
-DRAND_egd\(f\)=-1" LDFLAGS="-L${LOCALBASE}/lib"
MODULES= devel/gettext
NO_TEST= Yes
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/lftp
.include <bsd.port.mk>