aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2020-07-22 16:53:19 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2020-07-22 16:53:19 +0000
commitf8e8461e5f38b80312d3c5e16c55f7c4949ae024 (patch)
treefe3dd00398d90727d6bb820a06ec19b1723fed50 /shells
parent617c27f1d801eff128a8368c48ae9a1c9f666a9b (diff)
downloadports-f8e8461e5f38b80312d3c5e16c55f7c4949ae024.tar.gz
ports-f8e8461e5f38b80312d3c5e16c55f7c4949ae024.zip
MFH: r542855
Fix pkg-message displaying PR: 248151 Approved by: jrm (maintainer) Approved by: ports-secteam (joneum
Notes
Notes: svn path=/branches/2020Q3/; revision=542876
Diffstat (limited to 'shells')
-rw-r--r--shells/git-prompt.zsh/Makefile2
-rw-r--r--shells/git-prompt.zsh/files/pkg-message.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/shells/git-prompt.zsh/Makefile b/shells/git-prompt.zsh/Makefile
index 0769e779d989..e6fcf8475ffb 100644
--- a/shells/git-prompt.zsh/Makefile
+++ b/shells/git-prompt.zsh/Makefile
@@ -3,6 +3,7 @@
PORTNAME= git-prompt.zsh
DISTVERSIONPREFIX= v
DISTVERSION= 2.3.0
+PORTREVISION= 1
CATEGORIES= shells
MAINTAINER= jrm@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}
diff --git a/shells/git-prompt.zsh/files/pkg-message.in b/shells/git-prompt.zsh/files/pkg-message.in
index 684ebd3e0ea4..b578f0eb48a3 100644
--- a/shells/git-prompt.zsh/files/pkg-message.in
+++ b/shells/git-prompt.zsh/files/pkg-message.in
@@ -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.