aboutsummaryrefslogtreecommitdiff
path: root/www/yt-dlp/Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-02-13 02:16:13 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-02-13 02:16:13 +0000
commit02bd2b1360504971e20fe6297a69e5f337c3652b (patch)
treebd1b59a9473bb8cdb0c7fc79453865bda9a1b394 /www/yt-dlp/Makefile
parent0c3ec89aa78b1c9f893695e61bf3976414000cc4 (diff)
downloadports-02bd2b1360504971e20fe6297a69e5f337c3652b.tar.gz
ports-02bd2b1360504971e20fe6297a69e5f337c3652b.zip
www/yt-dlp: Update 2021.02.04 -> 2021.02.09
Reported by: portscout
Notes
Notes: svn path=/head/; revision=565094
Diffstat (limited to 'www/yt-dlp/Makefile')
-rw-r--r--www/yt-dlp/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/www/yt-dlp/Makefile b/www/yt-dlp/Makefile
index 5fa772a91894..bdfd2cbd8398 100644
--- a/www/yt-dlp/Makefile
+++ b/www/yt-dlp/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= yt-dlp
-DISTVERSION= 2021.02.04
+DISTVERSION= 2021.02.09
CATEGORIES= www
MAINTAINER= yuri@FreeBSD.org
@@ -10,23 +10,23 @@ COMMENT= Command-line program to download videos from youtube & other platforms
LICENSE= UNLICENSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= zip:archivers/zip \
+ pandoc:textproc/hs-pandoc
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR}
-USES= python
+USES= gmake python
USE_PYTHON= distutils autoplist noflavors
USE_GITHUB= yes
GH_ACCOUNT= pukkandan
+MAKE_ARGS= PYTHON=${PYTHON_CMD}
+
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}
+pre-build:
+ @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET}
.include <bsd.port.mk>