Makefile 1023 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD: Makefile,v 1.156 2017/06/15 07:15:09 ajacoutot Exp $
  2. COMMENT= universal command line environment for AWS
  3. MODPY_EGG_VERSION= 1.11.105
  4. DISTNAME= awscli-${MODPY_EGG_VERSION}
  5. CATEGORIES= sysutils
  6. HOMEPAGE= https://aws.amazon.com/cli/
  7. MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
  8. # Apache 2.0
  9. PERMIT_PACKAGE_CDROM= Yes
  10. MODULES= lang/python
  11. MODPY_PI= Yes
  12. MODPY_SETUPTOOLS= Yes
  13. RUN_DEPENDS= security/py-rsa \
  14. textproc/py-docutils \
  15. textproc/py-yaml
  16. # !!! check setup.py for exact dependencies version
  17. RUN_DEPENDS += devel/py-colorama=0.3.7
  18. RUN_DEPENDS += net/py-botocore=1.5.68
  19. RUN_DEPENDS += net/py-s3transfer=0.1.10
  20. NO_TEST= Yes
  21. post-install:
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/bash-completion/completions
  23. mv ${PREFIX}/bin/aws_bash_completer \
  24. ${PREFIX}/share/bash-completion/completions/awscli
  25. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/awscli
  26. mv ${PREFIX}/bin/aws_zsh_completer.sh \
  27. ${PREFIX}/share/examples/awscli
  28. rm ${PREFIX}/bin/aws.cmd
  29. .include <bsd.port.mk>