Makefile 888 B

12345678910111213141516171819202122232425262728293031
  1. # $OpenBSD: Makefile,v 1.5 2017/04/10 11:46:33 sthen Exp $
  2. COMMENT= Qt GUI to configure YubiKeys
  3. YK_PROJECT= yubikey-personalization-gui
  4. DISTNAME= yubikey-personalization-gui-3.1.24
  5. CATEGORIES= x11
  6. WANTLIB += ICE QtGui SM X11 Xext Xi Xinerama Xrender c fontconfig
  7. WANTLIB += freetype m pthread ${LIBCXX} ykpers-1 yubikey
  8. RUN_DEPENDS= devel/desktop-file-utils
  9. LIB_DEPENDS= security/yubico/yubico-c \
  10. security/yubico/yubikey-personalization
  11. MODULES= devel/qmake x11/qt4
  12. NO_TEST= Yes
  13. R = ${WRKSRC}/resources/lin/yubikey-personalization-gui
  14. do-install:
  15. ${INSTALL_PROGRAM} \
  16. ${WRKBUILD}/build/release/yubikey-personalization-gui ${PREFIX}/bin
  17. cd ${PREFIX}/share && ${INSTALL_DATA_DIR} applications pixmaps
  18. ${INSTALL_DATA} $R.1 ${PREFIX}/man/man1
  19. ${INSTALL_DATA} $R.desktop ${PREFIX}/share/applications
  20. ${INSTALL_DATA} $R.png ${PREFIX}/share/pixmaps
  21. .include <bsd.port.mk>