Changelog from diff: * Improve youtube.com support. * Improve vimeo support. * Add xvideos.com support. * Add collegehumor.com support.
37 lines
962 B
Makefile
37 lines
962 B
Makefile
# $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"
|