# $NetBSD: Makefile,v 1.120 2019/12/31 08:57:26 wiz Exp $ VERSION= 3.46.3 DISTNAME= FileZilla_${VERSION}_src PKGNAME= filezilla-${VERSION} CATEGORIES= net x11 MASTER_SITES= https://download.filezilla-project.org/client/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://filezilla-project.org/ COMMENT= FTP, FTPS, and SFTP client with intuitive GUI LICENSE= gnu-gpl-v2 GNU_CONFIGURE= yes USE_LANGUAGES= c c++17 USE_TOOLS+= gmake pkg-config msgfmt msgmerge xgettext WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} CONFIGURE_ARGS+= --disable-autoupdatecheck # avoid xdg-utils dependency CONFIGURE_ENV+= ac_cv_path_xdgopen=firefox # For C++17. GCC_REQD+= 7 .include "options.mk" # As of 3.41, 64-bit atomic ops are required .if ${MACHINE_ARCH} == "i386" CXXFLAGS+= -march=i586 .endif .include "../../databases/sqlite3/buildlink3.mk" .include "../../devel/libidn/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" BUILDLINK_API_DEPENDS.libfilezilla+= libfilezilla>=0.19.3 .include "../../net/libfilezilla/buildlink3.mk" BUILDLINK_API_DEPENDS.gnutls+= gnutls>=3.4.0 .include "../../security/gnutls/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" BUILDLINK_API_DEPENDS.tinyxml+= tinyxml>=2.6.2nb1 .include "../../textproc/pugixml/buildlink3.mk" BUILDLINK_API_DEPENDS.wxGTK30+= wxGTK30>=3.0.4 .include "../../x11/wxGTK30/buildlink3.mk" .include "../../mk/bsd.pkg.mk"