Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 1999 15:24:27 -0500 (EST)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/15774: update port: misc/quotes -> v1.5-1 (1.5.1)
Message-ID:  <199912292024.PAA00718@argon.blackdawn.com>

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

>Number:         15774
>Category:       ports
>Synopsis:       update port: misc/quotes -> v1.5-1 (1.5.1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 29 13:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:

FreeBSD argon.blackdawn.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Tue Nov 30 10:14:31 EST 1999     root@argon.blackdawn.com:/usr/src/sys/compile/ARGON  i386

>Description:

This is an update for the misc/quotes ports, maintained
by dima@Chg.RU. I've cleaned up the Makefile a bit, using
Perl instead of sed to replace the calls to Perl in the
Perl scripts. I also decided that the original pkg/*
that I'd foolishly made were better than dima's (which
almost certainly seemed to come from the README), so I
replaced them (but his PLIST was better than mine, so I
guess we're even now. :-).

>How-To-Repeat:

Use the diff below to fix the current port.

>Fix:

diff -urN quotes/Makefile quotes.new/Makefile
--- quotes/Makefile	Wed Aug 25 03:22:25 1999
+++ quotes.new/Makefile	Thu Dec 23 22:46:06 1999
@@ -1,43 +1,34 @@
 # New ports collection makefile for:	quotes
-# Version required:	1.3.0
+# Version required:	1.5-1
 # Date created:         9 February 1999
 # Whom:                 Dima Sivachenko
 #
 # $FreeBSD: ports/misc/quotes/Makefile,v 1.4 1999/08/25 07:22:25 obrien Exp $
 #
 
-DISTNAME=	quotes-1.4-0
-PKGNAME=	quotes-1.4.0
+DISTNAME=	quotes-1.5-1
+PKGNAME=	quotes-1.5.1
 CATEGORIES=	misc
 MASTER_SITES=	ftp://ftp.iae.nl/pub/users/grimaldo/
-#		http://www.FreeBSD.org/~billf/distfiles/
 
 MAINTAINER=	dima@Chg.RU
 
-WRKSRC=		${WRKDIR}/quotes-1.4-0
-
 NO_BUILD=	yes
 USE_PERL5=	yes
 
 post-patch:
-	@ ${MV} ${WRKSRC}/quotes ${WRKSRC}/quotes.pre_sed
-	@ ${SED} -e 's#/usr/bin/perl#${PERL5}#' ${WRKSRC}/quotes.pre_sed \
-	> ${WRKSRC}/quotes
-	@ ${MV} ${WRKSRC}/quotesmailer ${WRKSRC}/quotesmailer.pre_sed
-	@ ${SED} -e 's#/usr/bin/perl#${PERL5}#' ${WRKSRC}/quotesmailer.pre_sed \
-	> ${WRKSRC}/quotesmailer
-	@ ${MV} ${WRKSRC}/QuExample.pm ${WRKSRC}/QuExample.pm.pre_sed
-	@ ${SED} -e 's#/usr/bin/perl#${PERL5}#' ${WRKSRC}/QuExample.pm.pre_sed \
-	> ${WRKSRC}/QuExample.pm
+	@${PERL} -pi -e "s:/usr/bin/perl:${PERL}:g" ${WRKSRC}/quotes
+	@${PERL} -pi -e "s:/usr/bin/perl:${PERL}:g" ${WRKSRC}/quotesmailer
+	@${PERL} -pi -e "s:/usr/bin/perl:${PERL}:g" ${WRKSRC}/QuExample.pm
 
 do-install:
-	@ ${INSTALL_SCRIPT} ${WRKSRC}/quotes ${PREFIX}/bin
-	@ ${INSTALL_SCRIPT} ${WRKSRC}/quotesmailer ${PREFIX}/bin
-	@ ${INSTALL_DATA} ${WRKSRC}/sample.quotesrc ${PREFIX}/etc/quotesrc.sample
+	@${INSTALL_SCRIPT} ${WRKSRC}/quotes ${PREFIX}/bin
+	@${INSTALL_SCRIPT} ${WRKSRC}/quotesmailer ${PREFIX}/bin
+	@${INSTALL_DATA} ${WRKSRC}/sample.quotesrc ${PREFIX}/etc/quotesrc.sample
 .if !defined(NOPORTDOCS)
-	@ ${MKDIR} ${PREFIX}/share/doc/quotes
-	@ ${INSTALL_DATA} ${WRKSRC}/quotes.txt ${PREFIX}/share/doc/quotes
-	@ ${INSTALL_DATA} ${WRKSRC}/QuExample.pm ${PREFIX}/share/doc/quotes
+	@${MKDIR} ${PREFIX}/share/doc/quotes
+	@${INSTALL_DATA} ${WRKSRC}/quotes.txt ${PREFIX}/share/doc/quotes
+	@${INSTALL_DATA} ${WRKSRC}/QuExample.pm ${PREFIX}/share/doc/quotes
 .endif
 
 .include <bsd.port.mk>
diff -urN quotes/files/md5 quotes.new/files/md5
--- quotes/files/md5	Sun Apr 25 22:46:15 1999
+++ quotes.new/files/md5	Thu Dec 16 19:52:36 1999
@@ -1 +1 @@
-MD5 (quotes-1.4-0.tar.gz) = d4cd38e3393d3b041deea7a292b3d182
+MD5 (quotes-1.5-1.tar.gz) = 3ab116c4c3181702ada4104e158f2c9d
diff -urN quotes/pkg/COMMENT quotes.new/pkg/COMMENT
--- quotes/pkg/COMMENT	Sat Jun 26 14:52:09 1999
+++ quotes.new/pkg/COMMENT	Thu Dec 16 20:13:08 1999
@@ -1 +1 @@
-Script to fetch headlines and financial news
+Quote, currency, and Slashdot headline fetcher based on Perl.
diff -urN quotes/pkg/DESCR quotes.new/pkg/DESCR
--- quotes/pkg/DESCR	Mon May  3 01:37:23 1999
+++ quotes.new/pkg/DESCR	Thu Dec 23 22:47:07 1999
@@ -1,9 +1,11 @@
-It is a Perl script that makes use of TCP/IP as underlying protocol to fetch
-headlines and financial news. Use it to keep track of Linux headlines,
-monitor your interests in foreign currency and monitor your portafolio of
-company stocks. All of this from a simple command line interface.
+This is a stock quote / currency status / Slashdot headline
+fetcher. It was designed to save bandwidth, which is particularly
+expensive in Europe. It has the capability of emailing these
+to you at so and so time designated by a crontab entry for its
+automailing program. This entire package is based on Perl.
 
 WWW: http://www.iae.nl/users/grimaldo/OpenSoft/quotes.shtml
+Author: D. Emilio Grimaldo Tunon <grimaldo@panama.iaehv.nl>
 
 --Dima
 dima@chg.ru

>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?199912292024.PAA00718>