blob: a7fd1ef687f1147d1920d7ce95ff5052d45b3010 (
plain)
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
44
45
46
47
48
49
50
51
52
53
54
|
PORTNAME= filezilla
PORTVERSION= 3.40.0
PORTREVISION= 5
CATEGORIES= ftp
MASTER_SITES= https://download.filezilla-project.org/client/
DISTNAME= FileZilla_${PORTVERSION}_src
MAINTAINER= pi@FreeBSD.org
COMMENT= Fast and reliable cross-platform FTP, FTPS, and SFTP client
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${RUN_DEPENDS}
LIB_DEPENDS= libfilezilla.so:ftp/libfilezilla \
libgcrypt.so:security/libgcrypt \
libgnutls.so:security/gnutls \
libidn.so:dns/libidn \
libnettle.so:security/nettle \
libpugixml.so:textproc/pugixml \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
RUN_DEPENDS= xdg-open:devel/xdg-utils
INSTALLS_ICONS= yes
USES= compiler:c++14-lang gmake gnome iconv:wchar_t localbase \
pkgconfig sqlite tar:bzip2
USE_GNOME= cairo gtk20
USE_WX= 3.0
WX_CONF_ARGS= relative
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DBUS NLS
OPTIONS_DEFAULT=DBUS
OPTIONS_SUB= yes
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
DBUS_CONFIGURE_WITH= dbus
NLS_USES= gettext
NLS_USES_OFF= gettext-runtime
NLS_CONFIGURE_OFF= --disable-locales
.if !defined(MAINTAINER_MODE)
CONFIGURE_ARGS+= --disable-manualupdatecheck
.endif
post-patch:
@${REINPLACE_CMD} -Ee 's|(dummy) wxrc|\1 ${WXRC_CMD:T}|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>
|