1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00
Serhii (Sergey) Kozlov 29b0ff23a5 Update and adjust shells/ohmyzsh
- Update to 2020-07-22
- Add comments to the patches in files/ [1]
- Use XDG cache directory if present [1]
- Rewrite port description to have something more factual with a bit
  less of hype [1]

PR:		247887 [1]
Submitted by:	fernape, mat [1]
2020-07-22 19:46:00 +00:00

38 lines
830 B
Makefile

# Created by: Serhii (Sergey) Kozlov <skozlov@FreeBSD.org>
# $FreeBSD$
PORTNAME= ohmyzsh
PORTVERSION= 20200722
CATEGORIES= shells
MAINTAINER= skozlov@FreeBSD.org
COMMENT= Community-driven framework for managing your zsh configuration
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= zsh:shells/zsh
USE_GITHUB= yes
GH_TAGNAME= db3d05f
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
post-extract:
${RM} -r ${WRKSRC}/log ${WRKSRC}/cache
.for f in install upgrade uninstall check_for_upgrade
${RM} ${WRKSRC}/tools/${f}.sh
.endfor
post-patch:
${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|g" ${WRKSRC}/templates/zshrc.zsh-template
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} "! -path \./\.* ! -name *\.bak ! -name *\.orig"
.include <bsd.port.mk>