aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/teapot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/teapot/Makefile')
-rw-r--r--deskutils/teapot/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/deskutils/teapot/Makefile b/deskutils/teapot/Makefile
index ac6ca76922c0..010528fc7e00 100644
--- a/deskutils/teapot/Makefile
+++ b/deskutils/teapot/Makefile
@@ -7,7 +7,7 @@
PORTNAME= teapot
PORTVERSION= 1.03
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= deskutils
MASTER_SITES= http://www.moria.de/~michael/teapot/
@@ -19,20 +19,19 @@ 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= README-de.html README-en.html README-nl.html \
- doc/teapot.doc doc/teapot.html doc/teapot.ps
+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 ${PREFIX}/man/man1/teapot.1
+ ${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
-.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/teapot
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/teapot