mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
ba14e01a52
PR: 268415
35 lines
648 B
Makefile
35 lines
648 B
Makefile
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>
|