blob: 4d56aef8748d44deaaf9fd0afc2197ec7845efe4 (
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.31 2011/10/19 18:25:49 ryoon Exp $
VERSION_DATE= 2011.10.19
DISTNAME= youtube-dl
PKGNAME= youtube-dl-${VERSION_DATE:S/.//g}
CATEGORIES= net
MASTER_SITES= https://github.com/rg3/youtube-dl/raw/${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"
|