summaryrefslogtreecommitdiff
path: root/devel/gfold/Makefile
blob: 86ffa09b4579d217285394bfa951ebd3709cdd6c (plain)
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
33
PORTNAME=	gfold
DISTVERSION=	4.0.0
PORTREVISION=	8
CATEGORIES=	devel

MAINTAINER=	sec.research.2005@gmail.com
COMMENT=	CLI tool to help keep track of your Git repositories
WWW=		https://github.com/nickgerace/gfold

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	nickgerace
BINARY_NAME=	gitfold

OPTIONS_DEFINE=		DOCS
OPTIONS_DEFAULT=	DOCS

PORTDOCS=	CHANGELOG.md README.md
PLIST_FILES=	bin/${BINARY_NAME}

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
	${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${BINARY_NAME}

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

.include "${.CURDIR}/bsd.gfold.mk"
.include <bsd.port.mk>