ff2f25e895
Updates since 3.3.0 * Improve and harden alt file regeneration * Fix "yadm config" in fish completion * Fix "yadm clone" when not run in "$YADM_WORK" * Output the actual paths in help message * Verify all alt conditions for templates * Ignore case in alt and default template conditions * Fall back to ID for distro family if ID_LIKE is not available * Support overriding distro and distro family * Improve support for Bash 3 * Make "yadm clone --recursive" work as expected * Don't include files multiple times in archive * Document YADM_HOOK_DATA and YADM_HOOK_DIR env variables * Support alt dirs with deeply nested tracked files * Silence warnings when collecting alt files * Adjust handling of encrypt patterns to match 3.3.0 and older * Make encrypt exclude patterns only match encrypted files * Automatically exclude alt and template files * Support negative alt conditions * Handle filenames with space in bash completion * Add new yadm.filename template variable Changelog: https://github.com/yadm-dev/yadm/releases/tag/3.4.0 Changelog: https://github.com/yadm-dev/yadm/releases/tag/3.5.0 Approved by: vendion@gmail.com (maintainer timeout) PR: 294185 Event: Wiesbaden Hackathon 202604
39 lines
755 B
Makefile
39 lines
755 B
Makefile
PORTNAME= yadm
|
|
PORTVERSION= 3.5.0
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= vendion@gmail.com
|
|
COMMENT= Yet Another Dotfiles Manager
|
|
WWW= https://yadm.io/
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= bash:shells/bash \
|
|
git:devel/git
|
|
|
|
USES= cpe
|
|
CPE_VENDOR= ${PORTNAME}_project
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= yadm-dev
|
|
|
|
PLIST_FILES= bin/yadm \
|
|
share/man/man1/yadm.1.gz
|
|
|
|
OPTIONS_DEFINE= J2CTL
|
|
|
|
J2CTL_DESC= Enable Jinja2 powered template files
|
|
J2CTL_RUN_DEPENDS= j2:textproc/py-j2cli@${PY_FLAVOR}
|
|
J2CTL_USES= python
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/yadm.1 \
|
|
${STAGEDIR}${PREFIX}/share/man/man1/
|
|
${INSTALL_SCRIPT} ${WRKSRC}/yadm \
|
|
${STAGEDIR}${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|