1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/ftp/lftp/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: lftp
# Date created: 11 September 1997
# Whom: Andrey Zakhvatov
#
1999-08-25 05:57:29 +00:00
# $FreeBSD$
#
2000-04-12 05:31:29 +00:00
PORTNAME= lftp
PORTVERSION= 2.4.6
2000-01-18 12:54:55 +00:00
CATEGORIES= ftp ipv6
MASTER_SITES= ftp://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/ \
${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/network/file-transfer
MAINTAINER= fm@astral.ntu-kpi.kiev.ua
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
USE_BZIP2= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
1998-09-16 12:07:53 +00:00
MAN1= lftp.1
1997-11-30 00:24:02 +00:00
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
post-install:
${INSTALL_DATA} ${WRKSRC}/lftp.conf ${PREFIX}/etc/lftp.conf.sample
2001-05-28 15:41:40 +00:00
# remove some empty directories
${RMDIR} ${PREFIX}/lib/lftp/${PORTVERSION}
2001-05-28 15:41:40 +00:00
${RMDIR} ${PREFIX}/lib/lftp
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/lftp
.for file in COPYING FAQ NEWS README THANKS TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/lftp
.endfor
.endif
.include <bsd.port.mk>