diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2021-02-08 01:46:50 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2021-02-08 01:46:50 +0000 |
commit | d99bf82c2085637a7989d3c519a3c4ba13862d20 (patch) | |
tree | 07ae869337f151162ead326580fc02e2a0404a40 /www/yt-dlp | |
parent | 8b2197a90a776b7f781a0111a0dff9c00b1e60b9 (diff) | |
download | ports-d99bf82c2085637a7989d3c519a3c4ba13862d20.tar.gz ports-d99bf82c2085637a7989d3c519a3c4ba13862d20.zip |
New port: www/yt-dlp: Command-line program to download videos from youtube & other platforms
Notes
Notes:
svn path=/head/; revision=564672
Diffstat (limited to 'www/yt-dlp')
-rw-r--r-- | www/yt-dlp/Makefile | 32 | ||||
-rw-r--r-- | www/yt-dlp/distinfo | 3 | ||||
-rw-r--r-- | www/yt-dlp/pkg-descr | 6 |
3 files changed, 41 insertions, 0 deletions
diff --git a/www/yt-dlp/Makefile b/www/yt-dlp/Makefile new file mode 100644 index 000000000000..5fa772a91894 --- /dev/null +++ b/www/yt-dlp/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= yt-dlp +DISTVERSION= 2021.02.04 +CATEGORIES= www + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Command-line program to download videos from youtube & other platforms + +LICENSE= UNLICENSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist noflavors + +USE_GITHUB= yes +GH_ACCOUNT= pukkandan + +NO_ARCH= yes + +POST_PLIST= fix-plist + +post-install: # https://github.com/pukkandan/yt-dlp/issues/59 + @cd ${STAGEDIR}${PREFIX} && \ + ${RMDIR} share/doc/youtube_dlc share/man/man1 etc/bash_completion.d etc/fish/completions etc/fish + +fix-plist: # https://github.com/pukkandan/yt-dlp/issues/59 + @${REINPLACE_CMD} -e "s|^etc/bash_completion\.d$$|| ; s|^etc/fish/completions$$|| ; s|^share/doc/youtube_dlc$$|| ; s|^share/man/man1$$||" ${TMPPLIST} + +.include <bsd.port.mk> diff --git a/www/yt-dlp/distinfo b/www/yt-dlp/distinfo new file mode 100644 index 000000000000..68469f14c292 --- /dev/null +++ b/www/yt-dlp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1612745395 +SHA256 (pukkandan-yt-dlp-2021.02.04_GH0.tar.gz) = 798c8f386c3cb496956a2eb561420f2b4821036a0ad3fe2dccb6ffed261899a5 +SIZE (pukkandan-yt-dlp-2021.02.04_GH0.tar.gz) = 1539222 diff --git a/www/yt-dlp/pkg-descr b/www/yt-dlp/pkg-descr new file mode 100644 index 000000000000..f5811927ceb8 --- /dev/null +++ b/www/yt-dlp/pkg-descr @@ -0,0 +1,6 @@ +A command-line program to download videos from youtube.com and many other video +platforms. + +This is a fork of youtube-dlc which is inturn a fork of youtube-dl. + +WWW: https://github.com/pukkandan/yt-dlp |