blob: 55858f1334191140d71e73402c51d00e39a29168 (
plain) (
blame)
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
35
36
37
38
39
40
41
42
43
|
# New ports collection makefile for: quotes
# Version required: 1.3.0
# Date created: 9 February 1999
# Whom: Dima Sivachenko
#
# $FreeBSD$
#
DISTNAME= quotes-1.4-0
PKGNAME= quotes-1.4.0
CATEGORIES= misc
MASTER_SITES= ftp://ftp.iae.nl/pub/users/grimaldo/
# http://www.FreeBSD.org/~billf/distfiles/
MAINTAINER= dima@Chg.RU
WRKSRC= ${WRKDIR}/quotes-1.4-0
NO_BUILD= yes
USE_PERL5= yes
post-patch:
@ ${MV} ${WRKSRC}/quotes ${WRKSRC}/quotes.pre_sed
@ ${SED} -e 's#/usr/bin/perl#${PERL5}#' ${WRKSRC}/quotes.pre_sed \
> ${WRKSRC}/quotes
@ ${MV} ${WRKSRC}/quotesmailer ${WRKSRC}/quotesmailer.pre_sed
@ ${SED} -e 's#/usr/bin/perl#${PERL5}#' ${WRKSRC}/quotesmailer.pre_sed \
> ${WRKSRC}/quotesmailer
@ ${MV} ${WRKSRC}/QuExample.pm ${WRKSRC}/QuExample.pm.pre_sed
@ ${SED} -e 's#/usr/bin/perl#${PERL5}#' ${WRKSRC}/QuExample.pm.pre_sed \
> ${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>
|