From c13036de179fddf0bcce02bb2328eb3f0e0d1a24 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Thu, 28 Aug 2014 16:34:35 +0000 Subject: [PATCH] - Update USES=python: it works fine with Python 3.x [1] - Fix shebang [2] - Bump PORTREVISION for package change With hat: python [1] Reported by: ohauer [2] --- www/youtube_dl/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/youtube_dl/Makefile b/www/youtube_dl/Makefile index b60991f7c239..fc716d11ffd4 100644 --- a/www/youtube_dl/Makefile +++ b/www/youtube_dl/Makefile @@ -2,6 +2,7 @@ PORTNAME= youtube_dl PORTVERSION= 2014.08.10 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://yt-dl.org/downloads/${PORTVERSION}/ DISTNAME= youtube-dl-${PORTVERSION} @@ -16,8 +17,9 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip -USES= python:2,run ALL_TARGET= youtube-dl +MAKE_ARGS= PYTHON=${PYTHON_CMD} +USES= python:run OPTIONS_DEFINE= BASH RTMPDUMP FFMPEG OPTIONS_DEFAULT=RTMPDUMP