pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/youtube-dl Update to 20130719
details: https://anonhg.NetBSD.org/pkgsrc/rev/6f1588e495ca
branches: trunk
changeset: 621874:6f1588e495ca
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sat Jul 20 05:07:15 2013 +0000
description:
Update to 20130719
* Use tarball, and install man page and bash stuff.
Changelog:
unknown.
diffstat:
net/youtube-dl/Makefile | 24 ++++++++----------------
net/youtube-dl/PLIST | 4 +++-
net/youtube-dl/distinfo | 9 +++++----
net/youtube-dl/patches/patch-Makefile | 17 +++++++++++++++++
4 files changed, 33 insertions(+), 21 deletions(-)
diffs (90 lines):
diff -r ae3b1cb8b5ec -r 6f1588e495ca net/youtube-dl/Makefile
--- a/net/youtube-dl/Makefile Sat Jul 20 04:36:05 2013 +0000
+++ b/net/youtube-dl/Makefile Sat Jul 20 05:07:15 2013 +0000
@@ -1,12 +1,10 @@
-# $NetBSD: Makefile,v 1.40 2013/06/09 01:52:47 ryoon Exp $
+# $NetBSD: Makefile,v 1.41 2013/07/20 05:07:15 ryoon Exp $
-VERSION_DATE= 2013.05.23
-DISTNAME= youtube-dl
+VERSION_DATE= 2013.07.19
+DISTNAME= youtube-dl-${VERSION_DATE}
PKGNAME= youtube-dl-${VERSION_DATE:S/.//g}
CATEGORIES= net
MASTER_SITES= http://youtube-dl.org/downloads/${VERSION_DATE}/
-EXTRACT_SUFX= # none
-DIST_SUBDIR= ${PKGNAME_NOREV}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://rg3.github.com/youtube-dl/
@@ -15,21 +13,15 @@
USE_LANGUAGES= # none
NO_BUILD= yes
-WRKSRC= ${WRKDIR}
+WRKSRC= ${WRKDIR}/youtube-dl
+USE_TOOLS+= gmake
-INSTALLATION_DIRS= bin
+REPLACE_PYTHON= youtube-dl
-REPLACE_PYTHON+= ${DISTNAME}
+MAKE_FLAGS+= PREFIX=${PREFIX} \
+ BASHCOMPDIR=${PREFIX}/share/bash-completion/completions
.include "../../mk/bsd.prefs.mk"
-# Force using "curl" for fetching the distribution file. It is only available
-# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
-#FETCH_USING= curl
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
- ${DESTDIR}${PREFIX}/bin/youtube-dl
-
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
diff -r ae3b1cb8b5ec -r 6f1588e495ca net/youtube-dl/PLIST
--- a/net/youtube-dl/PLIST Sat Jul 20 04:36:05 2013 +0000
+++ b/net/youtube-dl/PLIST Sat Jul 20 05:07:15 2013 +0000
@@ -1,2 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/05 21:14:30 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2013/07/20 05:07:15 ryoon Exp $
bin/youtube-dl
+man/man1/youtube-dl.1
+share/bash-completion/completions/youtube-dl
diff -r ae3b1cb8b5ec -r 6f1588e495ca net/youtube-dl/distinfo
--- a/net/youtube-dl/distinfo Sat Jul 20 04:36:05 2013 +0000
+++ b/net/youtube-dl/distinfo Sat Jul 20 05:07:15 2013 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.31 2013/06/09 01:52:47 ryoon Exp $
+$NetBSD: distinfo,v 1.32 2013/07/20 05:07:15 ryoon Exp $
-SHA1 (youtube-dl-20130523/youtube-dl) = 5c800da45720b8db66e13ffd5a8b04ccd0ab51db
-RMD160 (youtube-dl-20130523/youtube-dl) = b4b880411d96cb68eedd295f4a5d172946d62a49
-Size (youtube-dl-20130523/youtube-dl) = 72051 bytes
+SHA1 (youtube-dl-2013.07.19.tar.gz) = 2585bb3b86060c7b748a05627ad4b0bed71b6728
+RMD160 (youtube-dl-2013.07.19.tar.gz) = faee7d3da687a579a08c0ffc3729dc6e1bc9b3d6
+Size (youtube-dl-2013.07.19.tar.gz) = 293354 bytes
+SHA1 (patch-Makefile) = 84f9104c8202e7c4f9e58158e20887d45cb4664c
diff -r ae3b1cb8b5ec -r 6f1588e495ca net/youtube-dl/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/youtube-dl/patches/patch-Makefile Sat Jul 20 05:07:15 2013 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile,v 1.1 2013/07/20 05:07:15 ryoon Exp $
+
+* Fix bash-completion path.
+
+--- Makefile.orig 2013-07-02 05:35:23.000000000 +0000
++++ Makefile
+@@ -27,8 +27,8 @@ install: youtube-dl youtube-dl.1 youtube
+ install -m 755 youtube-dl $(DESTDIR)$(BINDIR)
+ install -d $(DESTDIR)$(MANDIR)/man1
+ install -m 644 youtube-dl.1 $(DESTDIR)$(MANDIR)/man1
+- install -d $(DESTDIR)$(SYSCONFDIR)/bash_completion.d
+- install -m 644 youtube-dl.bash-completion $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/youtube-dl
++ install -d $(DESTDIR)${BASHCOMPDIR}
++ install -m 644 youtube-dl.bash-completion $(DESTDIR)${BASHCOMPDIR}/youtube-dl
+
+ test:
+ #nosetests --with-coverage --cover-package=youtube_dl --cover-html --verbose --processes 4 test
Home |
Main Index |
Thread Index |
Old Index