summaryrefslogtreecommitdiff
path: root/editors/xi-core/Makefile
blob: 05c732d07bb0fed53948fda0fa868e1f56f4a727 (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
34
PORTNAME=	xi-core
DISTVERSIONPREFIX=	v
DISTVERSION=	0.3.0.20221007
PORTREVISION=	2
CATEGORIES=	editors

MAINTAINER=	eduardo@FreeBSD.org
COMMENT=	Modern editor backend written in Rust
WWW=		https://xi-editor.io

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/../LICENSE

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	xi-editor
GH_PROJECT=	xi-editor
GH_TAGNAME=	f3b4d39

WRKSRC_SUBDIR=	rust

PLIST_FILES=	bin/xi-core
PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/../README.md ${STAGEDIR}${DOCSDIR}

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

.include <bsd.port.mk>