From petef@entropy.databits.net  Tue Aug  7 20:47:32 2001
Return-Path: <petef@entropy.databits.net>
Received: from entropy.databits.net (electron.databits.net [207.29.204.16])
	by hub.freebsd.org (Postfix) with ESMTP id 5725337B405
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  7 Aug 2001 20:47:28 -0700 (PDT)
	(envelope-from petef@entropy.databits.net)
Received: by entropy.databits.net (Postfix, from userid 1001)
	id 334ADD932; Tue,  7 Aug 2001 21:29:50 -0400 (EDT)
Message-Id: <20010808012950.334ADD932@entropy.databits.net>
Date: Tue,  7 Aug 2001 21:29:50 -0400 (EDT)
From: Pete Fritchman <petef@databits.net>
Reply-To: Pete Fritchman <petef@databits.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update misc/tvguide to 0.9.0
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         29528
>Category:       ports
>Synopsis:       Update misc/tvguide to 0.9.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dburr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 07 20:50:02 PDT 2001
>Closed-Date:    Sat May 18 22:10:49 PDT 2002
>Last-Modified:  Sat May 18 22:10:49 PDT 2002
>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:
Responsible-Changed-From-To: freebsd-ports->dburr 
Responsible-Changed-By: lioux 
Responsible-Changed-When: Tue Aug 7 21:29:29 PDT 2001 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29528 

From: Pete Fritchman <petef@databits.net>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/29528: Update misc/tvguide to 0.9.0
Date: Wed, 8 Aug 2001 14:53:22 -0400

 Here's another update:
 
 diff -ruN /tmp/tvguide.old/Makefile tvguide/Makefile
 --- /tmp/tvguide.old/Makefile	Tue Aug  7 20:42:46 2001
 +++ tvguide/Makefile	Wed Aug  8 14:47:18 2001
 @@ -6,7 +6,7 @@
  #
  
  PORTNAME=	tvguide
 -PORTVERSION=	1.9.0
 +PORTVERSION=	1.9.1
  CATEGORIES=	misc
  MASTER_SITES=	http://www.cherrynebula.net/downloads/
  
 diff -ruN /tmp/tvguide.old/distinfo tvguide/distinfo
 --- /tmp/tvguide.old/distinfo	Tue Aug  7 19:42:40 2001
 +++ tvguide/distinfo	Wed Aug  8 14:47:40 2001
 @@ -1 +1 @@
 -MD5 (tvguide-1.9.0.tar.gz) = 517206e1917c6dc0835ce7c8ae3a6f6a
 +MD5 (tvguide-1.9.1.tar.gz) = 74fec053abacc429cbb2c1efe2f56c41
 
 --
 Pete Fritchman <petef@databits.net>
 Databits Network Services, Inc. <http://databits.net>
 finger petef@databits.net for PGP key
State-Changed-From-To: open->closed 
State-Changed-By: dburr 
State-Changed-When: Sat May 18 22:07:36 PDT 2002 
State-Changed-Why:  

tvguide has been renamed to 'tvlisting' 
and is now at version 2.0.0.  I will commit 
a new port under the name 'tvlisting'. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=29528 
>Unformatted:
