e59c88cece
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
69 lines
1.7 KiB
Makefile
69 lines
1.7 KiB
Makefile
# Created by: Andrey Zakhvatov
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lftp
|
|
PORTVERSION= 4.8.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= ftp ipv6
|
|
MASTER_SITES= http://lftp.tech/ftp/ \
|
|
http://lftp.tech/ftp/old/ \
|
|
http://lftp.cybermirror.org/ \
|
|
http://lftp.cybermirror.org/old/ \
|
|
http://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/ \
|
|
http://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/old/ \
|
|
http://ftp.tuwien.ac.at/infosys/browsers/ftp/lftp/ \
|
|
ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/
|
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
|
COMMENT= Shell-like command line ftp client
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libexpat.so:textproc/expat2 \
|
|
libidn.so:dns/libidn
|
|
|
|
USES= charsetfix iconv libtool localbase readline shebangfix
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= ac_cv_type_max_align_t=yes
|
|
|
|
PORTDOCS= AUTHORS BUGS ChangeLog FAQ FEATURES INSTALL \
|
|
MIRRORS NEWS README README.debug-levels README.modules \
|
|
THANKS TODO
|
|
|
|
SHEBANG_FILES= src/verify-file \
|
|
src/convert-mozilla-cookies \
|
|
src/xdg-move
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_RADIO= SSL
|
|
OPTIONS_RADIO_SSL= OPENSSL GNUTLS
|
|
OPTIONS_DEFAULT= SSL OPENSSL
|
|
OPTIONS_SUB= yes
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
OPENSSL_CONFIGURE_WITH= openssl
|
|
OPENSSL_USES= ssl
|
|
GNUTLS_CONFIGURE_WITH= gnutls
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
|
|
GNUTLS_USES= pkgconfig
|
|
|
|
post-install:
|
|
${MV} ${STAGEDIR}${PREFIX}/etc/lftp.conf \
|
|
${STAGEDIR}${PREFIX}/etc/lftp.conf.sample
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == powerpc64
|
|
USE_GCC= yes
|
|
.endif
|
|
|
|
.if ${SSL_DEFAULT:Mopenssl-devel}
|
|
BROKEN= Does not build with openssl-devel
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|