blob: 69706bacbcad9fc968689c6d207b5a065c8ed157 (
plain) (
blame)
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
PORTNAME= parinfer-rust
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.3.20220110
PORTREVISION= 18
CATEGORIES= editors
MAINTAINER= mikael@FreeBSD.org
COMMENT= Infer parentheses for Clojure, Lisp, and Scheme
WWW= https://github.com/eraserhd/parinfer-rust
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE.md
BUILD_DEPENDS= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= eraserhd
GH_TAGNAME= 211f72e3
USE_LDCONFIG= yes
STRIP=
CARGO_CRATES= aho-corasick-0.7.15 \
ansi_term-0.11.0 \
anyhow-1.0.38 \
atty-0.2.14 \
base-x-0.2.8 \
bindgen-0.56.0 \
bitflags-1.2.1 \
bumpalo-3.6.1 \
cexpr-0.4.0 \
cfg-if-1.0.0 \
clang-sys-1.1.1 \
clap-2.33.3 \
ctor-0.1.19 \
darling-0.10.2 \
darling_core-0.10.2 \
darling_macro-0.10.2 \
discard-1.0.4 \
emacs-0.16.2 \
emacs-macros-0.15.1 \
emacs_module-0.16.2 \
env_logger-0.8.3 \
fnv-1.0.7 \
getopts-0.2.21 \
glob-0.3.0 \
hermit-abi-0.1.18 \
humantime-2.1.0 \
ident_case-1.0.1 \
itoa-0.4.7 \
lazy_static-1.4.0 \
lazycell-1.3.0 \
libc-0.2.87 \
libloading-0.7.0 \
log-0.4.14 \
memchr-2.3.4 \
nom-5.1.2 \
once_cell-1.7.2 \
peeking_take_while-0.1.2 \
proc-macro2-1.0.24 \
quote-1.0.9 \
regex-1.4.3 \
regex-syntax-0.6.22 \
rustc-hash-1.1.0 \
rustc_version-0.2.3 \
ryu-1.0.5 \
semver-0.9.0 \
semver-parser-0.7.0 \
serde-1.0.123 \
serde_derive-1.0.123 \
serde_json-1.0.64 \
sha1-0.6.0 \
shlex-0.1.1 \
stdweb-0.4.20 \
stdweb-derive-0.5.3 \
stdweb-internal-macros-0.2.9 \
stdweb-internal-runtime-0.1.5 \
strsim-0.8.0 \
strsim-0.9.3 \
syn-1.0.60 \
termcolor-1.1.2 \
textwrap-0.11.0 \
thiserror-1.0.24 \
thiserror-impl-1.0.24 \
thread_local-1.1.3 \
unicode-segmentation-1.7.1 \
unicode-width-0.1.8 \
unicode-xid-0.2.1 \
vec_map-0.8.2 \
version_check-0.9.2 \
wasm-bindgen-0.2.71 \
wasm-bindgen-backend-0.2.71 \
wasm-bindgen-macro-0.2.71 \
wasm-bindgen-macro-support-0.2.71 \
wasm-bindgen-shared-0.2.71 \
which-3.1.1 \
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
CARGO_FEATURES= emacs
PLIST_FILES= bin/parinfer-rust \
lib/libparinfer_rust.so \
share/kak/rc/extra/parinfer.kak \
share/vim/vimfiles/doc/parinfer.txt \
share/vim/vimfiles/plugin/parinfer.vim
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/parinfer-rust
${INSTALL_LIB} ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/*/libparinfer_rust.so \
${STAGEDIR}${PREFIX}/lib
@${MKDIR} ${STAGEDIR}${PREFIX}/share/kak/rc/extra \
${STAGEDIR}${PREFIX}/share/vim/vimfiles/doc \
${STAGEDIR}${PREFIX}/share/vim/vimfiles/plugin
${INSTALL_DATA} ${WRKSRC}/rc/parinfer.kak \
${STAGEDIR}${PREFIX}/share/kak/rc/extra
${INSTALL_DATA} ${WRKSRC}/doc/parinfer.txt \
${STAGEDIR}${PREFIX}/share/vim/vimfiles/doc
${INSTALL_DATA} ${WRKSRC}/plugin/parinfer.vim \
${STAGEDIR}${PREFIX}/share/vim/vimfiles/plugin
.include <bsd.port.mk>
|