blob: 55fba34f9914e3858666a4032edeb427df1ecbca (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# $FreeBSD$
PORTNAME= kibi
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.1
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= bitflags-1.2.1 \
cfg-if-0.1.10 \
cloudabi-0.0.3 \
getrandom-0.1.14 \
lazy_static-1.4.0 \
libc-0.2.79 \
lock_api-0.3.4 \
parking_lot-0.10.2 \
parking_lot_core-0.7.2 \
ppv-lite86-0.2.6 \
proc-macro2-1.0.12 \
quote-1.0.4 \
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.5.0 \
serial_test_derive-0.5.0 \
smallvec-1.4.0 \
syn-1.0.18 \
tempfile-3.1.0 \
unicode-width-0.1.8 \
unicode-xid-0.2.0 \
wasi-0.9.0+wasi-snapshot-preview1 \
winapi-0.3.9 \
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>
|