freebsd-ports/ftp/filezilla/Makefile
Ruslan Makhmatkhanov 0e04b930d9 ftp/filezilla: update to 3.15.0.1
- update to 3.15.0.1
- utilize USES=localbase to set correct CFLAGS/LDFLAGS [1]

PR:		206854
Submitted by:	matthew@reztek.cz (maintainer)
Submitted by:   koobs [1]
2016-02-05 17:47:04 +00:00

50 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= filezilla
PORTVERSION= 3.15.0.1
CATEGORIES= ftp
MASTER_SITES= SF/${PORTNAME}/FileZilla_Client/${PORTVERSION}
DISTNAME= FileZilla_${PORTVERSION}_src
MAINTAINER= matthew@reztek.cz
COMMENT= Fast and reliable cross-platform FTP, FTPS, and SFTP client
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
BUILD_DEPENDS:= ${RUN_DEPENDS}
LIB_DEPENDS= libfilezilla.so:${PORTSDIR}/ftp/libfilezilla \
libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgnutls.so:${PORTSDIR}/security/gnutls \
libidn.so:${PORTSDIR}/dns/libidn \
libpugixml.so:${PORTSDIR}/textproc/pugixml
BROKEN_FreeBSD_9= requires C++14 complier, 9.x lacks C++11 standard library
INSTALLS_ICONS= yes
USES= compiler:c++14-lang gmake localbase pkgconfig sqlite tar:bzip2
USE_WX= 3.0
WX_CONF_ARGS= relative
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DBUS NLS
OPTIONS_DEFAULT=DBUS NLS
OPTIONS_SUB= yes
DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
DBUS_CONFIGURE_WITH= dbus
NLS_USES= gettext
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>