1999-02-21 20:34:12 -05:00
|
|
|
# New ports collection makefile for: quotes
|
|
|
|
# Date created: 9 February 1999
|
|
|
|
# Whom: Dima Sivachenko
|
|
|
|
#
|
1999-08-25 03:23:21 -04:00
|
|
|
# $FreeBSD$
|
1999-02-21 20:34:12 -05:00
|
|
|
#
|
|
|
|
|
2000-04-14 04:49:30 -04:00
|
|
|
PORTNAME= quotes
|
2001-01-08 05:00:13 -05:00
|
|
|
PORTVERSION= 1.7.2
|
1999-02-21 20:34:12 -05:00
|
|
|
CATEGORIES= misc
|
2001-01-08 05:00:13 -05:00
|
|
|
MASTER_SITES= ftp://ftp.coralys.com/pub/free/
|
|
|
|
DISTNAME= ${PORTNAME}-1.7-2
|
1999-02-21 20:34:12 -05:00
|
|
|
|
2000-11-13 07:45:40 -05:00
|
|
|
MAINTAINER= demon@FreeBSD.org
|
2003-03-07 01:14:21 -05:00
|
|
|
COMMENT= Quote, currency, and Slashdot headline fetcher based on Perl
|
1999-02-21 20:34:12 -05:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_PERL5= yes
|
|
|
|
|
|
|
|
post-patch:
|
1999-12-30 21:15:35 -05:00
|
|
|
@ ${PERL} -pi -e "s:/usr/bin/perl:${PERL}:g" ${WRKSRC}/quotes
|
2000-07-07 15:18:01 -04:00
|
|
|
@ ${PERL} -pi -e "s:/usr/local/lib/Quotes:${PREFIX}/etc:g" ${WRKSRC}/quotes
|
|
|
|
@ ${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/quotes
|
1999-12-30 21:15:35 -05:00
|
|
|
@ ${PERL} -pi -e "s:/usr/bin/perl:${PERL}:g" ${WRKSRC}/quotesmailer
|
|
|
|
@ ${PERL} -pi -e "s:/usr/bin/perl:${PERL}:g" ${WRKSRC}/QuExample.pm
|
1999-02-21 20:34:12 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@ ${INSTALL_SCRIPT} ${WRKSRC}/quotes ${PREFIX}/bin
|
1999-04-25 22:46:16 -04:00
|
|
|
@ ${INSTALL_SCRIPT} ${WRKSRC}/quotesmailer ${PREFIX}/bin
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/sample.quotesrc ${PREFIX}/etc/quotesrc.sample
|
1999-02-21 20:34:12 -05:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-07-15 04:21:18 -04:00
|
|
|
@ ${MKDIR} ${DOCSDIR}
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/quotes.txt ${DOCSDIR}
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/QuExample.pm ${DOCSDIR}
|
1999-02-21 20:34:12 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|