aboutsummaryrefslogtreecommitdiff
path: root/shells/git-prompt.zsh/Makefile
blob: 58cca284f6e7d9dc65f870e69712613cf9c38416 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
PORTNAME=	git-prompt.zsh
DISTVERSIONPREFIX=	v
DISTVERSION=	2.3.0
PORTREVISION=	1
CATEGORIES=	shells

MAINTAINER=	jrm@FreeBSD.org
COMMENT=	Fast, customizable, pure-shell, asynchronous Git prompt for Zsh
WWW=		https://github.com/woefe/git-prompt.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} ${DOCSDIR}/README.md
SUB_FILES=	pkg-message
SUB_LIST+=	PORTNAME=${PORTNAME}

do-install:
	@${MKDIR} ${STAGEDIR}${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${DATADIR}
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}/${DOCSDIR}

.include <bsd.port.mk>