freebsd-ports/misc/quotes/Makefile

43 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: quotes
# Date created: 9 February 1999
# Whom: Dima Sivachenko
#
1999-08-25 09:23:21 +02:00
# $FreeBSD$
#
2000-04-14 10:49:30 +02:00
PORTNAME= quotes
DISTVERSION= 1.7-2
PORTREVISION= 1
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/
2005-11-15 10:51:45 +01:00
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)
2001-07-15 10:21:18 +02:00
@ ${MKDIR} ${DOCSDIR}
@ ${INSTALL_DATA} ${WRKSRC}/quotes.txt ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@ ${MKDIR} ${EXAMPLESDIR}
@ ${INSTALL_DATA} ${WRKSRC}/QuExample.pm ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>