blob: 59ff47aaa8abcdc56010ab92e2f323cc316efc44 (
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
|
# Created by: Damjan Marion <dmarion@open.hr>
# $FreeBSD$
PORTNAME= gftp
PORTVERSION= 2.0.19
PORTREVISION= 5
CATEGORIES= ftp
MASTER_SITES= http://gftp.seul.org/
MAINTAINER= oliver@FreeBSD.org
COMMENT= Free multithreaded GTK-based FTP and SFTP client
LICENSE= GPLv2
USES= pathfix pkgconfig tar:bzip2
GNU_CONFIGURE= yes
USE_GNOME= glib20 gtk20
USE_OPENSSL= yes
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-nls
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
s|"-lssl |& -lcrypto|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|size_t dest_len|size_t *dest_len|g ; \
s|\(gftp_filename_from_utf8 (gftp_request \* request,\) int force_local,|\1|' \
${WRKSRC}/lib/charset-conv.c
.include <bsd.port.mk>
|