blob: 471499a3818502abf042543690924280a290c9b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# New ports collection makefile for: lftp
# Date created: 11 September 1997
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= lftp
PORTVERSION= 2.3.11
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= calle.madestrand@norrgarden.se
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"
MAN1= lftp.1
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
# remove some empty directories
${RMDIR} ${PREFIX}/lib/lftp/2.3.11
${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>
|