1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00
freebsd-ports/editors/kibi/Makefile
Steve Wills eeb5d3b0ec editors/kibi: create port
Configurable text editor with UTF-8 support, incremental search, syntax
highlighting, line numbers and more, written in less than 1024 lines of Rust
with minimal dependencies.

WWW: https://github.com/ilai-deutel/kibi

PR:		246340
Submitted by:	Lewis Cook <vulcan@wired.sh>
2020-09-04 01:29:37 +00:00

78 lines
1.6 KiB
Makefile

# $FreeBSD$
PORTNAME= kibi
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.0
CATEGORIES= editors
MAINTAINER= vulcan@wired.sh
COMMENT= Tiny text editor written in Rust
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= ilai-deutel
CARGO_CRATES= arc-swap-0.4.6 \
bitflags-1.2.1 \
cc-1.0.52 \
cfg-if-0.1.10 \
cloudabi-0.0.3 \
getrandom-0.1.14 \
lazy_static-1.4.0 \
libc-0.2.69 \
lock_api-0.3.4 \
nix-0.17.0 \
parking_lot-0.10.2 \
parking_lot_core-0.7.2 \
ppv-lite86-0.2.6 \
proc-macro2-1.0.10 \
quote-1.0.3 \
rand-0.7.3 \
rand_chacha-0.2.2 \
rand_core-0.5.1 \
rand_hc-0.2.0 \
redox_syscall-0.1.56 \
remove_dir_all-0.5.2 \
scopeguard-1.1.0 \
serial_test-0.4.0 \
serial_test_derive-0.4.0 \
signal-hook-0.1.13 \
signal-hook-registry-1.2.0 \
smallvec-1.4.0 \
syn-1.0.18 \
tempfile-3.1.0 \
unicode-width-0.1.7 \
unicode-xid-0.2.0 \
void-1.0.2 \
wasi-0.9.0+wasi-snapshot-preview1 \
winapi-0.3.8 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0
PORTDOCS= CHANGELOG.md README.md
OPTIONS_DEFINE= DOCS SYNTAX
OPTIONS_DEFAULT= SYNTAX
OPTIONS_SUB= yes
SYNTAX_DESC= Install Syntax-highlighting ini files
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/unix.rs
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
post-install-SYNTAX-on:
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} syntax.d ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>