summaryrefslogtreecommitdiff
path: root/deskutils/teapot/Makefile
blob: 24867c03a99f0785f8cf606e080837aa36b03a18 (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
# 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/

MAINTAINER=	andy@icc.surw.chel.su

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>