summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortsutsui <tsutsui@pkgsrc.org>2019-06-22 00:32:21 +0000
committertsutsui <tsutsui@pkgsrc.org>2019-06-22 00:32:21 +0000
commitd09fa77d61c0bf1ef713b5849a1102fa167d63b1 (patch)
tree7a0c15349b7ec8931dda4ebfe41cca21b601efa9
parent89673aba799d96b04b80b05f08aac2674688f8f2 (diff)
downloadpkgsrc-d09fa77d61c0bf1ef713b5849a1102fa167d63b1.tar.gz
nicovideo-dl: restore package. 0.0.20190216 version works fine.
-rw-r--r--net/nicovideo-dl/DESCR3
-rw-r--r--net/nicovideo-dl/Makefile29
-rw-r--r--net/nicovideo-dl/PLIST2
-rw-r--r--net/nicovideo-dl/distinfo6
4 files changed, 40 insertions, 0 deletions
diff --git a/net/nicovideo-dl/DESCR b/net/nicovideo-dl/DESCR
new file mode 100644
index 00000000000..8371871ff64
--- /dev/null
+++ b/net/nicovideo-dl/DESCR
@@ -0,0 +1,3 @@
+nicovideo-dl is a small command-line program to download videos
+from www.nicovideo.jp. It is implemented by Python. It is
+platform-independent and should work on Unix/Windows/Mac.
diff --git a/net/nicovideo-dl/Makefile b/net/nicovideo-dl/Makefile
new file mode 100644
index 00000000000..68d3b7142e8
--- /dev/null
+++ b/net/nicovideo-dl/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.12 2019/06/22 00:32:21 tsutsui Exp $
+#
+
+DISTNAME= nicovideo-dl-0.0.20190126
+PKGREVISION= 1
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_OSDN:=nicovideo-dl/70568/}
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://osdn.jp/projects/nicovideo-dl/
+COMMENT= Download videos from www.nicovideo.jp
+LICENSE= mit
+
+USE_LANGUAGES= # none
+NO_BUILD= yes
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+
+INSTALLATION_DIRS= bin
+
+REPLACE_PYTHON+= nicovideo-dl
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/nicovideo-dl ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/nicovideo-dl/PLIST b/net/nicovideo-dl/PLIST
new file mode 100644
index 00000000000..0adae02da42
--- /dev/null
+++ b/net/nicovideo-dl/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.3 2019/06/22 00:32:21 tsutsui Exp $
+bin/nicovideo-dl
diff --git a/net/nicovideo-dl/distinfo b/net/nicovideo-dl/distinfo
new file mode 100644
index 00000000000..592ac83d90c
--- /dev/null
+++ b/net/nicovideo-dl/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.8 2019/06/22 00:32:21 tsutsui Exp $
+
+SHA1 (nicovideo-dl-0.0.20190126.tar.gz) = 4b5684d87cd9b7d92d0849a32ce9bdd8013b8dce
+RMD160 (nicovideo-dl-0.0.20190126.tar.gz) = 76babd46a1bf0499ee344c893137db09c44e9902
+SHA512 (nicovideo-dl-0.0.20190126.tar.gz) = 8b7764a87dbafa2ebb735ed78c52514d205a22536dc0af2d12d393d48238ed9bcf7ca311af79f8a5faf791209287cd426c1ce23ee58adbc0dd5ae594687604e1
+Size (nicovideo-dl-0.0.20190126.tar.gz) = 6868 bytes