summaryrefslogtreecommitdiff
path: root/devel/gfold/Makefile
blob: 9096dc71590614816ba95762751b7a6b0cd5f29c (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
PORTNAME=	gfold
DISTVERSION=	4.0.0
PORTREVISION=	3
CATEGORIES=	devel

MAINTAINER=	sec.research.2005@gmail.com
COMMENT=	CLI tool to help keep track of your Git repositories

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>