summaryrefslogtreecommitdiffstats
path: root/misc/quotes/Makefile
blob: 71ea851597fd99e54408ae4210457098ab243fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:	quotes
# Version required:	1.5-2
# Date created:         9 February 1999
# Whom:                 Dima Sivachenko
#
# $FreeBSD$
#

DISTNAME=	quotes-1.5-2
PKGNAME=	quotes-1.5.2
CATEGORIES=	misc
MASTER_SITES=	ftp://ftp.iae.nl/pub/users/grimaldo/

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/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>
OpenPOWER on IntegriCloud