mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
8580b6cf50
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. http://www.iae.nl/users/grimaldo/OpenSoft/quotes.shtml PR: ports/9981 Submitted By: Dima Sivachenko <dima@Chg.RU>
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# New ports collection makefile for: quotes
|
|
# Version required: 1.3.0
|
|
# Date created: 9 February 1999
|
|
# Whom: Dima Sivachenko
|
|
#
|
|
# $Id: $
|
|
#
|
|
|
|
DISTNAME= quotes-1.3-0
|
|
PKGNAME= quotes-1.3.0
|
|
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.3-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}/QuExample.pm ${WRKSRC}/QuExample.pm.pre_sed
|
|
@ ${SED} -e 's#/usr/bin/perl#${PERL5}#' ${WRKSRC}/QuExample.pm.pre_sed \
|
|
> ${WRKSRC}/QuExample.pm
|
|
|
|
do-install:
|
|
|
|
@ ${INSTALL_SCRIPT} ${WRKSRC}/quotes ${PREFIX}/bin
|
|
@ ${INSTALL_DATA} ${WRKSRC}/sample.quotesrc ${PREFIX}/etc
|
|
.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
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|