summaryrefslogtreecommitdiff
path: root/net/clive
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-05-16 11:10:04 +0000
committerwiz <wiz@pkgsrc.org>2011-05-16 11:10:04 +0000
commit8568c5876c907a1f73727a564a895b224343aca6 (patch)
tree7b8e1e3f76e235bdfff782ab3bd2212aaf767325 /net/clive
parentcf539db5e9af123bee38fdd336b79b83df2b49dd (diff)
downloadpkgsrc-8568c5876c907a1f73727a564a895b224343aca6.tar.gz
Update to 2.3.0.3:
== 2.3 == 2.3.0.3 Mon May 02 2011 Toni Gundogdu Changes: - Add support to read input from files 2.3.0.2 Tue Mar 15 2011 Toni Gundogdu Changes: - Make --version less verbose - Manual: Add SYNOPSIS - examples/cliverc, Manual: Add --category-http (quvi 0.2.12+) Bugfixes: - examples/cliverc: Typo in --get-with 2.3.0.1 Sat Feb 12 2011 Toni Gundogdu Changes: - Replace outdated webm_480p with mp4_360p in examples - README: Cleanup, add notes for packagers - Add examples/git/hooks/pre-commit - Manual: Cleanup, add HISTORY - Add vim modeline Other: - Create "2.2" branch from "master" - Merge "2.3_gws" into "master" branch - http://sourceforge.net/apps/trac/clive/wiki/Changes-2.3 2.3.0_4 (beta 4, 2.3_gws) Sat Dec 18 2010 Toni Gundogdu Changes: - Generate ChangeLog from git log 2.3.0_3 (beta 3, 2.3_gws) Wed Dec 01 2010 legatvs Changes: - Add support for /etc/xdg/clive/clive.conf - Add support /etc/xdg/clive.conf - Add --format list pattern - Add --format list - Add --format help 2.3.0_2 (beta 2, 2.3_gws) Thu Nov 04 2010 legatvs Changes: - Use quvi(1) for parsing video details, --quvi arg - Use external command to download, --get-with arg - Use version->declare instead of version::qv - Add JSON::XS dependency - Add examples/cliverc - Additional config file search paths (e.g. system-wide) - Remove WWW::Quvi dependency - Remove WWW::Curl dependency - Remove Term::ReadKey dependency - Remove --continue, --overwrite, --proxy - Remove --no-proxy, --agent, --throttle 2.3.0_1 (beta 1) Wed Oct 27 2010 Changes: - Use libquvi (WWW::Quvi) to parse video details - Remove options / features - Rename options - Prerequisites Bugfixes: - Progressbar unicode issues 2.3.0 "Glorified Wrapper Script" (2.3_gws) * Single-script vs. multiple-clive-modules - clive is no longer dispersed all over the file system in Perl packages * Use quvi(1) to parse the video details - 2.3 was going to use WWW::Quvi and libquvi (beta 1) - Had a piffany (beta 2) * Leave downloading for an external 3rd party command to do - e.g. curl, wget or whatever * Complete command line interface clean up - Esoteric, or otherwise now completely obsoleted, features were discarded See also: <http://sourceforge.net/apps/trac/clive/wiki/DevelopmentStatus>
Diffstat (limited to 'net/clive')
-rw-r--r--net/clive/Makefile32
-rw-r--r--net/clive/PLIST2
-rw-r--r--net/clive/distinfo8
3 files changed, 28 insertions, 14 deletions
diff --git a/net/clive/Makefile b/net/clive/Makefile
index eb7121add2b..6acc5346e2e 100644
--- a/net/clive/Makefile
+++ b/net/clive/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.37 2011/03/08 21:21:35 reed Exp $
+# $NetBSD: Makefile,v 1.38 2011/05/16 11:10:04 wiz Exp $
#
-DISTNAME= clive-2.2.23
+DISTNAME= clive-2.3.0.3
CATEGORIES= net multimedia www
MASTER_SITES= http://clive.googlecode.com/files/
@@ -10,18 +10,30 @@ HOMEPAGE= http://clive.sourceforge.net/
COMMENT= Command line video extraction tool for user-uploaded video hosts
LICENSE= gnu-gpl-v3
-DEPENDS+= p5-BerkeleyDB>=0.34:../../databases/p5-BerkeleyDB
-DEPENDS+= p5-Class-Singleton-[0-9]*:../../devel/p5-Class-Singleton
-DEPENDS+= p5-Getopt-ArgvFile-[0-9]*:../../devel/p5-Getopt-ArgvFile
-DEPENDS+= p5-Digest-SHA-[0-9]*:../../security/p5-Digest-SHA
-DEPENDS+= p5-HTML-Parser>=2.37:../../www/p5-HTML-Parser
-DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey
-DEPENDS+= p5-URI>=1.37:../../www/p5-URI
-DEPENDS+= p5-WWW-Curl>=4.05:../../www/p5-WWW-Curl
+DEPENDS+= quvi-[0-9]*:../../net/quvi
+DEPENDS+= curl-[0-9]*:../../www/curl
+DEPENDS+= p5-JSON-XS>=2.3:../../converters/p5-JSON-XS
+DEPENDS+= p5-Getopt-ArgvFile>=1.11:../../devel/p5-Getopt-ArgvFile
+DEPENDS+= p5-version>=0.77:../../devel/p5-version
PKG_DESTDIR_SUPPORT= user-destdir
PERL5_PACKLIST= auto/clive/.packlist
+INSTALLATION_DIRS= share/examples/clive
+
+CONF_FILES= ${PREFIX}/share/examples/clive/cliverc ${PKG_SYSCONFDIR}/cliverc
+
+SUBST_CLASSES+= config
+SUBST_SED.config+= -e "s,/usr/local/share/clive/cliverc,${PKG_SYSCONFDIR}/cliverc,"
+SUBST_FILES.config+= bin/clive
+SUBST_STAGE.config= pre-build
+SUBST_MESSAGE.config= Fixing path to global config file.
+
+post-build:
+ sed "s,/usr/,${PREFIX}/," ${WRKSRC}/examples/cliverc > ${WRKSRC}/cliverc
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/cliverc ${DESTDIR}${PREFIX}/share/examples/clive
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/clive/PLIST b/net/clive/PLIST
new file mode 100644
index 00000000000..203cc499643
--- /dev/null
+++ b/net/clive/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.11 2011/05/16 11:10:04 wiz Exp $
+share/examples/clive/cliverc
diff --git a/net/clive/distinfo b/net/clive/distinfo
index 8c07926c060..ac3d870a427 100644
--- a/net/clive/distinfo
+++ b/net/clive/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.31 2011/03/08 21:21:35 reed Exp $
+$NetBSD: distinfo,v 1.32 2011/05/16 11:10:04 wiz Exp $
-SHA1 (clive-2.2.23.tar.gz) = 5704ab42f5c7b2b114de9d2f5e56b039bf8f9bcf
-RMD160 (clive-2.2.23.tar.gz) = d23123f88f830ff6475257d9b07cf1dead90f324
-Size (clive-2.2.23.tar.gz) = 54858 bytes
+SHA1 (clive-2.3.0.3.tar.gz) = 88f1fc085bb8047b0ab0d13ea14afeebac24afac
+RMD160 (clive-2.3.0.3.tar.gz) = 0819077e76b6bc9d17755c514699a4a426116aa5
+Size (clive-2.3.0.3.tar.gz) = 44663 bytes