(patch) Update multimedia/podcatcher to 3.1.4 (Sep 2008)

parv at pair.com parv at pair.com
Sat Jun 6 13:26:00 UTC 2009


>Submitter-Id:	current-users
>Originator:	parv
>Organization:	
>Confidential:	no 
>Synopsis:	(patch) Update multimedia/podcatcher to 3.1.4 (Sep 2008)
>Severity:	non-critical
>Priority:	
>Category:	ports
>Class:		update
>Release:	FreeBSD 6.4-STABLE i386
>Environment:
System: FreeBSD holstein.holy.cow 6.4-STABLE FreeBSD 6.4-STABLE #2: Fri Apr 24 04:40:41 HST 2009 root at holstein.holy.cow:/misc/work/obj-6/misc/src-6/sys/T61-SMP i386


>Description:

(I will be out of touch until Jun 13, 2009.)


Update podcatcher to 3.1.4, Sep 20, 2008 release.  Read ..

  http://podcatcher.rubyforge.org/


...for details of changes.  Main hightlight is that a cutoff past date can be
specified via new option "--horizon" (added in 3.0.0, about 2 years ago) ...

  #  Don't fetch anything before Jul 22, 2007.
  podcatcher --horizon 2007.07.22 ...

  #  Don't fetch anything before Jul 1, 2007.
  podcatcher --horizon 2007.07 ...

  #  Don't fetch anything before Jan 1, 2007.
  podcatcher --horizon 2007 ...


Other two new options allows to select based on language (e.g. English, Hindi,
etc.) via "--language" option; and to directly download the actual contents on a
device via "--cachedir" option.

  podcatcher  \
    --horizon 2009.06.01  \
    --language en,hi  \
    --cachedir /media/iaudio7/MUSIC/Podcast  \
    --dir ~/audio/podcatcher  \
    ...


>How-To-Repeat:


>Fix:

diff -uNr podcatcher.old/Makefile podcatcher/Makefile
--- podcatcher.old/Makefile	2007-09-29 21:59:27.000000000 -1000
+++ podcatcher/Makefile	2009-06-06 02:33:32.000000000 -1000
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	podcatcher
-PORTVERSION=	2.0.1
+PORTVERSION=	3.1.4
 CATEGORIES=	multimedia ruby
 MASTER_SITES=	${MASTER_SITE_RUBYFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -19,9 +19,22 @@
 WRKSRC=		${WRKDIR}/${PORTNAME}
 NO_BUILD=	yes
 
-PLIST_FILES=	bin/podcatcher
+PLIST_FILES=	bin/podcatcher \
+		${EXAMPLESDIR_REL}/arguments.txt \
+		${EXAMPLESDIR_REL}/options.yaml \
+		${EXAMPLESDIR_REL}/subscriptions.pcast \
+		${EXAMPLESDIR_REL}/subscriptions.opml
+
+PLIST_DIRS=	${EXAMPLESDIR_REL}
 
 do-install:
-	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	@${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
+
+post-install:
+	@${MKDIR}	${EXAMPLESDIR} \
+	&& \
+	( cd ${WRKSRC}/demo \
+		&& ${COPYTREE_SHARE} \* ${EXAMPLESDIR} \
+	)
 
 .include <bsd.port.mk>
diff -uNr podcatcher.old/distinfo podcatcher/distinfo
--- podcatcher.old/distinfo	2007-09-29 21:59:27.000000000 -1000
+++ podcatcher/distinfo	2009-06-06 01:18:13.000000000 -1000
@@ -1,3 +1,3 @@
-MD5 (podcatcher-2.0.1.tar.gz) = fcb656d5b1ad0942b2e636e9a92ab54a
-SHA256 (podcatcher-2.0.1.tar.gz) = 1d0a7090c8774fbef3d229b71eaddb4312b12c27747728ce6a0d7dbe90b6713e
-SIZE (podcatcher-2.0.1.tar.gz) = 20116
+MD5 (podcatcher-3.1.4.tar.gz) = 38e5382613c4a454b8138bcc2b881e68
+SHA256 (podcatcher-3.1.4.tar.gz) = 96cdbc0e2922417d128e0504288262324c0e8e2330ae205a183a1e458a62a470
+SIZE (podcatcher-3.1.4.tar.gz) = 23840


More information about the freebsd-multimedia mailing list