aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2019-11-11 23:19:44 +0800
committerjbeich <jbeich@FreeBSD.org>2019-11-11 23:19:44 +0800
commitd85eff6daadf1c9df8d454861602561cc96f0d2b (patch)
tree1afde5e5d762de0e8fec2e505735f6c364acfe7d /multimedia
parente3e4e94b3df30cae69830e1720c2902bf8d195e5 (diff)
downloadfreebsd-ports-gnome-d85eff6daadf1c9df8d454861602561cc96f0d2b.tar.gz
freebsd-ports-gnome-d85eff6daadf1c9df8d454861602561cc96f0d2b.tar.zst
freebsd-ports-gnome-d85eff6daadf1c9df8d454861602561cc96f0d2b.zip
multimedia/rav1e: define full version
For example: $ rav1e --version -rav1e 0.1.0 (UNKNOWN) +rav1e 0.1.0 (0.1.0-8-gf3452699)
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/rav1e/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/multimedia/rav1e/Makefile b/multimedia/rav1e/Makefile
index d6b57e4a1f34..83e77cf5a5cd 100644
--- a/multimedia/rav1e/Makefile
+++ b/multimedia/rav1e/Makefile
@@ -166,6 +166,10 @@ FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg
FFMPEG_VARS= CARGO_FEATURES+=avformat-sys
.endif
+post-patch:
+ @${REINPLACE_CMD} 's/env!("VERGEN_SEMVER_LIGHTWEIGHT")/"${DISTVERSIONFULL}"/' \
+ ${WRKSRC}/src/capi.rs ${WRKSRC}/src/lib.rs
+
.if !target(post-install)
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}