diff options
author | VinÃcius Zavam <egypcio@FreeBSD.org> | 2019-07-17 10:37:00 +0000 |
---|---|---|
committer | VinÃcius Zavam <egypcio@FreeBSD.org> | 2019-07-17 10:37:00 +0000 |
commit | 83dc11a7a077f4e48123bbb47b1f557e0d992967 (patch) | |
tree | 1c4e855c6029190cda91c4edb78c38c6d3955e9b | |
parent | f0f622332786602f343188e9567bad8461724d43 (diff) | |
download | ports-83dc11a7a077f4e48123bbb47b1f557e0d992967.tar.gz ports-83dc11a7a077f4e48123bbb47b1f557e0d992967.zip |
sysutils/py-borgmatic: move borgmatic's default config dir to ${PREFIX}
PR: 239002
Notes
Notes:
svn path=/head/; revision=506796
-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> |