summaryrefslogtreecommitdiff
path: root/deskutils/teapot
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-03-27 10:31:48 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-03-27 10:31:48 +0000
commit9ef2f5767519ecec3b43412f1926a953f3ef85e8 (patch)
treeacc98044b918c06f89d339f3d9b979ee80c73247 /deskutils/teapot
parentActivate xvmines. (diff)
Import teapot port. teapot is a curses-based spreadsheet.
PR: 5461 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes: svn path=/head/; revision=10323
Diffstat (limited to '')
-rw-r--r--deskutils/teapot/Makefile32
-rw-r--r--deskutils/teapot/distinfo1
-rw-r--r--deskutils/teapot/files/patch-aa37
-rw-r--r--deskutils/teapot/pkg-comment1
-rw-r--r--deskutils/teapot/pkg-descr22
-rw-r--r--deskutils/teapot/pkg-plist16
6 files changed, 109 insertions, 0 deletions
diff --git a/deskutils/teapot/Makefile b/deskutils/teapot/Makefile
new file mode 100644
index 000000000000..26185d7beae2
--- /dev/null
+++ b/deskutils/teapot/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: teapot
+# Version required: 1.01
+# Date created: 7 January 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= teapot-1.01
+CATEGORIES= misc
+MASTER_SITES= ftp://cantor.informatik.rwth-aachen.de/pub/unix/
+
+MAINTAINER= andy@icc.surw.chel.su
+
+ALL_TARGET=
+MAN1= teapot.1
+
+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
+.endfor
+ @ ${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
+.endfor
+
+.include <bsd.port.mk>
diff --git a/deskutils/teapot/distinfo b/deskutils/teapot/distinfo
new file mode 100644
index 000000000000..47c731c2aa46
--- /dev/null
+++ b/deskutils/teapot/distinfo
@@ -0,0 +1 @@
+MD5 (teapot-1.01.tar.gz) = 7a5191788f86d3df5d589a7efde714c3
diff --git a/deskutils/teapot/files/patch-aa b/deskutils/teapot/files/patch-aa
new file mode 100644
index 000000000000..2bf2f75e916b
--- /dev/null
+++ b/deskutils/teapot/files/patch-aa
@@ -0,0 +1,37 @@
+--- Makefile.orig Wed Mar 18 19:12:56 1998
++++ Makefile Fri Mar 27 11:22:13 1998
+@@ -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= -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common -I./.curses.h -DNO_POSIX_SOURCE
++LIBS= -lncurses -lmytinfo -lm
+ #LDFLAGS=
+ #MAKEDEPEND= gcc -MM
+ #}}}
diff --git a/deskutils/teapot/pkg-comment b/deskutils/teapot/pkg-comment
new file mode 100644
index 000000000000..fb7009082a1a
--- /dev/null
+++ b/deskutils/teapot/pkg-comment
@@ -0,0 +1 @@
+Full-screen curses based spread sheet program
diff --git a/deskutils/teapot/pkg-descr b/deskutils/teapot/pkg-descr
new file mode 100644
index 000000000000..2ca3886cb004
--- /dev/null
+++ b/deskutils/teapot/pkg-descr
@@ -0,0 +1,22 @@
+This is release 0.9 beta of teapot (Table Editor And Planner, Or:
+Teapot), a new spread sheet program for UNIX.
+
+The current release has the following features:
+
+o curses based user interface with easy to understand menues
+o portable sheet file format uses XDR or ASCII format
+o tbl, LaTeX, HTML, CSV or formatted text files can be generated and
+ simple SC and WK1 sheets can be imported
+o typed expression evaluator with the types int, float, string, error,
+ pointer to cell and empty
+o iterative expressions
+o powerful cell addressing
+o three-dimensional sheets
+o new expression evaluator functions can be added very easy
+o English, Dutch or German builtin messages or X/OPEN message catalogues
+o a user guide, available as troff -mm, PostScript and ASCII
+o It is still a small and simple program!
+
+The following URLs tell you a little more about it:
+
+http://cantor.informatik.rwth-aachen.de/~michael/projects/teapot-en.html
diff --git a/deskutils/teapot/pkg-plist b/deskutils/teapot/pkg-plist
new file mode 100644
index 000000000000..fe1b1749bebc
--- /dev/null
+++ b/deskutils/teapot/pkg-plist
@@ -0,0 +1,16 @@
+bin/teapot
+man/man1/teapot.1.gz
+share/doc/teapot/README.html
+share/doc/teapot/teapot.doc
+share/doc/teapot/teapot.html
+share/doc/teapot/teapot.ps
+share/examples/teapot/asqrt
+share/examples/teapot/asqrt.README
+share/examples/teapot/counter
+share/examples/teapot/counter.README
+share/examples/teapot/life
+share/examples/teapot/life.README
+share/examples/teapot/sqrt
+share/examples/teapot/sqrt.README
+@dirrm share/doc/teapot
+@dirrm share/examples/teapot