From 7bec851de4ff39f4a8ee53b54139df87f2b7918c Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Wed, 22 Jul 2020 12:58:46 +0000 Subject: Fix pkg-message displaying PR: 248151 Approved by: jrm (maintainer) MFH: 2020Q3 --- shells/git-prompt.zsh/Makefile | 2 ++ shells/git-prompt.zsh/files/pkg-message.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'shells/git-prompt.zsh') 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. -- cgit v1.2.3