Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 1999 12:32:32 -0500 (EST)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/15529: new port: misc/quotes
Message-ID:  <199912171732.MAA00821@blackdawn.com>

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

>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 <grimaldo@panama.iaehv.nl>
X
X--Will <andrews@technologist.com>
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 <andrews@technologist.com>
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 <bsd.port.mk>
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




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