freebsd-ports/ftp/filezilla/Makefile
Robert Noland 4e75274cbb Update to 3.2.4.1
PR:		134073
Submitted by:	Joseph S. Atkinson (maintainer)
2009-04-30 05:50:24 +00:00

55 lines
1.2 KiB
Makefile

# New ports collection makefile for: filezilla
# Date created: 2006-10-24
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= filezilla
PORTVERSION= 3.2.4.1
CATEGORIES= ftp
MASTER_SITES= SF
DISTNAME= FileZilla_${PORTVERSION}_src
MAINTAINER= jsa@wickedmachine.net
COMMENT= Fast and reliable cross-platform FTP, FTPS and SFTP client
LIB_DEPENDS= gnutls.26:${PORTSDIR}/security/gnutls \
idn.16:${PORTSDIR}/dns/libidn
INSTALLS_ICONS= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_WX= 2.8
WX_CONF_ARGS= relative
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= filezilla.1 fzputtygen.1 fzsftp.1
MAN5= fzdefaults.xml.5
OPTIONS= DBUS "Enable D-BUS intergration" On \
NLS "Native Language Support" On
.if !defined(WITHOUT_DBUS)
LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus
CONFIGURE_ARGS+= --with-dbus
.else
CONFIGURE_ARGS+= --without-dbus
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-locales
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -Ee 's|(dummy) wxrc|\1 ${WXRC_CMD:T}|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>