# $NetBSD: Makefile,v 1.36 2024/03/11 08:37:26 adam Exp $ DISTNAME= yt_dlp-2024.3.10 PKGNAME= ${DISTNAME:S/_/-/} 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 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 SUBST_CLASSES+= paths SUBST_STAGE.paths= pre-configure SUBST_FILES.paths= pyproject.toml SUBST_SED.paths= -e "s,share/man/man1,${PKGMANDIR}/man1," post-install: ${RM} -fr ${DESTDIR}${PREFIX}/${PYSITELIB}/devscripts .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk"