- update maintainer email address - remove ${PREFIX}/share/{icons,applications} to get a clean CLI application on sthen@'s request. ok sthen@
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.121 2017/10/16 22:01:13 rsadowski Exp $
|
|
|
|
COMMENT= shell-like command line ftp and sftp client
|
|
|
|
DISTNAME= lftp-4.8.3
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= https://lftp.tech/
|
|
|
|
MAINTAINER= Rafael Sadowski <rsadowski@openbsd.org>
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} c crypto curses ereadline expat
|
|
WANTLIB += iconv idn2 intl m ssl unistring util z
|
|
|
|
# lftp needs add_history_time()
|
|
LIB_DEPENDS= devel/libidn2 \
|
|
devel/gettext \
|
|
devel/readline>=6.1p2
|
|
|
|
MASTER_SITES= http://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/ \
|
|
http://lftp.yar.ru/ftp/ \
|
|
ftp://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/
|
|
|
|
LIBTOOL_FLAGS= --tag=disable-shared
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --with-openssl \
|
|
--without-gnutls \
|
|
--disable-shared
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ereadline -I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
NO_TEST= Yes
|
|
|
|
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/lftp
|
|
|
|
post-install:
|
|
rm -rf ${PREFIX}/lib/liblftp-{jobs,tasks}.{a,la} \
|
|
${PREFIX}/share/{icons,applications}
|
|
|
|
.include <bsd.port.mk>
|