summaryrefslogtreecommitdiff
path: root/deskutils/teapot/Makefile
blob: ae79489ecc59cb88e8077656c337f2f8408a451a (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
# New ports collection makefile for:	teapot
# Version required:			1.03
# Date created:				7 January 1998
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

DISTNAME=	teapot-1.03
CATEGORIES=	deskutils
MASTER_SITES=	ftp://cantor.informatik.rwth-aachen.de/pub/unix/ \
		http://www.moria.de/~michael/teapot/

MAINTAINER=	ports@FreeBSD.org

ALL_TARGET=
MAN1=		teapot.1

do-install:
	@ ${INSTALL_PROGRAM} ${WRKSRC}/teapot ${PREFIX}/bin
	@ cd ${WRKSRC}/doc; make teapot.doc teapot.html teapot.ps
	@ ${INSTALL_MAN} ${WRKSRC}/teapot.1.en ${PREFIX}/man/man1/teapot.1
	@ ${MKDIR} ${PREFIX}/share/examples/teapot
.for file in asqrt asqrt.README counter counter.README life life.README sqrt sqrt.README
	@ ${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/share/examples/teapot
.endfor
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${PREFIX}/share/doc/teapot
	@ ${INSTALL_DATA} ${WRKSRC}/README-en.html ${PREFIX}/share/doc/teapot/README.html
.for file in teapot.doc teapot.html teapot.ps
	@ ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/teapot
.endfor
.endif

.include <bsd.port.mk>