1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/misc/quotes/Makefile

35 lines
978 B
Makefile
Raw Normal View History

# New ports collection makefile for: quotes
# Version required: 1.5-1
# Date created: 9 February 1999
# Whom: Dima Sivachenko
#
1999-08-25 07:23:21 +00:00
# $FreeBSD$
#
DISTNAME= quotes-1.5-1
PKGNAME= quotes-1.5.1
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>