summaryrefslogtreecommitdiff
path: root/multimedia/handbrake/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2021-01-19 06:31:42 +0000
committerHiroki Sato <hrs@FreeBSD.org>2021-01-19 06:31:42 +0000
commit2343820f5036556a8d2192b5fc9cb2250b9ddd22 (patch)
treebe0af19ee2bd29f0c505461210987ec7775afcf8 /multimedia/handbrake/Makefile
parentUpdate to 1.34.1. (diff)
- Fix build when multimedia/dav1d is not installed. This can happen
when multimedia/ffmpeg is compiled with no DAV1D option. - Split mkdir ${WRKSRC}/download from copying files into it. Submitted by: Mike Cui Approved by: Yuichiro NAITO (maintainer) PR: 251044
Notes
Notes: svn path=/head/; revision=562028
Diffstat (limited to 'multimedia/handbrake/Makefile')
-rw-r--r--multimedia/handbrake/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile
index bbe1be4ac420..0c0afe33280e 100644
--- a/multimedia/handbrake/Makefile
+++ b/multimedia/handbrake/Makefile
@@ -3,7 +3,7 @@
PORTNAME= handbrake
DISTVERSION= 1.3.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= multimedia
DIST_SUBDIR= ${PORTNAME}
@@ -117,9 +117,11 @@ X11_USE= gstreamer1=gdkpixbuf,libav \
# considered good in FreeBSD. Instead, we will provide the downloaded files.
post-extract: .SILENT
${MKDIR} ${WRKSRC}/download
-.for f in ${CONTRIB_FILES}
- ${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSRC}/download
-.endfor
+
+pre-configure:
+ cd ${DISTDIR}/${DIST_SUBDIR} && \
+ ${INSTALL_DATA} ${CONTRIB_FILES} \
+ ${WRKSRC}/download
# Install version information.
${CP} ${FILESDIR}/version.txt ${WRKSRC}
# Following patches reduces warnings with clang.