Makefile 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # $OpenBSD: Makefile,v 1.3 2017/03/07 08:53:17 bentley Exp $
  2. COMMENT = simple password store
  3. DISTNAME = password-store-1.7
  4. CATEGORIES = security
  5. HOMEPAGE = http://www.passwordstore.org/
  6. MAINTAINER = David Dahlberg <david+bsd@dahlberg.cologne>
  7. # GPLv2+
  8. PERMIT_PACKAGE_CDROM = Yes
  9. MASTER_SITES = http://git.zx2c4.com/password-store/snapshot/
  10. EXTRACT_SUFX = .tar.xz
  11. RUN_DEPENDS = converters/base64 \
  12. devel/git \
  13. graphics/libqrencode \
  14. misc/gnugetopt \
  15. security/gnupg \
  16. shells/bash \
  17. sysutils/colortree \
  18. x11/xclip
  19. TEST_DEPENDS = ${RUN_DEPENDS}
  20. USE_GMAKE = Yes
  21. FAKE_FLAGS = PREFIX=${PREFIX} MANDIR=${PREFIX}/man \
  22. WITH_BASHCOMP=yes WITH_ZSHCOMP=yes
  23. NO_BUILD = Yes
  24. post-install:
  25. ${INSTALL_DATA_DIR} \
  26. ${PREFIX}/share/{examples,doc}/password-store
  27. ${INSTALL_DATA} \
  28. ${WRKDIST}/COPYING ${PREFIX}/share/doc/password-store/
  29. ${INSTALL_DATA} ${WRKDIST}/README \
  30. ${PREFIX}/share/doc/password-store/
  31. ${INSTALL_DATA_DIR} \
  32. ${PREFIX}/share/examples/password-store/completion \
  33. ${PREFIX}/share/examples/password-store/dmenu \
  34. ${PREFIX}/share/examples/password-store/emacs \
  35. ${PREFIX}/share/examples/password-store/importers \
  36. ${PREFIX}/share/examples/password-store/vim
  37. ${INSTALL_DATA} ${WRKDIST}/contrib/pass.applescript \
  38. ${PREFIX}/share/examples/password-store/
  39. ${INSTALL_DATA} ${WRKDIST}/src/completion/* \
  40. ${PREFIX}/share/examples/password-store/completion/
  41. ${INSTALL_DATA} ${WRKDIST}/contrib/dmenu/* \
  42. ${PREFIX}/share/examples/password-store/dmenu/
  43. ${INSTALL_DATA} ${WRKDIST}/contrib/emacs/* \
  44. ${PREFIX}/share/examples/password-store/emacs/
  45. ${INSTALL_DATA} ${WRKDIST}/contrib/importers/* \
  46. ${PREFIX}/share/examples/password-store/importers/
  47. ${INSTALL_DATA} ${WRKDIST}/contrib/vim/* \
  48. ${PREFIX}/share/examples/password-store/vim/
  49. .include <bsd.port.mk>