# $NetBSD: Makefile,v 1.242 2021/06/06 09:03:31 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.06.06 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"