diff options
-rw-r--r-- | UPDATING | 8 | ||||
-rw-r--r-- | sysutils/py-borgmatic/Makefile | 12 |
2 files changed, 20 insertions, 0 deletions
@@ -6,6 +6,14 @@ You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20190717: + AFFECTS: users of sysutils/py-borgmatic + AUTHOR: egypcio@FreeBSD.org + + The default location for borgmatic's configurations changed. We moved it + from '/etc/borgmatic' to '/usr/local/etc/borgmatic' in order to follow + recommended standards used on FreeBSD. + 20190710: AFFECTS: users with DEFAULT_VERSIONS+=linux=c6 or c6_64 in /etc/make.conf AUTHOR: tij@FreeBSD.org diff --git a/sysutils/py-borgmatic/Makefile b/sysutils/py-borgmatic/Makefile index 81d9d526ca7a..cce8aa7dec57 100644 --- a/sysutils/py-borgmatic/Makefile +++ b/sysutils/py-borgmatic/Makefile @@ -2,6 +2,7 @@ PORTNAME= borgmatic PORTVERSION= 1.3.12 +PORTREVISION= 1 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -21,4 +22,15 @@ USE_PYTHON= autoplist distutils NO_ARCH= yes +post-patch: + @cd ${WRKSRC} && \ + ${REINPLACE_CMD} -e 's|/etc/borgmatic|${PREFIX}/etc/borgmatic|g' \ + borgmatic/commands/borgmatic.py \ + borgmatic/commands/convert_config.py \ + borgmatic/commands/generate_config.py \ + borgmatic/config/collect.py \ + borgmatic/config/convert.py \ + borgmatic/config/schema.yaml \ + tests/unit/config/test_collect.py + .include <bsd.port.mk> |