freebsd-ports/deskutils/teapot/Makefile

35 lines
1 KiB
Makefile

# New ports collection makefile for: teapot
# Date created: 7 January 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= teapot
PORTVERSION= 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>