freebsd-ports/multimedia/librav1e/Makefile
Mikael Urankar 6bebfaa8a0 lang/rust: Update to 1.50.0
- Use bundled libgit/libssh, the versions in ports are too old
  - Update lang/rust-nightly to 2021-02-12
  - Update devel/racer to 2.1.41
  - Import upstream patch to fix build issue for Firefox and related ports (https://bugzilla.mozilla.org/show_bug.cgi?id=1684261)

Changes: https://github.com/rust-lang/rust/releases/tag/1.50.0

Tested by:	mikael, pkubaj
Differential Revision:	https://reviews.freebsd.org/D28616
2021-02-14 15:45:10 +00:00

27 lines
493 B
Makefile

# $FreeBSD$
PORTREVISION= 1
PKGNAMEPREFIX= lib
MASTERDIR= ${.CURDIR}/../rav1e
PLIST= ${.CURDIR}/pkg-plist
BUILD_DEPENDS= cargo-cbuild:devel/cargo-c
PLIST_FILES= # empty
PLIST_SUB= VERSION=${DISTVERSION:C/-.*//}
do-build:
@${CARGO_CARGO_RUN} cbuild \
${CARGO_BUILD_ARGS}
do-install:
@${CARGO_CARGO_RUN} cinstall \
--destdir "${STAGEDIR}" \
--prefix "${PREFIX}" \
${CARGO_BUILD_ARGS}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
.include "${MASTERDIR}/Makefile"