upgrade to 1.04

PR:		32214
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Ying-Chieh Liao 2001-11-23 17:34:53 +00:00
parent 47366a8998
commit 611fcfa204
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50418
4 changed files with 12 additions and 46 deletions

View file

@ -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

View file

@ -1 +1 @@
MD5 (teapot-1.03.tar.gz) = 6d5348e6d051ca6b55e24ea36730c182
MD5 (teapot-1.04.tar.gz) = 39a962abfa2ffb8965e08b86b5d4d3be

View file

@ -1,37 +0,0 @@
--- Makefile.orig Fri Mar 9 04:50:04 2001
+++ Makefile Wed Mar 14 20:22:07 2001
@@ -1,16 +1,16 @@
#{{{script}}}#{{{ Linux, moria machines, gcc
-CFLAGS= -g -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
+#CFLAGS= -g -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
# The XDR library needs _BSD_SOURCE :(
CPPFLAGS= -D_BSD_SOURCE
#CPPFLAGS= -DTHE_ELECTRIC_FENCE
#CPPFLAGS= -I/usr/dmalloc/include -DDMALLOC
-LDFLAGS= -g
+#LDFLAGS= -g
#LDFLAGS= -g -L/usr/efence/lib
#LDFLAGS= -g -L/usr/dmalloc/lib
-LIBS= -lcurses -lm
+#LIBS= -lcurses -lm
#LIBS= -lcurses -lm -lefence
#LIBS= -lcurses -lm -ldmalloc
-MAKEDEPEND= mkdep -d
+#MAKEDEPEND= mkdep -d
#}}}
#{{{ Linux, Slackware/Redhat/Debian Distribution, gcc
#CC= gcc
@@ -22,10 +22,9 @@
#MAKEDEPEND= gcc -MM
#}}}
#{{{ FreeBSD 2.x, gcc
-#CC= gcc
-#CFLAGS= -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
-#CPPFLAGS= -I./.curses.h -DNO_POSIX_SOURCE
-#LIBS= -lncurses -lmytinfo -lm
+CC?= gcc
+CFLAGS+= -pedantic -fno-common -I./.curses.h -DNO_POSIX_SOURCE
+LIBS= -lncurses -lmytinfo -lm
#LDFLAGS=
#MAKEDEPEND= gcc -MM
#}}}

View file

@ -19,4 +19,4 @@ o It is still a small and simple program!
The following URLs tell you a little more about it:
WWW: http://www.moria.de/~michael/teapot/teapot-en.html
WWW: http://www.moria.de/~michael/teapot/