78b0bd21fe
PR: 19580 Submitted by: maintainer
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# New ports collection makefile for: quotes
|
|
# Date created: 9 February 1999
|
|
# Whom: Dima Sivachenko
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= quotes
|
|
PORTVERSION= 1.6.2
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ftp://ftp.iae.nl/pub/users/grimaldo/
|
|
DISTNAME= quotes-1.6-2
|
|
|
|
MAINTAINER= dima@Chg.RU
|
|
|
|
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} ${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>
|