Makefile 912 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # $OpenBSD: Makefile,v 1.7 2017/04/10 11:46:33 sthen Exp $
  2. COMMENT = Qt API to store passwords and other secret data
  3. GH_ACCOUNT = frankosterfeld
  4. GH_PROJECT = qtkeychain
  5. GH_TAGNAME = v0.7.0
  6. SHARED_LIBS += qtkeychain 1.0 # 0.4
  7. SHARED_LIBS += qt5keychain 1.0 # 0.4
  8. CATEGORIES = security
  9. MAINTAINER = Kirill Bychkov <kirby@openbsd.org>
  10. # BSD-like
  11. PERMIT_PACKAGE_CDROM = Yes
  12. WANTLIB = m
  13. MODULES = devel/cmake
  14. FLAVORS = qt5
  15. FLAVOR ?=
  16. .if ${FLAVOR:Mqt5}
  17. FULLPKGNAME = qtkeychain-qt5-${GH_TAGNAME:S/v//}
  18. MODULES += x11/qt5
  19. WANTLIB += Qt5Core Qt5DBus
  20. LIBNAME = Qt5Keychain
  21. LIBNAME_L = qt5keychain
  22. QT = qt5
  23. CONFIGURE_ARGS += -DBUILD_WITH_QT4=OFF
  24. .else
  25. MODULES += x11/qt4
  26. WANTLIB += QtDBus ${LIBCXX}
  27. CONFIGURE_ARGS += -DBUILD_WITH_QT4=ON
  28. LIBNAME = QtKeychain
  29. LIBNAME_L = qtkeychain
  30. QT = qt4
  31. .endif
  32. SUBST_VARS += LIBNAME LIBNAME_L QT
  33. NO_TEST = Yes
  34. .include <bsd.port.mk>