summaryrefslogtreecommitdiff
path: root/deskutils/teapot/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-23 17:34:53 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-23 17:34:53 +0000
commit611fcfa204445df63abaed70c7e5d0d7fcceca98 (patch)
tree1e56c95e4e917989a2ddcb508755796baa371502 /deskutils/teapot/Makefile
parentupgrade to 0.0.27 (diff)
upgrade to 1.04
PR: 32214 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=50418
Diffstat (limited to '')
-rw-r--r--deskutils/teapot/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/deskutils/teapot/Makefile b/deskutils/teapot/Makefile
index 010528fc7e00..3a94fea6a3cb 100644
--- a/deskutils/teapot/Makefile
+++ b/deskutils/teapot/Makefile
@@ -6,13 +6,14 @@
#
PORTNAME= teapot
-PORTVERSION= 1.03
-PORTREVISION= 2
+PORTVERSION= 1.04
CATEGORIES= deskutils
MASTER_SITES= http://www.moria.de/~michael/teapot/
MAINTAINER= ports@FreeBSD.org
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I./.curses.h -DNO_POSIX_SOURCE" \
+ LDFLAGS="" LIBS="-lcurses -mytinfo -lm" MAKEDEPEND=""
ALL_TARGET= teapot
MAN1= teapot.1
@@ -21,20 +22,22 @@ EXAMPLES= examples/asqrt examples/asqrt.README examples/blink \
examples/life.README examples/sqrt examples/sqrt.README
PORTDOCS= doc/teapot.doc doc/teapot.html doc/teapot.ps
+EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}
+
post-build:
- @ cd ${WRKSRC}/doc && ${MAKE} teapot.doc teapot.html teapot.ps
+ @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
+ @${MKDIR} ${EXAMPLESDIR}
.for file in ${EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/examples/teapot
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR}
.endfor
- @${MKDIR} ${PREFIX}/share/doc/teapot
+ @${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/teapot
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif