summaryrefslogtreecommitdiff
path: root/ftp/filezilla
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-03 18:18:02 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-03 18:18:02 +0000
commit660fc56a8271307f10301a4a1f1978186d01f4c5 (patch)
treeb536625912e0dbf4d80e3e4ce6844a97d066e3da /ftp/filezilla
parentAdd sanity check to match LIB_DEPENDS C++ library against ours. (diff)
Resolve unnecessary bsd.port.options.mk inclusion by using OPTIONS helpers.
Approved by: portmgr (blanket)
Notes
Notes: svn path=/head/; revision=360440
Diffstat (limited to 'ftp/filezilla')
-rw-r--r--ftp/filezilla/Makefile20
1 files changed, 5 insertions, 15 deletions
diff --git a/ftp/filezilla/Makefile b/ftp/filezilla/Makefile
index 827b00c685a9..0ec3398f65ca 100644
--- a/ftp/filezilla/Makefile
+++ b/ftp/filezilla/Makefile
@@ -33,23 +33,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DBUS NLS
OPTIONS_DEFAULT=DBUS NLS
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
+DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
+DBUS_CONFIGURE_WITH= dbus
-.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
+NLS_USES= gettext
+NLS_CONFIGURE_OFF= --disable-locales
.if !defined(MAINTAINER_MODE)
CONFIGURE_ARGS+= --disable-manualupdatecheck