summaryrefslogtreecommitdiff
path: root/finance/tickrs/Makefile
blob: e345134aaff5a7c1fc09736611c0a97cfda6e1eb (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
PORTNAME=	tickrs
DISTVERSIONPREFIX=	v
DISTVERSION=	0.14.8
CATEGORIES=	finance

MAINTAINER=	lcook@FreeBSD.org
COMMENT=	Realtime ticker data in your terminal
WWW=		https://github.com/tarkah/tickrs

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libcurl.so:ftp/curl

USES=		cargo ssl
USE_GITHUB=	yes
GH_ACCOUNT=	tarkah

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

OPTIONS_DEFINE=	DOCS

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

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

.include <bsd.port.mk>