Makefile 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # $OpenBSD: Makefile,v 1.49 2017/05/31 08:08:17 espie Exp $
  2. COMMENT= fast FTP and SFTP GUI client with a lot of features
  3. BROKEN-hppa= serverpath.h:17:19: error: variable 'CServerPath final' has initializer but incomplete type
  4. BROKEN-alpha= serverpath.h:17:19: error: variable 'CServerPath final' has initializer but incomplete type
  5. V= 3.8.1
  6. PKGNAME= filezilla-$V
  7. DISTNAME= FileZilla_$V_src
  8. EXTRACT_SUFX= .tar.bz2
  9. REVISION= 6
  10. MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
  11. CATEGORIES= net
  12. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=filezilla/}
  13. HOMEPAGE= http://www.filezilla-project.org/
  14. # GPLv2
  15. PERMIT_PACKAGE_CDROM= Yes
  16. WANTLIB += ICE SDL SM X11 Xcomposite Xcursor Xdamage Xext Xfixes
  17. WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo
  18. WANTLIB += dbus-1 expat ffi fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
  19. WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gmp gnutls gobject-2.0
  20. WANTLIB += graphite2 gthread-2.0 gtk-x11-2.0 harfbuzz hogweed
  21. WANTLIB += idn idn2 jpeg m mspack nettle p11-kit pango-1.0 pangocairo-1.0
  22. WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
  23. WANTLIB += sndio sqlite3 ${LIBCXX} tasn1 tiff unistring usbhid wx_base
  24. WANTLIB += wx_base_net wx_base_xml wx_gtk2_adv wx_gtk2_aui wx_gtk2_core
  25. WANTLIB += wx_gtk2_html wx_gtk2_xrc xcb xcb-render xcb-shm z
  26. MODULES= devel/gettext
  27. COMPILER = gcc
  28. LIB_DEPENDS= databases/sqlite3 \
  29. devel/harfbuzz \
  30. devel/libidn \
  31. security/gnutls \
  32. x11/dbus \
  33. x11/wxWidgets>=2.8.6
  34. BUILD_DEPENDS= devel/cppunit \
  35. devel/xdg-utils
  36. RUN_DEPENDS= devel/desktop-file-utils \
  37. devel/xdg-utils \
  38. x11/gtk+3,-guic
  39. SEPARATE_BUILD= Yes
  40. CONFIGURE_STYLE=gnu
  41. CONFIGURE_ARGS+=--with-dbus \
  42. --with-tinyxml=builtin \
  43. --disable-manualupdatecheck
  44. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  45. LDFLAGS="-L${LOCALBASE}/lib" \
  46. GREP=/usr/bin/grep \
  47. SED=/usr/bin/sed
  48. USE_GMAKE= Yes
  49. WRKDIST= ${WRKDIR}/filezilla-$V
  50. FAKE_FLAGS+= docsdir="${PREFIX}/share/examples/filezilla/"
  51. do-test:
  52. @cd ${WRKBUILD}/tests && ${MAKE_PROGRAM} check-TESTS
  53. .include <bsd.port.mk>