Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2020 16:53:19 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r542876 - in branches/2020Q3/shells/git-prompt.zsh: . files
Message-ID:  <202007221653.06MGrJ2s007803@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007221653.06MGrJ2s007803>