diff options
author | mnag <mnag@FreeBSD.org> | 2005-09-19 01:53:32 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2005-09-19 01:53:32 +0800 |
commit | 4b1f8d2cf5e8dc1afbf5c823bf3bdd7d68adffd7 (patch) | |
tree | 653c6debe9dba6b1e5b2928a0359d98d5778ecef /ftp/lftp | |
parent | ba6dbde123cb6d77e47119e3e1a6d2c612fc7440 (diff) | |
download | freebsd-ports-gnome-4b1f8d2cf5e8dc1afbf5c823bf3bdd7d68adffd7.tar.gz freebsd-ports-gnome-4b1f8d2cf5e8dc1afbf5c823bf3bdd7d68adffd7.tar.zst freebsd-ports-gnome-4b1f8d2cf5e8dc1afbf5c823bf3bdd7d68adffd7.zip |
Use OPTIONS
Add textproc/expat2 in LIB_DEPENDS
PR: ports/82837
Submmited by: Dmitry A Grigorovich <odip@bionet.nsc.ru>
Approved by: pav (mentor), fm@cross-road.org.ua (maintainer timeout, 79 days)
Diffstat (limited to 'ftp/lftp')
-rw-r--r-- | ftp/lftp/Makefile | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/ftp/lftp/Makefile b/ftp/lftp/Makefile index da55359362d0..dc7229363811 100644 --- a/ftp/lftp/Makefile +++ b/ftp/lftp/Makefile @@ -7,6 +7,7 @@ PORTNAME= lftp PORTVERSION= 3.2.1 +PORTREVISION= 1 CATEGORIES= ftp ipv6 MASTER_SITES= ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/ \ ftp://ftp.phear.org/pub/linux/networking/ftp/client/lftp/ \ @@ -36,24 +37,35 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= fm@cross-road.org.ua COMMENT= Shell-like command line ftp client +LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 + USE_BZIP2= yes USE_GPG?= yes SIG_FILES= ${DISTNAME}${EXTRACT_SUFX}.asc +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +OPTIONS= GNUTLS "With GnutTLS support" off \ + OPENSSL "With OpenSSL support" on \ + SOCKS4 "With socks4 support" off \ + SOCKS5 "With socks5 support" off \ + SOCKS_DANTE "With socksdante support" off \ + NLS "With i18n support" on + +.include <bsd.port.pre.mk> + .if defined(WITH_GNUTLS) CONFIGURE_ARGS+= --with-gnutls LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls .endif .if defined(WITH_OPENSSL) +.include "${PORTSDIR}/Mk/bsd.openssl.mk" CONFIGURE_ARGS+= --with-openssl -USE_OPENSSL= yes .endif -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" - .if defined(WITH_SOCKS4) CONFIGURE_ARGS+= --with-socks .endif @@ -83,4 +95,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |