Index: head/shells/Makefile =================================================================== --- head/shells/Makefile (revision 541476) +++ head/shells/Makefile (revision 541477) @@ -1,63 +1,64 @@ # $FreeBSD$ # COMMENT = Shells SUBDIR += 44bsd-csh SUBDIR += ammonite SUBDIR += antibody SUBDIR += ast-ksh SUBDIR += bash SUBDIR += bash-completion SUBDIR += bash-static SUBDIR += bicon SUBDIR += ch SUBDIR += dash SUBDIR += elvish SUBDIR += envy SUBDIR += es SUBDIR += esh SUBDIR += fd SUBDIR += fish SUBDIR += git-prompt.zsh SUBDIR += heirloom-sh SUBDIR += ibsh SUBDIR += ion SUBDIR += jailkit SUBDIR += klish SUBDIR += ksh2020 SUBDIR += ksh93 SUBDIR += ksh93-devel SUBDIR += lshell SUBDIR += mksh SUBDIR += nologinmsg + SUBDIR += ohmyzsh SUBDIR += oksh SUBDIR += p5-Bash-Completion SUBDIR += p5-Shell-Perl SUBDIR += p5-Term-Bash-Completion-Generator SUBDIR += p5-Term-ShellUI SUBDIR += pdksh SUBDIR += pear-PHP_Shell SUBDIR += poshinit SUBDIR += psh SUBDIR += rc SUBDIR += rush SUBDIR += sash SUBDIR += scponly SUBDIR += starship SUBDIR += tcsh_nls SUBDIR += tcshrc SUBDIR += v7sh SUBDIR += viewglob SUBDIR += vshnu SUBDIR += wcd SUBDIR += xonsh SUBDIR += yash SUBDIR += zsh SUBDIR += zsh-antigen SUBDIR += zsh-autosuggestions SUBDIR += zsh-completions SUBDIR += zsh-navigation-tools SUBDIR += zsh-syntax-highlighting .include Index: head/shells/ohmyzsh/Makefile =================================================================== --- head/shells/ohmyzsh/Makefile (nonexistent) +++ head/shells/ohmyzsh/Makefile (revision 541477) @@ -0,0 +1,37 @@ +# Created by: Serhii (Sergey) Kozlov +# $FreeBSD$ + +PORTNAME= ohmyzsh +PORTVERSION= 20200706 +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= 1c58a746af7a67f311ee47f97285a855eaf18b5e + +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 Property changes on: head/shells/ohmyzsh/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/shells/ohmyzsh/distinfo =================================================================== --- head/shells/ohmyzsh/distinfo (nonexistent) +++ head/shells/ohmyzsh/distinfo (revision 541477) @@ -0,0 +1,3 @@ +TIMESTAMP = 1594050806 +SHA256 (ohmyzsh-ohmyzsh-20200706-1c58a746af7a67f311ee47f97285a855eaf18b5e_GH0.tar.gz) = cc9ce90a0543798715aa972c898d8ef017e131937d28271c9e053fc9360290c1 +SIZE (ohmyzsh-ohmyzsh-20200706-1c58a746af7a67f311ee47f97285a855eaf18b5e_GH0.tar.gz) = 648364 Property changes on: head/shells/ohmyzsh/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/shells/ohmyzsh/files/patch-oh-my-zsh.sh =================================================================== --- head/shells/ohmyzsh/files/patch-oh-my-zsh.sh (nonexistent) +++ head/shells/ohmyzsh/files/patch-oh-my-zsh.sh (revision 541477) @@ -0,0 +1,16 @@ +--- oh-my-zsh.sh.orig 2020-07-06 15:31:40 UTC ++++ oh-my-zsh.sh +@@ -1,12 +1,7 @@ + # Set ZSH_CACHE_DIR to the path where cache files should be created + # or else we will use the default cache/ + if [[ -z "$ZSH_CACHE_DIR" ]]; then +- ZSH_CACHE_DIR="$ZSH/cache" +-fi +- +-# Check for updates on initial load... +-if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then +- source $ZSH/tools/check_for_upgrade.sh ++ ZSH_CACHE_DIR="$HOME/.oh-my-zsh/cache" + fi + + # Initializes Oh My Zsh Property changes on: head/shells/ohmyzsh/files/patch-oh-my-zsh.sh ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/shells/ohmyzsh/files/patch-templates_zshrc.zsh-template =================================================================== --- head/shells/ohmyzsh/files/patch-templates_zshrc.zsh-template (nonexistent) +++ head/shells/ohmyzsh/files/patch-templates_zshrc.zsh-template (revision 541477) @@ -0,0 +1,27 @@ +--- templates/zshrc.zsh-template.orig 2020-07-06 15:31:40 UTC ++++ templates/zshrc.zsh-template +@@ -2,7 +2,7 @@ + # export PATH=$HOME/bin:/usr/local/bin:$PATH + + # Path to your oh-my-zsh installation. +-export ZSH=$HOME/.oh-my-zsh ++export ZSH=%%DATADIR%% + + # Set name of the theme to load --- if set to "random", it will + # load a random theme each time oh-my-zsh is loaded, in which case, +@@ -22,15 +22,6 @@ ZSH_THEME="robbyrussell" + # Uncomment the following line to use hyphen-insensitive completion. + # Case-sensitive completion must be off. _ and - will be interchangeable. + # HYPHEN_INSENSITIVE="true" +- +-# Uncomment the following line to disable bi-weekly auto-update checks. +-# DISABLE_AUTO_UPDATE="true" +- +-# Uncomment the following line to automatically update without prompting. +-# DISABLE_UPDATE_PROMPT="true" +- +-# Uncomment the following line to change how often to auto-update (in days). +-# export UPDATE_ZSH_DAYS=13 + + # Uncomment the following line if pasting URLs and other text is messed up. + # DISABLE_MAGIC_FUNCTIONS="true" Property changes on: head/shells/ohmyzsh/files/patch-templates_zshrc.zsh-template ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/shells/ohmyzsh/files/pkg-message.in =================================================================== --- head/shells/ohmyzsh/files/pkg-message.in (nonexistent) +++ head/shells/ohmyzsh/files/pkg-message.in (revision 541477) @@ -0,0 +1,16 @@ +[ +{ type: install + message: <