pkgsrc/net/youtube-dl/Makefile
snj f56193998c Update to 20090808. Changes:
- Properly encode messages sent to stderr (fixes issue #34)
- Include format 5 in best quality list
- Fix metacafe.com code due to recent changes in the site
- Update User-agent string
- Fix minor problem with size formatting method
- Use get_video_info to work around captcha problems (fixes issue #31)
2009-09-06 16:48:44 +00:00

31 lines
790 B
Makefile

# $NetBSD: Makefile,v 1.15 2009/09/06 16:48:44 snj Exp $
DISTNAME= youtube-dl
PKGNAME= youtube-dl-20090808 # master site needs to be updated in tandem
CATEGORIES= net
MASTER_SITES= http://bitbucket.org/rg3/youtube-dl/raw/2009.08.08/
EXTRACT_SUFX= # none
DIST_SUBDIR= ${PKGNAME_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://bitbucket.org/rg3/youtube-dl/
COMMENT= Download videos from youtube.com
LICENSE= public-domain
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # none
PYTHON_VERSIONS_ACCEPTED= 26 25 24
NO_BUILD= yes
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin
REPLACE_PYTHON+= ${DISTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
${DESTDIR}${PREFIX}/bin/youtube-dl
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"