91070cc45a
Changes: 20210426 -------- Extractors + [xfileshare] Add support for wolfstream.tv (#28858) * [francetvinfo] Improve video id extraction (#28792) * [medaltv] Fix extraction (#28807) * [tver] Redirect all downloads to Brightcove (#28849) * [go] Improve video id extraction (#25207, #25216, #26058) * [youtube] Fix lazy extractors (#28780) + [bbc] Extract description and timestamp from __INITIAL_DATA__ (#28774) * [cbsnews] Fix extraction for python <3.6 (#23359)
30 lines
994 B
Makefile
30 lines
994 B
Makefile
# $NetBSD: Makefile,v 1.241 2021/04/25 18:58:32 leot Exp $
|
|
|
|
# XXX: VERSION_DATE can contains also an optional part that indicates
|
|
# XXX: possible same day revisions. PKGNAME preserves that dotted part as is.
|
|
VERSION_DATE= 2021.04.26
|
|
DISTNAME= youtube-dl-${VERSION_DATE}
|
|
PKGNAME= ${DISTNAME:S/.//:S/.//}
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://youtube-dl.org/downloads/${VERSION_DATE}/
|
|
|
|
MAINTAINER= leot@NetBSD.org
|
|
HOMEPAGE= https://ytdl-org.github.io/youtube-dl/
|
|
COMMENT= Download videos from youtube.com
|
|
LICENSE= public-domain
|
|
|
|
USE_LANGUAGES= # none
|
|
EGG_NAME= youtube_dl-${VERSION_DATE:S/.0/./g}
|
|
WRKSRC= ${WRKDIR}/youtube-dl
|
|
|
|
SUBST_CLASSES+= pkgmandir
|
|
SUBST_STAGE.pkgmandir= pre-configure
|
|
SUBST_FILES.pkgmandir= setup.py
|
|
SUBST_VARS.pkgmandir= PKGMANDIR
|
|
|
|
post-install:
|
|
${MV} ${DESTDIR}${PREFIX}/share/bash-completion/completions/youtube-dl.bash-completion \
|
|
${DESTDIR}${PREFIX}/share/bash-completion/completions/youtube-dl
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|