summaryrefslogtreecommitdiff
path: root/textproc/angle-grinder/Makefile
blob: 2543d2f6c592516881f45146fa2636ccb039d695 (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
PORTNAME=	angle-grinder
DISTVERSIONPREFIX=	v
DISTVERSION=	0.19.2
CATEGORIES=	textproc

MAINTAINER=	lcook@FreeBSD.org
COMMENT=	Slice and dice logs on the command line
WWW=		https://github.com/rcoh/angle-grinder

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo ssl
USE_GITHUB=	yes
GH_ACCOUNT=	rcoh

PLIST_FILES=	bin/agrind
PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/agrind

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>