mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
38 lines
830 B
Makefile
38 lines
830 B
Makefile
# Created by: Serhii (Sergey) Kozlov <skozlov@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ohmyzsh
|
|
PORTVERSION= 20200926
|
|
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= cacf5d0
|
|
|
|
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>
|