aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2012-10-03 22:45:45 +0800
committeraraujo <araujo@FreeBSD.org>2012-10-03 22:45:45 +0800
commitaadd7931a837742e313a0d26ff70e35742c93f08 (patch)
tree095e60e56cfcca0925f617ac3adf95651d6715dd /www
parent916176a4b4d7044c8ed92ea824fe247a9c652c4c (diff)
downloadfreebsd-ports-gnome-aadd7931a837742e313a0d26ff70e35742c93f08.tar.gz
freebsd-ports-gnome-aadd7931a837742e313a0d26ff70e35742c93f08.tar.zst
freebsd-ports-gnome-aadd7931a837742e313a0d26ff70e35742c93f08.zip
- 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>
Diffstat (limited to 'www')
-rw-r--r--www/youtube_dl/Makefile27
-rw-r--r--www/youtube_dl/distinfo4
2 files changed, 13 insertions, 18 deletions
diff --git a/www/youtube_dl/Makefile b/www/youtube_dl/Makefile
index 9f5b93c885b8..fec2d5532f12 100644
--- a/www/youtube_dl/Makefile
+++ b/www/youtube_dl/Makefile
@@ -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
diff --git a/www/youtube_dl/distinfo b/www/youtube_dl/distinfo
index 014e5a212301..7a9178c3cef5 100644
--- a/www/youtube_dl/distinfo
+++ b/www/youtube_dl/distinfo
@@ -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