From owner-freebsd-ports Fri Dec 17 9:41:45 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A84921574E for ; Fri, 17 Dec 1999 09:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA68251; Fri, 17 Dec 1999 09:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from blackdawn.com (deepspace9.dcds.edu [207.231.151.2]) by hub.freebsd.org (Postfix) with ESMTP id 70D1414F0A for ; Fri, 17 Dec 1999 09:32:38 -0800 (PST) (envelope-from will@blackdawn.com) Received: (from root@localhost) by blackdawn.com (8.9.3/8.9.3) id MAA00821; Fri, 17 Dec 1999 12:32:32 -0500 (EST) (envelope-from will) Message-Id: <199912171732.MAA00821@blackdawn.com> Date: Fri, 17 Dec 1999 12:32:32 -0500 (EST) From: Will Andrews Reply-To: Will Andrews To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/15529: new port: misc/quotes Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15529 >Category: ports >Synopsis: new port: misc/quotes >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: Fri Dec 17 09:40:00 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 a set of Perl scripts that can be used to fetch quotes on stocks + Slashdot headlines, etc. See pkg/DESCR. Since it is based on Perl 5.001 or later, there should be no problems with -STABLE. >How-To-Repeat: Use the shar below to add the port to the tree. >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # quotes # quotes/files # quotes/files/md5 # quotes/pkg # quotes/pkg/COMMENT # quotes/pkg/DESCR # quotes/pkg/PLIST # quotes/patches # quotes/Makefile # echo c - quotes mkdir -p quotes > /dev/null 2>&1 echo c - quotes/files mkdir -p quotes/files > /dev/null 2>&1 echo x - quotes/files/md5 sed 's/^X//' >quotes/files/md5 << 'END-of-quotes/files/md5' XMD5 (quotes-1.5-1.tar.gz) = 3ab116c4c3181702ada4104e158f2c9d END-of-quotes/files/md5 echo c - quotes/pkg mkdir -p quotes/pkg > /dev/null 2>&1 echo x - quotes/pkg/COMMENT sed 's/^X//' >quotes/pkg/COMMENT << 'END-of-quotes/pkg/COMMENT' XQuote, currency, and Slashdot headline fetcher based on Perl. END-of-quotes/pkg/COMMENT echo x - quotes/pkg/DESCR sed 's/^X//' >quotes/pkg/DESCR << 'END-of-quotes/pkg/DESCR' XThis is a stock quote / currency status / Slashdot headline Xfetcher. It was designed to save bandwidth, which is particularly Xexpensive in Europe. It has the capability of emailing these Xto you at so and so time designated by a crontab entry for its Xautomailing program. This entire package is based on Perl. X XWWW: http://www.iae.nl/users/grimaldo/OpenSoft/quotes.shtml XAuthor: D. Emilio Grimaldo Tunon X X--Will END-of-quotes/pkg/DESCR echo x - quotes/pkg/PLIST sed 's/^X//' >quotes/pkg/PLIST << 'END-of-quotes/pkg/PLIST' Xbin/quotes Xbin/quotesmailer Xlib/perl5/site_perl/%%PERL_VER%%/Net/QuExample.pm Xshare/quotes/sample.quotesrc Xshare/quotes/quotes.txt Xshare/quotes/ChangeLog Xshare/quotes/quotes.spec Xshare/quotes/quotesrc X@dirrm share/quotes END-of-quotes/pkg/PLIST echo c - quotes/patches mkdir -p quotes/patches > /dev/null 2>&1 echo x - quotes/Makefile sed 's/^X//' >quotes/Makefile << 'END-of-quotes/Makefile' X# New ports collection makefile for: quotes X# Version required: 1.5-1 X# Date created: 19 Nov 1999 X# Whom: Will Andrews X# X# $FreeBSD$ X# X XDISTNAME= quotes-1.5-1 XPKGNAME= quotes-1.5.1 XCATEGORIES= misc perl5 XMASTER_SITES= ftp://ftp.iae.nl/pub/users/grimaldo/ \ X ftp://coralys.com/pub/free/ X XMAINTAINER= andrews@technologist.com X XUSE_PERL= yes XNO_BUILD= yes X Xpre-install: X @${PERL} -pi -e "s:/usr/local/lib/Quotes:${PREFIX}/share/quotes:g" ${WRKSRC}/* X @${PERL} -pi -e "s:/usr/bin/netscape:${LOCALBASE}/bin/netscape:g" ${WRKSRC}/sample.quotesrc X @${PERL} -pi -e \ X "s:/home/grimaldo/PerlLibs:${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Net/:g" ${WRKSRC}/sample.quotesrc X Xdo-install: X @${INSTALL_SCRIPT} ${WRKSRC}/quotes ${PREFIX}/bin X @${INSTALL_SCRIPT} ${WRKSRC}/quotesmailer ${PREFIX}/bin X @${INSTALL_DATA} ${WRKSRC}/QuExample.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Net/QuExample.pm X @${MKDIR} ${PREFIX}/share/quotes X @${INSTALL_DATA} ${WRKSRC}/quotes.txt ${PREFIX}/share/quotes X @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/quotes X @${INSTALL_DATA} ${WRKSRC}/quotes.spec ${PREFIX}/share/quotes X @${INSTALL_DATA} ${WRKSRC}/sample.quotesrc ${PREFIX}/share/quotes X @${INSTALL_DATA} ${WRKSRC}/sample.quotesrc ${PREFIX}/share/quotes/quotesrc X X.include END-of-quotes/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message