7 MAINTAINER= jbeich@FreeBSD.org
8 COMMENT= Fast and safe AV1 encoder
11 LICENSE_FILE= ${WRKSRC}/LICENSE
13 BUILD_DEPENDS+= ${BUILD_DEPENDS_${ARCH}}
14 BUILD_DEPENDS_x86_64= nasm:devel/nasm
19 PLIST_FILES?= bin/${PORTNAME}
21 CARGO_CRATES= addr2line-0.17.0 \
29 arg_enum_proc_macro-0.3.2 \
56 criterion-plot-0.4.4 \
58 crossbeam-channel-0.5.1 \
59 crossbeam-deque-0.8.1 \
60 crossbeam-epoch-0.9.5 \
61 crossbeam-queue-0.3.2 \
62 crossbeam-utils-0.8.5 \
72 encode_unicode-0.3.6 \
83 interpolate_name-0.2.3 \
102 noop_proc_macro-0.3.0 \
113 peeking_take_while-0.1.2 \
116 plotters-backend-0.3.2 \
121 predicates-core-1.0.2 \
122 predicates-tree-1.0.4 \
123 pretty_assertions-0.7.2 \
133 regex-automata-0.1.10 \
134 regex-syntax-0.6.25 \
135 rust_hawktracer-0.7.0 \
136 rust_hawktracer_normal_macro-0.4.1 \
137 rust_hawktracer_proc_macro-0.4.1 \
138 rust_hawktracer_sys-0.4.2 \
139 rustc-demangle-0.1.21 \
141 rustc_version-0.4.0 \
149 serde_derive-1.0.131 \
153 signal-hook-registry-1.4.0 \
158 strum_macros-0.21.1 \
162 terminal_size-0.1.17 \
166 thiserror-impl-1.0.30 \
170 unicode-segmentation-1.8.0 \
171 unicode-width-0.1.9 \
174 version-compare-0.0.11 \
175 version_check-0.9.3 \
178 wasi-0.10.2+wasi-snapshot-preview1 \
179 wasm-bindgen-0.2.78 \
180 wasm-bindgen-backend-0.2.78 \
181 wasm-bindgen-macro-0.2.78 \
182 wasm-bindgen-macro-support-0.2.78 \
183 wasm-bindgen-shared-0.2.78 \
187 winapi-i686-pc-windows-gnu-0.4.0 \
189 winapi-x86_64-pc-windows-gnu-0.4.0 \
193 # Extract (snapshot) version from the port instead of CARGO_PKG_VERSION
194 @${REINPLACE_CMD} 's/env!("VERGEN_SEMVER_LIGHTWEIGHT")/"${DISTVERSIONFULL}"/' \
195 ${WRKSRC}/src/capi.rs ${WRKSRC}/src/lib.rs
197 .if !target(post-install)
199 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
202 .include <bsd.port.mk>