svn commit: r542876 - in branches/2020Q3/shells/git-prompt.zsh: . files
Li-Wen Hsu
lwhsu at FreeBSD.org
Wed Jul 22 16:53:20 UTC 2020
Author: lwhsu
Date: Wed Jul 22 16:53:19 2020
New Revision: 542876
URL: https://svnweb.freebsd.org/changeset/ports/542876
Log:
MFH: r542855
Fix pkg-message displaying
PR: 248151
Approved by: jrm (maintainer)
Approved by: ports-secteam (joneum
Modified:
branches/2020Q3/shells/git-prompt.zsh/Makefile
branches/2020Q3/shells/git-prompt.zsh/files/pkg-message.in
Directory Properties:
branches/2020Q3/ (props changed)
Modified: branches/2020Q3/shells/git-prompt.zsh/Makefile
==============================================================================
--- branches/2020Q3/shells/git-prompt.zsh/Makefile Wed Jul 22 16:32:50 2020 (r542875)
+++ branches/2020Q3/shells/git-prompt.zsh/Makefile Wed Jul 22 16:53:19 2020 (r542876)
@@ -3,6 +3,7 @@
PORTNAME= git-prompt.zsh
DISTVERSIONPREFIX= v
DISTVERSION= 2.3.0
+PORTREVISION= 1
CATEGORIES= shells
MAINTAINER= jrm at FreeBSD.org
@@ -21,6 +22,7 @@ NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= ${DATADIR}/${PORTNAME} ${DOCSDIR}/README.md
SUB_FILES= pkg-message
+SUB_LIST+= PORTNAME=${PORTNAME}
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
Modified: branches/2020Q3/shells/git-prompt.zsh/files/pkg-message.in
==============================================================================
--- branches/2020Q3/shells/git-prompt.zsh/files/pkg-message.in Wed Jul 22 16:32:50 2020 (r542875)
+++ branches/2020Q3/shells/git-prompt.zsh/files/pkg-message.in Wed Jul 22 16:53:19 2020 (r542876)
@@ -6,7 +6,7 @@ Final git-prompt.zsh setup instructions:
To add the git status indicator to your prompt, source git-prompt.zsh in
one of your Zsh startup files using
-source %%DATADIR%%${PORTNAME}/${PORTNAME}
+source %%DATADIR%%/%%PORTNAME%%
Next, add ' $(gitprompt)%# ' to the end of the PROMPT value like in the
example below.
More information about the svn-ports-all
mailing list