blob: a36cda92daf27d1743ab0340c4cbeb881cdb4231 (
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
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
124
125
126
127
128
129
130
131
132
|
# $FreeBSD$
PORTNAME= parinfer-rust
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.2
PORTREVISION= 1
CATEGORIES= editors
MAINTAINER= tobik@FreeBSD.org
COMMENT= Infer parentheses for Clojure, Lisp, and Scheme
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
USE_LDCONFIG= yes
CARGO_CRATES= aho-corasick-0.7.3 \
ansi_term-0.11.0 \
atty-0.2.11 \
autocfg-0.1.4 \
backtrace-0.3.30 \
backtrace-sys-0.1.28 \
base-x-0.2.5 \
bindgen-0.48.1 \
bitflags-1.1.0 \
bumpalo-2.4.3 \
byteorder-1.3.2 \
cc-1.0.37 \
cexpr-0.3.5 \
cfg-if-0.1.9 \
clang-sys-0.26.4 \
clap-2.33.0 \
ctor-0.1.9 \
darling-0.9.0 \
darling_core-0.9.0 \
darling_macro-0.9.0 \
discard-1.0.4 \
emacs-0.11.0 \
emacs-macros-0.11.0 \
emacs_module-0.10.0 \
env_logger-0.6.1 \
failure-0.1.5 \
failure_derive-0.1.5 \
fnv-1.0.6 \
getopts-0.2.19 \
glob-0.2.11 \
hashbrown-0.1.8 \
humantime-1.2.0 \
ident_case-1.0.1 \
itoa-0.4.4 \
lazy_static-1.3.0 \
libc-0.2.58 \
libloading-0.5.1 \
log-0.4.6 \
memchr-2.2.0 \
nom-4.2.3 \
numtoa-0.1.0 \
peeking_take_while-0.1.2 \
proc-macro2-0.4.30 \
quick-error-1.2.2 \
quote-0.6.13 \
redox_syscall-0.1.54 \
redox_termios-0.1.1 \
regex-1.1.7 \
regex-syntax-0.6.7 \
rustc-demangle-0.1.15 \
rustc_version-0.2.3 \
ryu-0.2.8 \
scopeguard-0.3.3 \
semver-0.9.0 \
semver-parser-0.7.0 \
serde-1.0.92 \
serde_derive-1.0.92 \
serde_json-1.0.39 \
sha1-0.6.0 \
stdweb-0.4.17 \
stdweb-derive-0.5.1 \
stdweb-internal-macros-0.2.7 \
stdweb-internal-runtime-0.1.4 \
strsim-0.7.0 \
strsim-0.8.0 \
syn-0.15.42 \
synstructure-0.10.2 \
termcolor-1.0.5 \
termion-1.5.2 \
textwrap-0.11.0 \
thread_local-0.3.6 \
ucd-util-0.1.3 \
unicode-segmentation-1.3.0 \
unicode-width-0.1.5 \
unicode-xid-0.1.0 \
utf8-ranges-1.0.3 \
vec_map-0.8.1 \
version_check-0.1.5 \
wasm-bindgen-0.2.45 \
wasm-bindgen-backend-0.2.45 \
wasm-bindgen-macro-0.2.45 \
wasm-bindgen-macro-support-0.2.45 \
wasm-bindgen-shared-0.2.45 \
which-2.0.1 \
winapi-0.3.7 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.2 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
wincolor-1.0.1
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}/*/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>
|