blob: b8b31e9f632b795751508028a2ce3f5ce1918780 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $NetBSD: Makefile,v 1.19 2022/08/15 15:59:57 leot Exp $
DISTNAME= yt-dlp-2022.8.14
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_PYPI:=y/yt-dlp/}
# \TODO: create symlink, as mpv makes use of youtube-dl?
# CONFLICTS= youtube-dl-[0-9]*
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/yt-dlp/yt-dlp
COMMENT= Youtube-dl fork with new features and patches
LICENSE= unlicense
USE_LANGUAGES= # none
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= setup.py
SUBST_SED.paths= -e "s,share/man/man1,${PKGMANDIR}/man1,"
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_PKG_RESOURCES= yes
post-install:
${RM} -fr ${DESTDIR}${PREFIX}/${PYSITELIB}/devscripts
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|