Index: head/shells/git-prompt.zsh/Makefile =================================================================== --- head/shells/git-prompt.zsh/Makefile (revision 505290) +++ head/shells/git-prompt.zsh/Makefile (revision 505291) @@ -1,28 +1,32 @@ # $FreeBSD$ PORTNAME= git-prompt.zsh DISTVERSIONPREFIX= v DISTVERSION= 2.1.0 +PORTREVISION= 1 CATEGORIES= shells MAINTAINER= jrm@FreeBSD.org COMMENT= Fast, customizable, pure-shell, asynchronous Git prompt for Zsh LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= zsh>=4.3:shells/zsh \ git>=2.11.0:devel/git USE_GITHUB= yes GH_ACCOUNT= woefe NO_ARCH= yes NO_BUILD= yes -PLIST_FILES= ${DATADIR}/${PORTNAME} +PLIST_FILES= ${DATADIR}/${PORTNAME} ${DOCSDIR}/README.md +SUB_FILES= pkg-message do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}/${DOCSDIR} .include Index: head/shells/git-prompt.zsh/files/pkg-message.in =================================================================== --- head/shells/git-prompt.zsh/files/pkg-message.in (nonexistent) +++ head/shells/git-prompt.zsh/files/pkg-message.in (revision 505291) @@ -0,0 +1,21 @@ +============================================================= + +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} + +Next, add ' $(gitprompt)%# ' to the end of the PROMPT value +like in the example below. + +PROMPT='%n@%m %~ $(gitprompt)%# ' + +For details, refer to + +%%DOCSDIR%%/README.md + +or + +https://github.com/woefe/git-prompt.zsh + +============================================================= Property changes on: head/shells/git-prompt.zsh/files/pkg-message.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property