Makefile 984 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $OpenBSD: Makefile,v 1.8 2017/03/17 07:15:01 ajacoutot Exp $
  2. COMMENT = backup and restoration manager for PostgreSQL
  3. MODPY_EGG_VERSION = 1.6.0
  4. DISTNAME = barman-${MODPY_EGG_VERSION}
  5. CATEGORIES = databases
  6. HOMEPAGE = http://www.pgbarman.org/
  7. REVISION = 0
  8. # GPLv3
  9. PERMIT_PACKAGE_CDROM = Yes
  10. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pgbarman/}
  11. MODULES = lang/python
  12. MODPY_SETUPTOOLS = Yes
  13. RUN_DEPENDS = databases/py-psycopg2 \
  14. databases/postgresql \
  15. net/rsync \
  16. devel/py-dateutil \
  17. devel/py-argh
  18. # needs pytest-timeout and pytest-catchlog
  19. NO_TEST = Yes
  20. #TEST_DEPENDS = ${RUN_DEPENDS} \
  21. # devel/py-test-timeout \
  22. # devel/py-test-catchlog \
  23. # devel/py-test-runner \
  24. # devel/py-setuptools_scm
  25. post-install:
  26. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/barman
  27. ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/barman
  28. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/barman
  29. ${INSTALL_DATA} ${WRKSRC}/doc/barman.conf ${PREFIX}/share/examples/barman
  30. .include <bsd.port.mk>