svn commit: r542855 - in head/shells/git-prompt.zsh: . files
Li-Wen Hsu
lwhsu at FreeBSD.org
Wed Jul 22 12:58:47 UTC 2020
Author: lwhsu
Date: Wed Jul 22 12:58:46 2020
New Revision: 542855
URL: https://svnweb.freebsd.org/changeset/ports/542855
Log:
Fix pkg-message displaying
PR: 248151
Approved by: jrm (maintainer)
MFH: 2020Q3
Modified:
head/shells/git-prompt.zsh/Makefile
head/shells/git-prompt.zsh/files/pkg-message.in
Modified: head/shells/git-prompt.zsh/Makefile
==============================================================================
--- head/shells/git-prompt.zsh/Makefile Wed Jul 22 12:56:18 2020 (r542854)
+++ head/shells/git-prompt.zsh/Makefile Wed Jul 22 12:58:46 2020 (r542855)
@@ -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: head/shells/git-prompt.zsh/files/pkg-message.in
==============================================================================
--- head/shells/git-prompt.zsh/files/pkg-message.in Wed Jul 22 12:56:18 2020 (r542854)
+++ head/shells/git-prompt.zsh/files/pkg-message.in Wed Jul 22 12:58:46 2020 (r542855)
@@ -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