Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  7 Aug 2001 21:29:50 -0400 (EDT)
From:      Pete Fritchman <petef@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29528: Update misc/tvguide to 0.9.0
Message-ID:  <20010808012950.334ADD932@entropy.databits.net>

next in thread | raw e-mail | index | archive | help

>Number:         29528
>Category:       ports
>Synopsis:       Update misc/tvguide to 0.9.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 07 20:50:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Pete Fritchman
>Release:        FreeBSD 4.4-PRERELEASE i386
>Organization:
Databits Network Services, Inc.
>Environment:
System: FreeBSD entropy.databits.net 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #0: Sat Aug 4 12:24:43 EDT 2001 petef@entropy.databits.net:/usr/obj/usr/src/sys/ENTROPY i386

>Description:

- update to version 0.9.0
- take over as MAINTAINER (if this is ok with dburr@)
- USE_PERL5=yes
- fix path to perl in ${WRKSRC}/tvguide
- install documentation and example config file
- clean up pkg-{descr,message}

>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/tvguide/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	2000/11/20 00:49:55	1.1
+++ Makefile	2001/08/08 00:32:07
@@ -6,20 +6,32 @@
 #
 
 PORTNAME=	tvguide
-PORTVERSION=	1.6.1
+PORTVERSION=	1.9.0
 CATEGORIES=	misc
 MASTER_SITES=	http://www.cherrynebula.net/downloads/
 
-MAINTAINER=	dburr@FreeBSD.ORG
+MAINTAINER=	petef@databits.net
 
 RUN_DEPENDS=	wget:${PORTSDIR}/ftp/wget
 
-NO_BUILD=	YES
+NO_BUILD=	yes
+USE_PERL5=	yes
 
+post-patch:
+	@${PERL} -pi -e 's|^#!/usr/bin/perl|#!${PERL}|' ${WRKSRC}/tvguide
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/tvguide ${PREFIX}/bin
-
-post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for file in ChangeLog.txt README.txt README2.txt
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+	@${MKDIR} ${PREFIX}/share/examples/tvguide
+	${INSTALL_DATA} ${WRKSRC}/sample.tvguide.conf \
+		${PREFIX}/share/examples/tvguide/tvguide.conf
+	@${PERL} -pi -e 's|PREFIX|${PREFIX}|g' ${PKGMESSAGE}
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/misc/tvguide/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	2000/11/20 00:49:55	1.1
+++ distinfo	2001/08/07 23:42:40
@@ -1 +1 @@
-MD5 (tvguide-1.6.1.tar.gz) = 5fb6210d65cd5384cb98f8edb584497d
+MD5 (tvguide-1.9.0.tar.gz) = 517206e1917c6dc0835ce7c8ae3a6f6a
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/misc/tvguide/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr	2000/11/20 00:49:55	1.1
+++ pkg-descr	2001/08/07 23:50:14
@@ -1,6 +1,7 @@
 tvguide is a Perl script that reads the tv listings from tvguide.com
-and outputs them in a table format.
+and outputs them in ascii or HTML table format.
 
 WWW: http://www.cherrynebula.net/tvguide.html
 
-[ This port is maintained by Donald Burr <dburr@FreeBSD.ORG> ]
+- Pete
+petef@databits.net
Index: pkg-message
===================================================================
RCS file: /home/ncvs/ports/misc/tvguide/pkg-message,v
retrieving revision 1.1
diff -u -r1.1 pkg-message
--- pkg-message	2000/11/20 00:49:55	1.1
+++ pkg-message	2001/08/08 00:10:04
@@ -1,13 +1,7 @@
-*********************************************************************
-
-You will need to read the beginning of ${PREFIX}/bin/tvguide.
-Follow the instructions on how to obtain your ServiceID from the
-tvguide.com website and edit the script accordingly.
-
-If you have already visited tvguide.com using Netscape under FreeBSD,
-you do NOT need to do anything, as the script will automatically
-determine your ServiceID from your ${HOME}/.netscape/cookies file
-(if you have cookies enabled; otherwise you will need to follow the
-steps outlined in the script to obtain your ServiceID).
-
-*********************************************************************
+---------------------------------------------------------------------
+You will need to read PREFIX/share/doc/tvguide/README.txt
+and follow the instructions on how to obtain your ServiceID from the
+tvguide.com website and either edit the PREFIX/bin/tvguide
+script accordingly or create a config file based on the template in
+PREFIX/share/examples/tvguide/example.conf
+---------------------------------------------------------------------
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/misc/tvguide/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	2000/11/20 00:49:55	1.1
+++ pkg-plist	2001/08/08 00:11:25
@@ -1 +1,7 @@
 bin/tvguide
+%%PORTDOCS%%share/doc/tvguide/ChangeLog.txt
+%%PORTDOCS%%share/doc/tvguide/README.txt
+%%PORTDOCS%%share/doc/tvguide/README2.txt
+share/examples/tvguide/tvguide.conf
+@dirrm share/examples/tvguide
+%%PORTDOCS%%@dirrm share/doc/tvguide
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010808012950.334ADD932>