sysutils/py-borgmatic: move borgmatic's default config dir to ${PREFIX}
PR: 239002
This commit is contained in:
parent
f0f6223327
commit
83dc11a7a0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506796
8
UPDATING
8
UPDATING
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user