Changes: https://github.com/ytdl-org/youtube-dl/releases/tag/2021.12.17 Reported by: GitHub (watch releases)
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
PORTNAME= youtube_dl
|
|
DISTVERSION= 2021.12.17
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://github.com/ytdl-org/youtube-dl/releases/download/${DISTVERSION}/ \
|
|
https://yt-dl.org/downloads/${DISTVERSION}/
|
|
DISTNAME= youtube-dl-${DISTVERSION}
|
|
|
|
# Implicit approval to commit trivial version updates.
|
|
MAINTAINER= multimedia@FreeBSD.org
|
|
COMMENT= Program for downloading videos from various services
|
|
|
|
LICENSE= UNLICENSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= gmake python
|
|
|
|
MAKE_ARGS= PYTHON=${PYTHON_CMD}
|
|
ALL_TARGET= youtube-dl
|
|
NO_ARCH= yes
|
|
WRKSRC= ${WRKDIR}/youtube-dl
|
|
|
|
PLIST_FILES= bin/youtube-dl \
|
|
etc/bash_completion.d/youtube-dl.sh \
|
|
man/man1/youtube-dl.1.gz \
|
|
share/fish/vendor_completions.d/youtube-dl.fish \
|
|
share/zsh/site-functions/_youtube-dl
|
|
|
|
OPTIONS_DEFINE= FFMPEG RTMPDUMP
|
|
OPTIONS_DEFAULT= RTMPDUMP
|
|
|
|
RTMPDUMP_DESC= Use rtmpdump to download rtmp video streams
|
|
|
|
FFMPEG_RUN_DEPENDS= ffprobe:multimedia/ffmpeg
|
|
RTMPDUMP_RUN_DEPENDS= rtmpdump:multimedia/rtmpdump
|
|
|
|
post-extract:
|
|
# remove tarball provided version, build our own
|
|
@${RM} ${WRKSRC}/youtube-dl
|
|
|
|
.include <bsd.port.mk>
|