blob: e6204d5bd08e93509778c8f854827fb94864ebea (
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
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.24 2010/12/25 15:43:32 tron Exp $
VERSION_DATE= 2010.12.09
DISTNAME= youtube-dl
PKGNAME= youtube-dl-${VERSION_DATE:S/.//g}
CATEGORIES= net
MASTER_SITES= https://github.com/rg3/youtube-dl/${VERSION_DATE}/
EXTRACT_SUFX= # none
DIST_SUBDIR= ${PKGNAME_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://rg3.github.com/youtube-dl/
COMMENT= Download videos from youtube.com
LICENSE= public-domain
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # none
NO_BUILD= yes
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin
REPLACE_PYTHON+= ${DISTNAME}
.include "../../mk/bsd.prefs.mk"
# Force using "curl" for fetching the distribution file. It is only available
# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
FETCH_USING= curl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
${DESTDIR}${PREFIX}/bin/youtube-dl
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
|