aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-01 09:33:41 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-01 09:33:41 +0000
commited5a5fec598606ae8ca84b9de51ae5ee9ca97243 (patch)
treeccf4139cc41b5d13439a65c13898b5f2681487e3 /ftp
parent90f9887c7fab146464298c34dd2d7c14c6c35b65 (diff)
downloadports-ed5a5fec598606ae8ca84b9de51ae5ee9ca97243.tar.gz
ports-ed5a5fec598606ae8ca84b9de51ae5ee9ca97243.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/lftp/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/ftp/lftp/Makefile b/ftp/lftp/Makefile
index b2dfa3e9f0a9..f85ec5724166 100644
--- a/ftp/lftp/Makefile
+++ b/ftp/lftp/Makefile
@@ -14,22 +14,26 @@ MASTER_SITE_SUBDIR= system/network/file-transfer
MAINTAINER= cj@vallcom.net
-GNU_CONFIGURE= yes
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
+
USE_BZIP2= yes
USE_OPENSSL= yes
-CONFIGURE_ENV= CXXFLAGS="${CFLAGS}"
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
MAN1= lftp.1
-post-extract:
- @ ${CP} ${FILESDIR}/nameser.h ${WRKSRC}/src
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
post-install:
- @ ${INSTALL_DATA} ${WRKSRC}/lftp.conf ${PREFIX}/etc/lftp.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/lftp.conf ${PREFIX}/etc/lftp.conf.sample
.if !defined(NOPORTDOCS)
- @ ${MKDIR} ${PREFIX}/share/doc/lftp
+ @${MKDIR} ${PREFIX}/share/doc/lftp
.for file in COPYING FAQ NEWS README THANKS TODO
- @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/lftp
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/lftp
.endfor
.endif