summaryrefslogtreecommitdiffstats
path: root/deskutils/teapot/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-11-23 17:34:53 +0000
committerijliao <ijliao@FreeBSD.org>2001-11-23 17:34:53 +0000
commit1509fd6bd46eca0510ee4ca8511e38b050028e77 (patch)
treeb9c32191217306a732c224439cbc64736e1b9d33 /deskutils/teapot/Makefile
parent5d36427018a5e04733d2126547c440e87abe4190 (diff)
downloadFreeBSD-ports-1509fd6bd46eca0510ee4ca8511e38b050028e77.zip
FreeBSD-ports-1509fd6bd46eca0510ee4ca8511e38b050028e77.tar.gz
upgrade to 1.04
PR: 32214 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'deskutils/teapot/Makefile')
-rw-r--r--deskutils/teapot/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/deskutils/teapot/Makefile b/deskutils/teapot/Makefile
index 010528f..3a94fea 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
OpenPOWER on IntegriCloud