aboutsummaryrefslogblamecommitdiff
path: root/shells/ohmyzsh/Makefile
blob: ee6b863d26a453fe2d3f3a336ba74e3832f2fada (plain) (tree)
1
2
3
4
5
6
7
                       
                        



                                                                              
                                 






                                     
                                                        



















                                                                                                                 
PORTNAME=	ohmyzsh
PORTVERSION=	20221209
CATEGORIES=	shells

MAINTAINER=	skozlov@FreeBSD.org
COMMENT=	Community-driven framework for managing your zsh configuration
WWW=		https://ohmyz.sh/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

RUN_DEPENDS=	zsh:shells/zsh

USE_GITHUB=	yes
GH_TAGNAME=	f4dc8c5be365668810783ced01a86ff8f251bfd7

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>