summaryrefslogtreecommitdiff
path: root/www/tuifeed/Makefile
blob: 9e7cafb28d1b840663bddff4a5889d709235d4d8 (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=	tuifeed
DISTVERSIONPREFIX=	v
DISTVERSION=	0.3.2
PORTREVISION=	2
CATEGORIES=	www

MAINTAINER=	driesm@FreeBSD.org
COMMENT=	Terminal feed reader with a fancy UI
WWW=		https://github.com/veeso/tuifeed

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	veeso

CARGO_BUILD_ARGS=	--locked
CARGO_INSTALL_ARGS=	--locked
CARGO_UPDATE_ARGS=	--locked

PLIST_FILES=	bin/${PORTNAME}
PORTDOCS=	*md
OPTIONS_DEFINE=	DOCS

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

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

.include <bsd.port.mk>