- Update to 2012.09.27.

- Drops support for python 2.5.
- Switch to USE_GITHUB.

PR:		ports/172153
Submitted by:	"4721@hushmail.com" <4721@hushmail.com>
This commit is contained in:
Marcelo Araujo 2012-10-03 14:45:45 +00:00
parent fc1802032e
commit c208343cd0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305205
2 changed files with 13 additions and 18 deletions

View file

@ -1,28 +1,26 @@
# New ports collection makefile for: youtube_dl
# Date created: 2006-08-12
# Whom: Pankov Pavel <pankov_p@mail.ru>
#
# $FreeBSD$
#
PORTNAME= youtube_dl
PORTVERSION= 2012.02.27
PORTVERSION= 2012.09.27
CATEGORIES= www
MASTER_SITES= https://raw.github.com/rg3/youtube-dl/${PORTVERSION}/ \
MASTER_SITES= GH \
CRITICAL
DISTNAME= youtube-dl
EXTRACT_SUFX= # empty
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
EXTRACT_ONLY= # empty
MAINTAINER= araujo@FreeBSD.org
COMMENT= A program for downloading videos from YouTube.com
LICENSE= GPLv2
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_PYTHON_RUN= 2.5-2.7
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
USE_PYTHON_RUN= 2.6-2.7
ALL_TARGET= compile
USE_GITHUB= yes
GH_ACCOUNT= rg3
GH_PROJECT= youtube-dl
GH_COMMIT= b5de8af
PLIST_FILES= bin/youtube-dl
@ -44,9 +42,6 @@ RUN_DEPENDS+= ffprobe:${PORTSDIR}/multimedia/ffmpeg
. endif
.endif
post-extract:
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}/youtube-dl
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${PREFIX}/bin/youtube-dl

View file

@ -1,2 +1,2 @@
SHA256 (youtube_dl/2012.02.27/youtube-dl) = 98146a510fed3d39a34a686e1100d6df4efa2b9b9e194649e615afc1ff646834
SIZE (youtube_dl/2012.02.27/youtube-dl) = 159848
SHA256 (youtube_dl-2012.09.27) = 45e88c1a5b81e633bddd43d5363e7ade92af2eeb534c37a5170f4b68d73605ea
SIZE (youtube_dl-2012.09.27) = 2874838