mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
319 lines
7.1 KiB
Makefile
319 lines
7.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= alacritty
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.5.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11
|
|
|
|
MAINTAINER= tobik@FreeBSD.org
|
|
COMMENT= GPU-accelerated terminal emulator
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE-APACHE
|
|
|
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
|
libfreetype.so:print/freetype2
|
|
TEST_DEPENDS= dejavu>0:x11-fonts/dejavu
|
|
|
|
USES= cargo localbase:ldflags python:3.6+,build ssl:build xorg
|
|
USE_GITHUB= yes
|
|
USE_XORG= xcb
|
|
|
|
CARGO_CRATES= adler-0.2.2 \
|
|
adler32-1.1.0 \
|
|
aho-corasick-0.7.13 \
|
|
andrew-0.2.1 \
|
|
android_glue-0.2.3 \
|
|
android_log-sys-0.1.2 \
|
|
ansi_term-0.11.0 \
|
|
approx-0.3.2 \
|
|
arc-swap-0.4.7 \
|
|
arrayref-0.3.6 \
|
|
arrayvec-0.5.1 \
|
|
atty-0.2.14 \
|
|
autocfg-1.0.0 \
|
|
base64-0.11.0 \
|
|
base64-0.12.3 \
|
|
bindgen-0.53.3 \
|
|
bitflags-1.2.1 \
|
|
blake2b_simd-0.5.10 \
|
|
block-0.1.6 \
|
|
bytemuck-1.2.0 \
|
|
byteorder-1.3.4 \
|
|
bzip2-0.3.3 \
|
|
bzip2-sys-0.1.9+1.0.8 \
|
|
calloop-0.4.4 \
|
|
cc-1.0.58 \
|
|
cexpr-0.4.0 \
|
|
cfg-if-0.1.10 \
|
|
cgl-0.3.2 \
|
|
clang-sys-0.29.3 \
|
|
clap-2.33.1 \
|
|
clipboard-win-2.2.0 \
|
|
cloudabi-0.0.3 \
|
|
cmake-0.1.44 \
|
|
cocoa-0.20.2 \
|
|
constant_time_eq-0.1.5 \
|
|
copypasta-0.7.0 \
|
|
core-foundation-0.7.0 \
|
|
core-foundation-sys-0.7.0 \
|
|
core-graphics-0.19.2 \
|
|
core-text-15.0.0 \
|
|
core-video-sys-0.1.4 \
|
|
crc32fast-1.2.0 \
|
|
crossbeam-utils-0.7.2 \
|
|
crossfont-0.1.0 \
|
|
deflate-0.8.6 \
|
|
derivative-2.1.1 \
|
|
dirs-2.0.2 \
|
|
dirs-sys-0.3.5 \
|
|
dispatch-0.2.0 \
|
|
dlib-0.4.2 \
|
|
downcast-rs-1.2.0 \
|
|
dtoa-0.4.6 \
|
|
dwrote-0.11.0 \
|
|
embed-resource-1.3.3 \
|
|
env_logger-0.7.1 \
|
|
euclid-0.20.14 \
|
|
expat-sys-2.1.6 \
|
|
filetime-0.2.10 \
|
|
flate2-1.0.16 \
|
|
fnv-1.0.7 \
|
|
foreign-types-0.3.2 \
|
|
foreign-types-0.5.0 \
|
|
foreign-types-macros-0.2.1 \
|
|
foreign-types-shared-0.1.1 \
|
|
foreign-types-shared-0.3.0 \
|
|
freetype-rs-0.26.0 \
|
|
freetype-sys-0.13.1 \
|
|
fsevent-0.4.0 \
|
|
fsevent-sys-2.0.1 \
|
|
fuchsia-zircon-0.3.3 \
|
|
fuchsia-zircon-sys-0.3.3 \
|
|
getrandom-0.1.14 \
|
|
gl_generator-0.13.1 \
|
|
gl_generator-0.14.0 \
|
|
glob-0.3.0 \
|
|
glutin-0.24.1 \
|
|
glutin_egl_sys-0.1.4 \
|
|
glutin_emscripten_sys-0.1.1 \
|
|
glutin_gles2_sys-0.1.4 \
|
|
glutin_glx_sys-0.1.6 \
|
|
glutin_wgl_sys-0.1.4 \
|
|
hermit-abi-0.1.15 \
|
|
http_req-0.5.5 \
|
|
humantime-1.3.0 \
|
|
image-0.23.6 \
|
|
inotify-0.7.1 \
|
|
inotify-sys-0.1.3 \
|
|
instant-0.1.6 \
|
|
iovec-0.1.4 \
|
|
itoa-0.4.6 \
|
|
jni-sys-0.3.0 \
|
|
jobserver-0.1.21 \
|
|
kernel32-sys-0.2.2 \
|
|
khronos_api-3.1.0 \
|
|
lazy_static-1.4.0 \
|
|
lazycell-1.2.1 \
|
|
libc-0.2.72 \
|
|
libloading-0.5.2 \
|
|
libloading-0.6.2 \
|
|
line_drawing-0.7.0 \
|
|
linked-hash-map-0.5.3 \
|
|
lock_api-0.3.4 \
|
|
log-0.4.8 \
|
|
malloc_buf-0.0.6 \
|
|
maybe-uninit-2.0.0 \
|
|
memchr-2.3.3 \
|
|
memmap-0.7.0 \
|
|
miniz_oxide-0.3.7 \
|
|
miniz_oxide-0.4.0 \
|
|
mio-0.6.22 \
|
|
mio-anonymous-pipes-0.1.0 \
|
|
mio-extras-2.0.6 \
|
|
mio-named-pipes-0.1.7 \
|
|
miow-0.2.1 \
|
|
miow-0.3.5 \
|
|
native-tls-0.2.4 \
|
|
ndk-0.1.0 \
|
|
ndk-glue-0.1.0 \
|
|
ndk-sys-0.1.0 \
|
|
net2-0.2.34 \
|
|
nix-0.14.1 \
|
|
nix-0.17.0 \
|
|
nom-5.1.2 \
|
|
notify-4.0.15 \
|
|
num-integer-0.1.43 \
|
|
num-iter-0.1.41 \
|
|
num-rational-0.3.0 \
|
|
num-traits-0.2.12 \
|
|
num_enum-0.4.3 \
|
|
num_enum_derive-0.4.3 \
|
|
objc-0.2.7 \
|
|
objc-foundation-0.1.1 \
|
|
objc_id-0.1.1 \
|
|
once_cell-1.4.0 \
|
|
openssl-0.10.30 \
|
|
openssl-probe-0.1.2 \
|
|
openssl-sys-0.9.58 \
|
|
ordered-float-1.1.0 \
|
|
osmesa-sys-0.1.2 \
|
|
parking_lot-0.10.2 \
|
|
parking_lot_core-0.7.2 \
|
|
peeking_take_while-0.1.2 \
|
|
percent-encoding-2.1.0 \
|
|
phf-0.8.0 \
|
|
phf_codegen-0.8.0 \
|
|
phf_generator-0.8.0 \
|
|
phf_shared-0.8.0 \
|
|
pkg-config-0.3.17 \
|
|
png-0.16.6 \
|
|
podio-0.1.7 \
|
|
ppv-lite86-0.2.8 \
|
|
proc-macro-crate-0.1.4 \
|
|
proc-macro2-0.4.30 \
|
|
proc-macro2-1.0.18 \
|
|
quick-error-1.2.3 \
|
|
quote-0.6.13 \
|
|
quote-1.0.7 \
|
|
rand-0.7.3 \
|
|
rand_chacha-0.2.2 \
|
|
rand_core-0.5.1 \
|
|
rand_hc-0.2.0 \
|
|
rand_pcg-0.2.1 \
|
|
raw-window-handle-0.3.3 \
|
|
redox_syscall-0.1.56 \
|
|
redox_users-0.3.4 \
|
|
regex-1.3.9 \
|
|
regex-automata-0.1.9 \
|
|
regex-syntax-0.6.18 \
|
|
remove_dir_all-0.5.3 \
|
|
rust-argon2-0.7.0 \
|
|
rustc-hash-1.1.0 \
|
|
rustc_tools_util-0.2.0 \
|
|
rusttype-0.7.9 \
|
|
rusttype-0.8.3 \
|
|
ryu-1.0.5 \
|
|
same-file-1.0.6 \
|
|
schannel-0.1.19 \
|
|
scoped-tls-1.0.0 \
|
|
scopeguard-1.1.0 \
|
|
security-framework-0.4.4 \
|
|
security-framework-sys-0.4.3 \
|
|
serde-1.0.114 \
|
|
serde_derive-1.0.114 \
|
|
serde_json-1.0.56 \
|
|
serde_yaml-0.8.13 \
|
|
servo-fontconfig-0.5.1 \
|
|
servo-fontconfig-sys-5.1.0 \
|
|
shared_library-0.1.9 \
|
|
shlex-0.1.1 \
|
|
signal-hook-0.1.16 \
|
|
signal-hook-registry-1.2.0 \
|
|
siphasher-0.3.3 \
|
|
slab-0.4.2 \
|
|
smallvec-1.4.1 \
|
|
smithay-client-toolkit-0.6.6 \
|
|
smithay-client-toolkit-0.10.0 \
|
|
smithay-clipboard-0.5.1 \
|
|
socket2-0.3.12 \
|
|
spsc-buffer-0.1.1 \
|
|
stb_truetype-0.3.1 \
|
|
strsim-0.8.0 \
|
|
syn-1.0.33 \
|
|
tempfile-3.1.0 \
|
|
termcolor-1.1.0 \
|
|
terminfo-0.7.3 \
|
|
textwrap-0.11.0 \
|
|
thread_local-1.0.1 \
|
|
time-0.1.43 \
|
|
toml-0.5.6 \
|
|
unicase-2.6.0 \
|
|
unicode-width-0.1.8 \
|
|
unicode-xid-0.1.0 \
|
|
unicode-xid-0.2.1 \
|
|
urlocator-0.1.4 \
|
|
utf8parse-0.2.0 \
|
|
vcpkg-0.2.10 \
|
|
vec_map-0.8.2 \
|
|
version_check-0.9.2 \
|
|
void-1.0.2 \
|
|
vswhom-0.1.0 \
|
|
vswhom-sys-0.1.0 \
|
|
vte-0.8.0 \
|
|
vte_generate_state_changes-0.1.1 \
|
|
walkdir-2.3.1 \
|
|
wasi-0.9.0+wasi-snapshot-preview1 \
|
|
wayland-client-0.23.6 \
|
|
wayland-client-0.27.0 \
|
|
wayland-commons-0.23.6 \
|
|
wayland-commons-0.27.0 \
|
|
wayland-cursor-0.27.0 \
|
|
wayland-protocols-0.23.6 \
|
|
wayland-protocols-0.27.0 \
|
|
wayland-scanner-0.23.6 \
|
|
wayland-scanner-0.27.0 \
|
|
wayland-sys-0.23.6 \
|
|
wayland-sys-0.27.0 \
|
|
which-3.1.1 \
|
|
winapi-0.2.8 \
|
|
winapi-0.3.9 \
|
|
winapi-build-0.1.1 \
|
|
winapi-i686-pc-windows-gnu-0.4.0 \
|
|
winapi-util-0.1.5 \
|
|
winapi-x86_64-pc-windows-gnu-0.4.0 \
|
|
winit-0.22.2 \
|
|
winpty-0.2.0 \
|
|
winpty-sys-0.5.0 \
|
|
winreg-0.6.2 \
|
|
wio-0.2.2 \
|
|
ws2_32-sys-0.2.1 \
|
|
x11-clipboard-0.5.1 \
|
|
x11-dl-2.18.5 \
|
|
xcb-0.9.0 \
|
|
xcursor-0.3.2 \
|
|
xdg-2.2.0 \
|
|
xml-rs-0.8.3 \
|
|
yaml-rust-0.4.4 \
|
|
zip-0.5.6
|
|
CARGO_INSTALL_PATH= alacritty
|
|
|
|
# For xcb crate
|
|
BINARY_ALIAS= python3=${PYTHON_CMD}
|
|
|
|
PLIST_FILES= bin/alacritty \
|
|
etc/bash_completion.d/alacritty.bash \
|
|
share/fish/completions/alacritty.fish \
|
|
share/man/man1/alacritty.1.gz \
|
|
share/pixmaps/Alacritty.svg \
|
|
share/zsh/site-functions/_alacritty \
|
|
${DESKTOPDIR}/Alacritty.desktop
|
|
PORTEXAMPLES= alacritty.yml
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/alacritty
|
|
${INSTALL_DATA} ${WRKSRC}/extra/linux/Alacritty.desktop \
|
|
${STAGEDIR}${DESKTOPDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/extra/logo/alacritty-term.svg \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/Alacritty.svg
|
|
${INSTALL_MAN} ${WRKSRC}/extra/alacritty.man \
|
|
${STAGEDIR}${PREFIX}/share/man/man1/alacritty.1
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
|
|
${INSTALL_DATA} ${WRKSRC}/extra/completions/alacritty.bash \
|
|
${STAGEDIR}${PREFIX}/etc/bash_completion.d
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions
|
|
${INSTALL_DATA} ${WRKSRC}/extra/completions/alacritty.fish \
|
|
${STAGEDIR}${PREFIX}/share/fish/completions
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
|
|
${INSTALL_DATA} ${WRKSRC}/extra/completions/_alacritty \
|
|
${STAGEDIR}${PREFIX}/share/zsh/site-functions
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|