1999-02-22 01:34:12 +00:00
|
|
|
# New ports collection makefile for: quotes
|
|
|
|
# Version required: 1.3.0
|
|
|
|
# Date created: 9 February 1999
|
|
|
|
# Whom: Dima Sivachenko
|
|
|
|
#
|
1999-04-26 02:46:16 +00:00
|
|
|
# $Id: Makefile,v 1.1.1.1 1999/02/22 01:34:12 billf Exp $
|
1999-02-22 01:34:12 +00:00
|
|
|
#
|
|
|
|
|
1999-04-26 02:46:16 +00:00
|
|
|
DISTNAME= quotes-1.4-0
|
|
|
|
PKGNAME= quotes-1.4.0
|
1999-02-22 01:34:12 +00:00
|
|
|
CATEGORIES= misc
|
1999-04-26 02:46:16 +00:00
|
|
|
MASTER_SITES= ftp://ftp.iae.nl/pub/users/grimaldo/
|
|
|
|
# http://www.FreeBSD.org/~billf/distfiles/
|
1999-02-22 01:34:12 +00:00
|
|
|
|
|
|
|
MAINTAINER= dima@Chg.RU
|
|
|
|
|
1999-04-26 02:46:16 +00:00
|
|
|
WRKSRC= ${WRKDIR}/quotes-1.4-0
|
1999-02-22 01:34:12 +00:00
|
|
|
|
|
|
|
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
|
1999-04-26 02:46:16 +00:00
|
|
|
@ ${MV} ${WRKSRC}/quotesmailer ${WRKSRC}/quotesmailer.pre_sed
|
|
|
|
@ ${SED} -e 's#/usr/bin/perl#${PERL5}#' ${WRKSRC}/quotesmailer.pre_sed \
|
|
|
|
> ${WRKSRC}/quotesmailer
|
1999-02-22 01:34:12 +00:00
|
|
|
@ ${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
|
1999-04-26 02:46:16 +00:00
|
|
|
@ ${INSTALL_SCRIPT} ${WRKSRC}/quotesmailer ${PREFIX}/bin
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/sample.quotesrc ${PREFIX}/etc/quotesrc.sample
|
1999-02-22 01:34:12 +00:00
|
|
|
.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>
|