databases/pgbarman: update to 3.10.0

Upstream are no longer providing the PDF of the barman manual, so
delete the DOCS option.

Changes:	https://github.com/EnterpriseDB/barman/releases/tag/release%2F3.10.0
Reported by:	portscout
This commit is contained in:
Matthew Seaman 2024-01-27 09:01:18 +00:00
parent 4f21bc258f
commit ac41c992c8
2 changed files with 4 additions and 22 deletions

View File

@ -1,7 +1,6 @@
PORTNAME= barman
DISTVERSIONPREFIX= release/
DISTVERSION= 3.9.0
PORTREVISION= 1
DISTVERSION= 3.10.0
CATEGORIES= databases
PKGNAMEPREFIX= pg
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
@ -29,21 +28,10 @@ NO_ARCH= yes
USERS= barman
GROUPS= barman
OPTIONS_DEFINE= DOCS
DOCS_DESC= Install PDF manual
DOCS_VARS= PORTDOCS=barman-${DISTVERSION}-manual.pdf \
MASTER_SITES+=https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/release%2F${DISTVERSION}/:docs \
DISTFILES+=barman-${DISTVERSION}-manual.pdf:docs \
EXTRACT_ONLY=${DISTNAME}${EXTRACT_SUFX}
.include <bsd.port.pre.mk>
PGUSER= pgsql
post-extract-DOCS-on:
${CP} ${DISTDIR}/${PORTDOCS} ${WRKDIR}/
post-patch:
${SED} -i -e "s@%%PREFIX%%@${PREFIX}@" ${WRKSRC}/barman/config.py
${SED} -i -e "s@%%PREFIX%%@${PREFIX}@" ${WRKSRC}/doc/barman.conf
@ -54,8 +42,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/barman.conf \
${STAGEDIR}${ETCDIR}/barman.conf.sample
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>

View File

@ -1,5 +1,3 @@
TIMESTAMP = 1696403434
SHA256 (barman-3.9.0-manual.pdf) = 2a1a35296f2d7abdbdf5a93c36a1a1c9214adbbd6949a42f46e5ac79b87e91f1
SIZE (barman-3.9.0-manual.pdf) = 1194499
SHA256 (EnterpriseDB-barman-release-3.9.0_GH0.tar.gz) = 0b6ee7b89e22d4d4361557c7be8f26828b3d31f90676fc4e35b35ead989215ea
SIZE (EnterpriseDB-barman-release-3.9.0_GH0.tar.gz) = 1819096
TIMESTAMP = 1706294722
SHA256 (EnterpriseDB-barman-release-3.10.0_GH0.tar.gz) = 171c61f24d0ffa0c96427043d91c218afff893a34bfd4ca1cd0c10b768943c8e
SIZE (EnterpriseDB-barman-release-3.10.0_GH0.tar.gz) = 1851778