37 lines
870 B
Makefile
37 lines
870 B
Makefile
# $OpenBSD: Makefile,v 1.11 2018/09/04 12:46:09 espie Exp $
|
|
|
|
COMMENT = backup and restoration manager for PostgreSQL
|
|
|
|
MODPY_EGG_VERSION = 2.3
|
|
DISTNAME = barman-${MODPY_EGG_VERSION}
|
|
CATEGORIES = databases
|
|
HOMEPAGE = http://www.pgbarman.org/
|
|
REVISION = 0
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pgbarman/}
|
|
|
|
MODULES = lang/python
|
|
MODPY_SETUPTOOLS = Yes
|
|
RUN_DEPENDS = databases/py-psycopg2 \
|
|
databases/postgresql \
|
|
net/rsync \
|
|
devel/py-dateutil \
|
|
devel/py-argh
|
|
|
|
# needs pytest-timeout and pytest-catchlog
|
|
NO_TEST = Yes
|
|
#TEST_DEPENDS = ${RUN_DEPENDS} \
|
|
# devel/py-test-timeout \
|
|
# devel/py-test-catchlog \
|
|
# devel/py-test-runner \
|
|
# devel/py-setuptools_scm
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/barman
|
|
${INSTALL_DATA} ${WRKSRC}/doc/barman.conf ${PREFIX}/share/examples/barman
|
|
|
|
.include <bsd.port.mk>
|