blob: 3333d0ae222b2bb86ef708832107c4b5a11e8bfd (
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.34 2012/08/11 12:07:16 ryoon Exp $
VERSION_DATE= 2012.02.27
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"
|