Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2020 12:58:46 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r542855 - in head/shells/git-prompt.zsh: . files
Message-ID:  <202007221258.06MCwkVY058436@repo.freebsd.org>

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



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