freebsd-ports/ftp/filezilla/Makefile
Bryan Drewery ffa389b8e0 - Update to 3.8.0 [1]
- Convert to staging [1]
- Use new LIB_DEPENDS format [1]
- Remove BSD.local.dist dirs from plist

PR:		ports/186885 [1]
Submitted by:	Matthew Rezny <matthew@reztek.cz> [1]
2014-04-21 02:18:06 +00:00

62 lines
1.4 KiB
Makefile

# Created by: alepulver
# $FreeBSD$
PORTNAME= filezilla
PORTVERSION= 3.8.0
CATEGORIES= ftp
MASTER_SITES= SF/${PORTNAME}/FileZilla_Client/${PORTVERSION}
DISTNAME= FileZilla_${PORTVERSION}_src
MAINTAINER= jsa@FreeBSD.org
COMMENT= Fast and reliable cross-platform FTP, FTPS, and SFTP client
LICENSE= GPLv2
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
BUILD_DEPENDS:= ${RUN_DEPENDS}
LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgnutls.so:${PORTSDIR}/security/gnutls \
libidn.so:${PORTSDIR}/dns/libidn \
libtinyxml.so:${PORTSDIR}/textproc/tinyxml
INSTALLS_ICONS= yes
USES= gmake pkgconfig tar:bzip2
USE_SQLITE= 3
USE_WX= 2.8
WX_CONF_ARGS= relative
WX_UNICODE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DBUS NLS
OPTIONS_DEFAULT=DBUS NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDBUS}
LIB_DEPENDS+= libdbus-1.so:${PORTSDIR}/devel/dbus
CONFIGURE_ARGS+= --with-dbus
.else
CONFIGURE_ARGS+= --without-dbus
.endif
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-locales
PLIST_SUB+= NLS="@comment "
.endif
.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>