Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # $OpenBSD: Makefile,v 1.22 2016/12/28 21:29:53 zhuk Exp $
  2. COMMENT = fast Qt IMAP e-mail client
  3. DISTNAME = trojita-0.7
  4. REVISION = 1
  5. SHARED_LIBS = trojita_plugins 2.0 # 2.0
  6. CATEGORIES = mail x11
  7. HOMEPAGE = http://trojita.flaska.net/
  8. MAINTAINER = Caspar Schutijser <caspar@schutijser.com>
  9. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=trojita/}
  10. EXTRACT_SUFX = .tar.xz
  11. # GPLv2+
  12. PERMIT_PACKAGE_CDROM = Yes
  13. WANTLIB += c m pthread z KF5Gpgmepp-pthread KF5QGpgme
  14. WANTLIB += Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Sql Qt5WebKit
  15. WANTLIB += Qt5WebKitWidgets Qt5Widgets qt5keychain gpg-error
  16. WANTLIB += gpgme-pthread mimetic assuan
  17. MODULES = devel/cmake x11/qt5
  18. BUILD_DEPENDS = x11/qt5/qtsvg
  19. RUN_DEPENDS = devel/desktop-file-utils \
  20. x11/gtk+3,-guic \
  21. x11/qt5/qtsvg
  22. LIB_DEPENDS = mail/mimetic \
  23. security/qtkeychain,qt5 \
  24. x11/kde-applications/gpgmepp \
  25. x11/qt5/qtwebkit
  26. CONFIGURE_ENV += QTDIR="${MODQT_LIBDIR}"
  27. CONFIGURE_ARGS += -DWITH_RAGEL=OFF \
  28. -DGIT_EXECUTABLE=""
  29. TEST_IS_INTERACTIVE = X11
  30. post-configure:
  31. ln -sf ${MODQT_LIBDIR}/bin/lconvert ${WRKDIR}/bin
  32. do-test:
  33. cd ${WRKBUILD} && ${LOCALBASE}/bin/ctest --output-on-failure
  34. .include <bsd.port.mk>