summaryrefslogtreecommitdiff
path: root/deskutils/teapot/Makefile
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2000-11-01 12:47:59 +0000
committerJames E. Housley <jeh@FreeBSD.org>2000-11-01 12:47:59 +0000
commit4c6eba2a63163a5ba88118907233d5e9a2b49ce8 (patch)
treebdae41a131f0b3bb3892066365be8403c4fdbf8a /deskutils/teapot/Makefile
parentNew file (diff)
- Fix MASTER_SITES
- Remove version number from pkg-descr - Update checksum (Can we legally hunt people that do this?) PR: 22446 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=34540
Diffstat (limited to '')
-rw-r--r--deskutils/teapot/Makefile33
1 files changed, 20 insertions, 13 deletions
diff --git a/deskutils/teapot/Makefile b/deskutils/teapot/Makefile
index 74e1019dde87..ac6ca76922c0 100644
--- a/deskutils/teapot/Makefile
+++ b/deskutils/teapot/Makefile
@@ -7,28 +7,35 @@
PORTNAME= teapot
PORTVERSION= 1.03
+PORTREVISION= 1
CATEGORIES= deskutils
-MASTER_SITES= ftp://cantor.informatik.rwth-aachen.de/pub/unix/ \
- http://www.moria.de/~michael/teapot/
+MASTER_SITES= http://www.moria.de/~michael/teapot/
MAINTAINER= ports@FreeBSD.org
-ALL_TARGET=
+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= README-de.html README-en.html README-nl.html \
+ 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
- @ 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
+ ${INSTALL_PROGRAM} ${WRKSRC}/teapot ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/teapot.1.en ${PREFIX}/man/man1/teapot.1
+ @${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
- @ ${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
+ @${MKDIR} ${PREFIX}/share/doc/teapot
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/teapot
.endfor
.endif