ports/devel/github-backup-utils/Makefile
Po-Chuan Hsieh 68478e2ecc
devel/github-backup-utils: Update distinfo
- Bump PORTREVISION for package change

Upstream regenerates the tarball by fixing version (from 3.15.0 to 3.15.1) and adding release notes.
2025-01-29 01:04:44 +08:00

36 lines
952 B
Makefile

PORTNAME= github-backup-utils
PORTVERSION= 3.15.1
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://github.com/github/backup-utils/releases/download/v${PORTVERSION}/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= GitHub Enterprise Backup Utilities
WWW= https://github.com/github/backup-utils
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= bash:shells/bash \
git:devel/git \
rsync:net/rsync
USES= shebangfix
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
SHEBANG_FILES= bin/* share/github-backup-utils/*
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/share/github-backup-utils/ghe-backup-config
do-install:
cd ${WRKSRC}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/backup.config-example ${STAGEDIR}${PREFIX}/etc/github.backup.config.sample
cd ${WRKSRC}/share/github-backup-utils && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>