freebsd-ports/ftp/filezilla/Makefile
Joseph S. Atkinson fcf0aec7ae Updted FileZilla to 3.6.0.1 and convert to OptionsNG format.
Reviewed by:	kwm (mentor)
Approved by:	wxs (mentor)
Feature safe:	yes
2012-11-27 01:21:27 +00:00

71 lines
1.5 KiB
Makefile

# New ports collection makefile for: filezilla
# Date created: 2006-10-24
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= filezilla
PORTVERSION= 3.6.0.1
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= gcrypt:${PORTSDIR}/security/libgcrypt \
gnutls:${PORTSDIR}/security/gnutls \
idn:${PORTSDIR}/dns/libidn \
tinyxml:${PORTSDIR}/textproc/tinyxml
MAKE_JOBS_SAFE= yes
INSTALLS_ICONS= yes
USE_BZIP2= yes
USE_GMAKE= yes
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}
MAN1= filezilla.1 fzputtygen.1 fzsftp.1
MAN5= fzdefaults.xml.5
OPTIONS_DEFINE= DBUS NLS
OPTIONS_DEFAULT=DBUS NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDBUS}
LIB_DEPENDS+= dbus-1:${PORTSDIR}/devel/dbus
CONFIGURE_ARGS+= --with-dbus
.else
CONFIGURE_ARGS+= --without-dbus
.endif
.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
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>