2013-03-03 18:38:02 +01:00
|
|
|
# Created by: alepulver
|
2006-10-31 20:05:50 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= filezilla
|
2014-09-21 08:41:29 +02:00
|
|
|
PORTVERSION= 3.9.0.5
|
2006-10-31 20:05:50 +01:00
|
|
|
CATEGORIES= ftp
|
2009-08-22 02:20:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/FileZilla_Client/${PORTVERSION}
|
2008-03-12 03:10:20 +01:00
|
|
|
DISTNAME= FileZilla_${PORTVERSION}_src
|
2006-10-31 20:05:50 +01:00
|
|
|
|
2014-10-23 15:06:38 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-07-25 08:32:06 +02:00
|
|
|
COMMENT= Fast and reliable cross-platform FTP, FTPS, and SFTP client
|
2006-10-31 20:05:50 +01:00
|
|
|
|
2011-08-31 05:42:53 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2010-01-12 02:12:33 +01:00
|
|
|
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
|
2012-06-10 20:42:48 +02:00
|
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
2014-04-21 04:18:06 +02:00
|
|
|
LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
|
|
|
|
libgnutls.so:${PORTSDIR}/security/gnutls \
|
|
|
|
libidn.so:${PORTSDIR}/dns/libidn \
|
|
|
|
libtinyxml.so:${PORTSDIR}/textproc/tinyxml
|
2006-10-31 20:05:50 +01:00
|
|
|
|
2009-02-06 02:06:47 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2014-04-21 04:18:06 +02:00
|
|
|
USES= gmake pkgconfig tar:bzip2
|
2012-11-27 02:21:27 +01:00
|
|
|
USE_SQLITE= 3
|
2014-08-24 11:52:06 +02:00
|
|
|
USE_WX= 3.0
|
2006-10-31 20:05:50 +01:00
|
|
|
WX_CONF_ARGS= relative
|
2010-01-12 02:12:33 +01:00
|
|
|
WX_UNICODE= yes
|
2006-10-31 20:05:50 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-04-07 05:03:02 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2008-03-12 03:10:20 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2012-11-27 02:21:27 +01:00
|
|
|
OPTIONS_DEFINE= DBUS NLS
|
|
|
|
OPTIONS_DEFAULT=DBUS NLS
|
2014-07-03 20:18:02 +02:00
|
|
|
OPTIONS_SUB= yes
|
2009-02-06 02:06:47 +01:00
|
|
|
|
2014-07-03 20:18:02 +02:00
|
|
|
DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
|
|
|
|
DBUS_CONFIGURE_WITH= dbus
|
2012-11-27 02:21:27 +01:00
|
|
|
|
2014-07-03 20:18:02 +02:00
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_OFF= --disable-locales
|
2009-02-06 02:06:47 +01:00
|
|
|
|
2010-02-11 21:11:53 +01:00
|
|
|
.if !defined(MAINTAINER_MODE)
|
|
|
|
CONFIGURE_ARGS+= --disable-manualupdatecheck
|
|
|
|
.endif
|
|
|
|
|
2014-08-24 11:52:06 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
|
2014-09-21 08:41:29 +02:00
|
|
|
USE_GCC= yes
|
2014-08-24 11:52:06 +02:00
|
|
|
.endif
|
|
|
|
|
2006-10-31 20:05:50 +01:00
|
|
|
post-patch:
|
2014-09-21 08:41:29 +02:00
|
|
|
${REINPLACE_CMD} -Ee 's|(dummy) wxrc|\1 ${WXRC_CMD:T}|' \
|
2006-10-31 20:05:50 +01:00
|
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
|
2014-08-24 11:52:06 +02:00
|
|
|
.include <bsd.port.post.mk>
|