summaryrefslogtreecommitdiff
path: root/math/teapot
diff options
context:
space:
mode:
authorhauke <hauke@pkgsrc.org>2010-05-04 14:45:32 +0000
committerhauke <hauke@pkgsrc.org>2010-05-04 14:45:32 +0000
commitcd4a23938e536d281947ad3fff30d346778a5c3e (patch)
treef56d9ac0125953bd1e3e0cc8e8a819753171d608 /math/teapot
parent75d293d17f3e57ce781266f2e515114eb87d074c (diff)
downloadpkgsrc-cd4a23938e536d281947ad3fff30d346778a5c3e.tar.gz
teapot is a spread sheet program for UNIX, which uses modern concepts
besides being portable and extensible, for instance three dimensional tables and iterative expressions. The most important feature is the funktional addressing of cells, unlike the traditional approach like A0, C5, etc. which is probably inherited from VisiCalc.
Diffstat (limited to 'math/teapot')
-rw-r--r--math/teapot/DESCR7
-rw-r--r--math/teapot/Makefile40
-rw-r--r--math/teapot/PLIST16
-rw-r--r--math/teapot/distinfo6
-rw-r--r--math/teapot/patches/patch-aa23
5 files changed, 92 insertions, 0 deletions
diff --git a/math/teapot/DESCR b/math/teapot/DESCR
new file mode 100644
index 00000000000..12ff19448a1
--- /dev/null
+++ b/math/teapot/DESCR
@@ -0,0 +1,7 @@
+teapot is a spread sheet program for UNIX, which uses modern concepts
+besides being portable and extensible, for instance three dimensional
+tables and iterative expressions.
+
+The most important feature is the funktional addressing of cells,
+unlike the traditional approach like A0, C5, etc. which is probably
+inherited from VisiCalc.
diff --git a/math/teapot/Makefile b/math/teapot/Makefile
new file mode 100644
index 00000000000..2190725163f
--- /dev/null
+++ b/math/teapot/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/05/04 14:45:32 hauke Exp $
+#
+
+DISTNAME= teapot-1.09
+CATEGORIES= math
+MASTER_SITES= http://www.moria.de/~michael/teapot/
+
+MAINTAINER= hauke@NetBSD.org
+HOMEPAGE= http://www.moria.de/~michael/teapot/
+COMMENT= Curses based spread sheet program
+LICENSE= teapot-license
+
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${TEA_DOCSDIR} ${EGDIR}
+
+EGDIR= share/examples/teapot
+EXAMPLES= examples/asqrt examples/asqrt.README examples/blink \
+ examples/counter examples/counter.README examples/life \
+ examples/life.README examples/graphtest.sh examples/sqrt \
+ examples/sqrt.README
+TEA_DOCSDIR= share/doc/teapot
+TEA_DOCS= doc/teapot.doc doc/teapot.html doc/teapot.ps
+
+do-build:
+ cd ${WRKSRC} && ${MAKE_PROGRAM} ${MAKE_FLAGS} teapot
+ cd ${WRKSRC}/doc && ${MAKE} teapot.doc teapot.html teapot.ps
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/teapot ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/teapot.1.en \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/teapot.1
+.for file in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/${EGDIR}
+.endfor
+.for file in ${TEA_DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/${TEA_DOCSDIR}
+.endfor
+
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/teapot/PLIST b/math/teapot/PLIST
new file mode 100644
index 00000000000..a1530d43497
--- /dev/null
+++ b/math/teapot/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/04 14:45:32 hauke Exp $
+bin/teapot
+man/man1/teapot.1
+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/blink
+share/examples/teapot/counter
+share/examples/teapot/counter.README
+share/examples/teapot/graphtest.sh
+share/examples/teapot/life
+share/examples/teapot/life.README
+share/examples/teapot/sqrt
+share/examples/teapot/sqrt.README
diff --git a/math/teapot/distinfo b/math/teapot/distinfo
new file mode 100644
index 00000000000..a76aa153a48
--- /dev/null
+++ b/math/teapot/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/05/04 14:45:32 hauke Exp $
+
+SHA1 (teapot-1.09.tar.gz) = 5618bcc3c2e10ed6af73a0f8ee29599c7fc5967d
+RMD160 (teapot-1.09.tar.gz) = e592ff0a193e3c0f3dc5d774c07e72692d211240
+Size (teapot-1.09.tar.gz) = 161409 bytes
+SHA1 (patch-aa) = 5f849fc7436df413e6e925835056b598c3ffd237
diff --git a/math/teapot/patches/patch-aa b/math/teapot/patches/patch-aa
new file mode 100644
index 00000000000..a837fb23e30
--- /dev/null
+++ b/math/teapot/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/05/04 14:45:32 hauke Exp $
+
+--- doc/Makefile.orig 2003-09-22 22:24:03.000000000 +0200
++++ doc/Makefile
+@@ -5,15 +5,15 @@ teapot.mm: teapot.MM command.tbl.0 editl
+ soelim teapot.MM | grep -v '^\.lf' >teapot.mm
+
+ command.html.0 command.tbl.0: command command.bat insTH.ed
+- teapot -b command <command.bat
++ ../teapot -b command <command.bat
+ ed command.tbl.0 <insTH.ed
+
+ editline.html.0 editline.tbl.0: editline editline.bat insTH.ed
+- teapot -b editline <editline.bat
++ ../teapot -b editline <editline.bat
+ ed editline.tbl.0 <insTH.ed
+
+ unsorted.html.0 unsorted.tbl.0: unsorted unsorted.bat unsorted.ed
+- teapot -b unsorted <unsorted.bat
++ ../teapot -b unsorted <unsorted.bat
+ ed unsorted.tbl.0 <unsorted.ed
+
+ teapot.ps: teapot.mm