From 1509fd6bd46eca0510ee4ca8511e38b050028e77 Mon Sep 17 00:00:00 2001 From: ijliao Date: Fri, 23 Nov 2001 17:34:53 +0000 Subject: upgrade to 1.04 PR: 32214 Submitted by: KATO Tsuguru --- deskutils/teapot/Makefile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'deskutils/teapot/Makefile') 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 -- cgit v1.1