summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-08-03 09:19:02 +0000
committertnn <tnn@pkgsrc.org>2008-08-03 09:19:02 +0000
commit45baf94877d257d85ad5377969a4ddcb63d2b62c (patch)
tree7dbfe898e7c9ea804e076e31ab38f0c81783aa5e /net
parenta7b3b6fa8be5fb5a2aae02ec6adaa8e658c3fe39 (diff)
downloadpkgsrc-45baf94877d257d85ad5377969a4ddcb63d2b62c.tar.gz
Update to youtube-dl-20080726.
This release fixes a bug in the Unicode video title treatment, and another one with output templates referencing absolute paths. The main change is the program being able to download videos from metacafe.com and YouTube playlists. Also some pkgsrc cleanup.
Diffstat (limited to 'net')
-rw-r--r--net/youtube-dl/Makefile19
-rw-r--r--net/youtube-dl/distinfo8
2 files changed, 11 insertions, 16 deletions
diff --git a/net/youtube-dl/Makefile b/net/youtube-dl/Makefile
index 29ed7fb1c39..565b7bee4a6 100644
--- a/net/youtube-dl/Makefile
+++ b/net/youtube-dl/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2008/05/05 08:25:14 tnn Exp $
+# $NetBSD: Makefile,v 1.7 2008/08/03 09:19:02 tnn Exp $
#
-DISTNAME= youtube-dl
-PKGNAME= youtube-dl-20080420
+DISTNAME= youtube-dl-2008.07.26
+PKGNAME= ${DISTNAME:S/.//g}
CATEGORIES= net
MASTER_SITES= http://www.arrakis.es/~rggi3/youtube-dl/
EXTRACT_SUFX= # none
@@ -11,25 +11,20 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.arrakis.es/~rggi3/youtube-dl/
COMMENT= Download videos from youtube.com
-DIST_SUBDIR= ${PKGNAME_NOREV}
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # none
PYTHON_VERSIONS_ACCEPTED= 25 24
+NO_BUILD= yes
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin
-SUBST_CLASSES+= path
-SUBST_MESSAGE.path= Fixing paths.
-SUBST_STAGE.path= pre-build
-SUBST_FILES.path= youtube-dl
-SUBST_SED.path= -e 's,/usr/bin/env python,${PYTHONBIN},g'
-
-do-build:
+REPLACE_PYTHON+= ${DISTNAME}
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
+ ${DESTDIR}${PREFIX}/bin/youtube-dl
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/youtube-dl/distinfo b/net/youtube-dl/distinfo
index 0232111ca4b..13d69b19f97 100644
--- a/net/youtube-dl/distinfo
+++ b/net/youtube-dl/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2008/05/05 08:25:14 tnn Exp $
+$NetBSD: distinfo,v 1.6 2008/08/03 09:19:02 tnn Exp $
-SHA1 (youtube-dl-20080420/youtube-dl) = c9106fc85f3e5a90e88878ff4bd7b0a9f92114e9
-RMD160 (youtube-dl-20080420/youtube-dl) = 28f8dc35f478f0bf2a7825dbd05dc47d8ec3298f
-Size (youtube-dl-20080420/youtube-dl) = 16497 bytes
+SHA1 (youtube-dl-2008.07.26) = b01a7abe577e7f8415b32d7eb904f7bf7bf45073
+RMD160 (youtube-dl-2008.07.26) = 1cdf1463fbe69f53a8894e8a8e7196201e97df1e
+Size (youtube-dl-2008.07.26) = 29016 bytes