mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
e419bb17d3
(Makefile is slightly modified & several html documents are vanished) - Add %%PORTDOCS%% to pkg-plist PR: 25868 Submitted by: Ports Fury
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# New ports collection makefile for: teapot
|
|
# Date created: 7 January 1998
|
|
# Whom: Andrey Zakhvatov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= teapot
|
|
PORTVERSION= 1.03
|
|
PORTREVISION= 2
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= http://www.moria.de/~michael/teapot/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
ALL_TARGET= teapot
|
|
MAN1= teapot.1
|
|
|
|
EXAMPLES= examples/asqrt examples/asqrt.README examples/blink \
|
|
examples/counter examples/counter.README examples/life \
|
|
examples/life.README examples/sqrt examples/sqrt.README
|
|
PORTDOCS= doc/teapot.doc doc/teapot.html doc/teapot.ps
|
|
|
|
post-build:
|
|
@ cd ${WRKSRC}/doc && ${MAKE} teapot.doc teapot.html teapot.ps
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/teapot ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/teapot.1.en ${MANPREFIX}/man/man1/teapot.1
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/examples/teapot
|
|
.for file in ${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/examples/teapot
|
|
.endfor
|
|
@${MKDIR} ${PREFIX}/share/doc/teapot
|
|
.for file in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/teapot
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|