diff options
author | tron <tron> | 2010-12-25 15:43:32 +0000 |
---|---|---|
committer | tron <tron> | 2010-12-25 15:43:32 +0000 |
commit | 4f2e80a5f6225e4c052d0083a156527c0ad535b8 (patch) | |
tree | 3db5a3fef9bcaf827f6dbe9393bc2c0e870079a0 /net/youtube-dl/Makefile | |
parent | 194415581f0c885e97d4755a198df003bbdf16e3 (diff) | |
download | pkgsrc-4f2e80a5f6225e4c052d0083a156527c0ad535b8.tar.gz |
Use "curl" for fetching the distribution file as the downlod URL
uses HTTPS.
Diffstat (limited to 'net/youtube-dl/Makefile')
-rw-r--r-- | net/youtube-dl/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/net/youtube-dl/Makefile b/net/youtube-dl/Makefile index 78fa58b3b56..e6204d5bd08 100644 --- a/net/youtube-dl/Makefile +++ b/net/youtube-dl/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.23 2010/12/23 18:21:16 tron Exp $ +# $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= http://github.com/rg3/youtube-dl/${VERSION_DATE}/ +MASTER_SITES= https://github.com/rg3/youtube-dl/${VERSION_DATE}/ EXTRACT_SUFX= # none DIST_SUBDIR= ${PKGNAME_NOREV} @@ -23,6 +23,12 @@ 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 |