1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/misc/quotes/Makefile
Renato Botelho 5d0e56a269 I've committed MASTER_SITES changes proposed by Marin Wilke some days ago,
but, the correct way is preserve original MASTER_SITE and add
freebsd.unixfreunde.de just as a backup, I'm doing it right now, restoring
original preserving the Martin's proposed backup.
2006-05-30 17:20:11 +00:00

40 lines
1.2 KiB
Makefile

# New ports collection makefile for: quotes
# Date created: 9 February 1999
# Whom: Dima Sivachenko
#
# $FreeBSD$
#
PORTNAME= quotes
PORTVERSION= 1.7.2
CATEGORIES= misc
MASTER_SITES= ftp://ftp.externet.hu/.lib/disk6/linuxberg/files/console/office/ \
ftp://ftp.waseda.ac.jp/.u7/ports/distfiles/ \
http://freebsd.unixfreunde.de/sources/
DISTNAME= ${PORTNAME}-1.7-2
MAINTAINER= ports@FreeBSD.org
COMMENT= Quote, currency, and Slashdot headline fetcher based on Perl
NO_BUILD= yes
USE_PERL5= yes
post-patch:
@ ${PERL} -pi -e "s:/usr/bin/perl:${PERL}:g" ${WRKSRC}/quotes
@ ${PERL} -pi -e "s:/usr/local/lib/Quotes:${PREFIX}/etc:g" ${WRKSRC}/quotes
@ ${PERL} -pi -e "s:/usr/local:${PREFIX}: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
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCSDIR}
@ ${INSTALL_DATA} ${WRKSRC}/quotes.txt ${DOCSDIR}
@ ${INSTALL_DATA} ${WRKSRC}/QuExample.pm ${DOCSDIR}
.endif
.include <bsd.port.mk>