summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1998-12-13 00:29:20 +0000
committerfrueauf <frueauf@pkgsrc.org>1998-12-13 00:29:20 +0000
commit3007682f5b4c77cfe5e9dc541eea8e8e9d01479a (patch)
tree090412ee2967e59dfd07c9e6e786767ea50eaa88 /math
parent7206b1804423e85a46b42c0555c43bbfd8cfbd12 (diff)
downloadpkgsrc-3007682f5b4c77cfe5e9dc541eea8e8e9d01479a.tar.gz
Initial addition of abacus-0.9.13, a Spread sheet for X Window System.
Provided in pr 6568 by Rene Hexel with some bugfixes and refining by me.
Diffstat (limited to 'math')
-rw-r--r--math/abacus/Makefile45
-rw-r--r--math/abacus/files/md53
-rw-r--r--math/abacus/patches/patch-aa27
-rw-r--r--math/abacus/patches/patch-ab19
-rw-r--r--math/abacus/patches/patch-ac17
-rw-r--r--math/abacus/patches/patch-ad13
-rw-r--r--math/abacus/pkg/COMMENT1
-rw-r--r--math/abacus/pkg/DESCR20
-rw-r--r--math/abacus/pkg/MESSAGE10
-rw-r--r--math/abacus/pkg/PLIST111
10 files changed, 266 insertions, 0 deletions
diff --git a/math/abacus/Makefile b/math/abacus/Makefile
new file mode 100644
index 00000000000..0675f15854e
--- /dev/null
+++ b/math/abacus/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/12/13 00:29:20 frueauf Exp $
+# FreeBSD Id: Makefile,v 1.3 1998/09/25 10:07:44 asami Exp
+#
+
+DISTNAME= abacus-0.9.13
+CATEGORIES= math x11
+MASTER_SITES= http://www-cad.eecs.berkeley.edu/HomePages/aml/abacus/ \
+ http://tahoe.inesc.pt/~aml/abacus/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www-cad.eecs.berkeley.edu/HomePages/aml/abacus/abacus.html
+
+DEPENDS+= tcl-8.0p2:../../lang/tcl80
+DEPENDS+= tk-8.0p2:../../x11/tk80
+
+USE_GMAKE= yes
+USE_X11= yes
+
+# Until we have tcl 8.0.3 in pkgsrc
+pre-build:
+ @ ${RM} -f ${WRKSRC}/canvas
+ @ ${LN} -fs ${WRKSRC}/canvas-tcl8.0.0 ${WRKSRC}/canvas
+
+do-install:
+ @ ${SED} s!@PREFIX@!${PREFIX}!g ${WRKSRC}/abacus >${WRKSRC}/abacus.sh
+ @ ${INSTALL_SCRIPT} ${WRKSRC}/abacus.sh ${PREFIX}/bin/abacus
+ @ ${MKDIR} ${PREFIX}/share/abacus
+ @ ${MKDIR} ${PREFIX}/share/abacus/display
+ @ ${INSTALL_DATA} ${WRKSRC}/display/*.tcl ${PREFIX}/share/abacus/display
+ @ ${MKDIR} ${PREFIX}/share/abacus/graphics
+ @ ${INSTALL_DATA} ${WRKSRC}/graphics/*.tcl ${PREFIX}/share/abacus/graphics
+ @ ${MKDIR} ${PREFIX}/share/abacus/runlib
+ @ ${INSTALL_DATA} ${WRKSRC}/runlib/*.tcl ${PREFIX}/share/abacus/runlib
+ @ ${INSTALL_DATA} ${WRKSRC}/runlib/version ${PREFIX}/share/abacus/runlib
+ @ ${MKDIR} ${PREFIX}/share/abacus/runlib/bitmaps
+ @ ${INSTALL_DATA} ${WRKSRC}/runlib/bitmaps/* ${PREFIX}/share/abacus/runlib/bitmaps
+ @ ${MKDIR} ${PREFIX}/share/abacus/tcl_interf
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/tcl_interf/nxlc ${PREFIX}/share/abacus/tcl_interf
+ @ ${MKDIR} ${PREFIX}/share/examples/abacus
+ @ ${INSTALL_DATA} ${WRKSRC}/regressive/* ${PREFIX}/share/examples/abacus
+ @ ${MKDIR} ${PREFIX}/share/doc/abacus
+ @ ${INSTALL_DATA} ${WRKSRC}/doc/abacus.ps ${PREFIX}/share/doc/abacus
+ @ ${INSTALL_DATA} ${WRKSRC}/doc/abacus.1 ${PREFIX}/man/man1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/abacus/files/md5 b/math/abacus/files/md5
new file mode 100644
index 00000000000..eabeb79add7
--- /dev/null
+++ b/math/abacus/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1998/12/13 00:29:20 frueauf Exp $
+
+MD5 (abacus-0.9.13.tar.gz) = babbcb9bf71121657ef8ae4619d603cf
diff --git a/math/abacus/patches/patch-aa b/math/abacus/patches/patch-aa
new file mode 100644
index 00000000000..4faded8d9db
--- /dev/null
+++ b/math/abacus/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 1998/12/13 00:29:20 frueauf Exp $
+
+--- Makefile.orig Sat Dec 12 14:34:20 1998
++++ Makefile Sat Dec 12 14:37:14 1998
+@@ -10,11 +10,12 @@
+ TARDIRS = $(DIRS) RCS regressive doc canvas-tcl8.0.0 canvas-tcl8.0.3
+ TARFILES = Makefile $(TARDIRS) VERSIONS awk_file abacus doc INSTALL COPYING \
+ Makefile.options
++CCFLAGS= ${CFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.0 -I${LOCALBASE}/include/tk8.0
+
+ all: $(TARGET)
+
+ $(TARGET) : binary
+- for i in $(DIRS); do $(MAKE) -C $$i ; done
++ for i in ${DIRS}; do ${MAKE} CCFLAGS="${CCFLAGS}" -C $$i ; done
+
+ binary:
+
+@@ -29,7 +30,7 @@
+ rm -f *~ gmon.out tests/* regressive/*.bck
+
+ dep : version
+- for i in $(DIRS); do $(MAKE) dep -C $$i; done
++ for i in ${DIRS}; do ${MAKE} CCFLAGS="${CCFLAGS}" dep -C $$i; done
+ rm -f *~
+
+
diff --git a/math/abacus/patches/patch-ab b/math/abacus/patches/patch-ab
new file mode 100644
index 00000000000..9b2a921256d
--- /dev/null
+++ b/math/abacus/patches/patch-ab
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.1.1.1 1998/12/13 00:29:20 frueauf Exp $
+
+--- Makefile.options.orig Tue Oct 20 22:19:08 1998
++++ Makefile.options Sat Dec 12 23:56:44 1998
+@@ -12,7 +12,7 @@
+ CPP=g++ -E
+
+ # Grammar generator - e.g. bison,yacc
+-YACC = bison
++YACC = yacc
+
+ # Lexical scanner - e.g. flex,lex
+ LEX = flex
+@@ -29,4 +29,4 @@
+ IFLAGS = -I$(IDIR)
+
+ # Add extra directories where you want the abacus to search for libraries here
+-LFLAGS = -L/usr/local/lib -L/usr/X11R6/lib -L$(LIBDIR) -L.
++LFLAGS = -L${LOCALBASE}/lib -L${X11BASE}/lib -L$(LIBDIR) -L.
diff --git a/math/abacus/patches/patch-ac b/math/abacus/patches/patch-ac
new file mode 100644
index 00000000000..f2e0b772d61
--- /dev/null
+++ b/math/abacus/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1.1.1 1998/12/13 00:29:20 frueauf Exp $
+
+--- calc/Makefile.orig Sat Dec 12 23:35:13 1998
++++ calc/Makefile Sat Dec 12 23:40:16 1998
+@@ -36,10 +36,10 @@
+ $(LEX) -oscan.c -i scan.l
+
+ gram.o: gram.cc
+- $(CCC) $(IFLAGS) -g gram.cc -o gram.o -c
++ ${CCC} ${CCFLAGS} ${IFLAGS} -g gram.cc -o gram.o -c
+
+ gram.cc: gram.y scan.c
+- $(YACC) -d gram.y
++ $(YACC) -b gram -d gram.y
+ mv gram.tab.c gram.cc
+ mv gram.tab.h gram.h
+
diff --git a/math/abacus/patches/patch-ad b/math/abacus/patches/patch-ad
new file mode 100644
index 00000000000..e56cbd9c24c
--- /dev/null
+++ b/math/abacus/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 1998/12/13 00:29:20 frueauf Exp $
+
+--- tcl_interf/Makefile.orig Sat Dec 12 14:29:00 1998
++++ tcl_interf/Makefile Sat Dec 12 14:29:00 1998
+@@ -14,7 +14,7 @@
+ OTHERSOURCES =
+ SOURCES = $(CSOURCES) $(OTHERSOURCES)
+ XXL_LIBS = $(LIBDIR)/libcalc.a $(LIBDIR)/libio.a $(LIBDIR)/libcanvas.a
+-LIBS = -ltk8.0 -ltcl8.0 -lX11 -ldl -lm
++LIBS = -ltk80 -ltcl80 -lX11 -lm
+
+ include ../Makefile.options
+
diff --git a/math/abacus/pkg/COMMENT b/math/abacus/pkg/COMMENT
new file mode 100644
index 00000000000..854786d9c54
--- /dev/null
+++ b/math/abacus/pkg/COMMENT
@@ -0,0 +1 @@
+Spread sheet for X Window System.
diff --git a/math/abacus/pkg/DESCR b/math/abacus/pkg/DESCR
new file mode 100644
index 00000000000..9e8dd889f98
--- /dev/null
+++ b/math/abacus/pkg/DESCR
@@ -0,0 +1,20 @@
+Abacus is a small, light and easy to use spreadsheet being developed
+as graduation project under the tutorship of Prof. Arlindo Oliveira,
+and the spreadsheet is being developed using the Tcl/Tk toolkit, as
+well as plain old C/C++ for all the "number-crunching" tasks.
+
+The following functionalities are available in the latest version:
+
+Multiple spreadsheets, limited by the amount of memory you have
+available. Small set of built-in functions that include statistical,
+financial, and the usual math and trig functions, including a slick
+menu-like interface to make it easy to paste formulas. Cell editing
+with all the usual Cut/Copy/Paste/Delete functions implemented. Cell
+formating with a load of different formats, plus fonts, italics, bold
+font size and borders. Column and Row insertion, deletion, resizing.
+Sorting using all sorts of weird sort methods, so many we find it
+confusing ourselves and we made it! Autosum - you select and press the
+button and it sums the data up the way (we hope!) you want. Graphs you
+can delete, move around and resize. Printing via Postscript.
+Imports/Exports CSV,Tab separated, Wk1 and TinySheet (for the popular
+PalmPilot organizer) formats.
diff --git a/math/abacus/pkg/MESSAGE b/math/abacus/pkg/MESSAGE
new file mode 100644
index 00000000000..1d1d225e6be
--- /dev/null
+++ b/math/abacus/pkg/MESSAGE
@@ -0,0 +1,10 @@
+Define the following environment variables:
+
+ ABACUS_HOME - directory where you installed the Abacus share tcl files.
+ ABACUS_EDITOR - external editor to use when editing macros.
+ ABACUS_BROWSER - web browser to view WWW pages and info.
+
+e.g.:
+ setenv ABACUS_HOME /usr/X11R6/share/abacus
+ setenv ABACUS_EDITOR emacs
+ setenv ABACUS_BROWSER netscape
diff --git a/math/abacus/pkg/PLIST b/math/abacus/pkg/PLIST
new file mode 100644
index 00000000000..13a471ab4d3
--- /dev/null
+++ b/math/abacus/pkg/PLIST
@@ -0,0 +1,111 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1998/12/13 00:29:20 frueauf Exp $
+bin/abacus
+man/man1/abacus.1
+share/doc/abacus/abacus.ps
+share/examples/abacus/allfuncs.wk1
+share/examples/abacus/desp_97.wk1
+share/examples/abacus/emprestimo.wk1
+share/examples/abacus/example.wk1
+share/examples/abacus/macro_example_1.tcl
+share/examples/abacus/notas.wk1
+share/examples/abacus/notas_plain.wk1
+share/examples/abacus/obras.wk1
+share/examples/abacus/prestacao.wk1
+share/examples/abacus/recpt197.wk1
+share/examples/abacus/tables.wk1
+share/abacus/display/autosum.tcl
+share/abacus/display/canvas.tcl
+share/abacus/display/create_pixmaps.tcl
+share/abacus/display/defaults.tcl
+share/abacus/display/display.tcl
+share/abacus/display/edit.tcl
+share/abacus/display/entry.tcl
+share/abacus/display/find.tcl
+share/abacus/display/font.tcl
+share/abacus/display/format.tcl
+share/abacus/display/funcmenu.tcl
+share/abacus/display/funcs.tcl
+share/abacus/display/globals.tcl
+share/abacus/display/graphs.tcl
+share/abacus/display/help.tcl
+share/abacus/display/init.tcl
+share/abacus/display/io.tcl
+share/abacus/display/menubar.tcl
+share/abacus/display/print.tcl
+share/abacus/display/sheet.tcl
+share/abacus/display/sort.tcl
+share/abacus/display/standard.tcl
+share/abacus/display/user_interf.tcl
+share/abacus/display/utils.tcl
+share/abacus/graphics/bar.tcl
+share/abacus/graphics/explodepie.tcl
+share/abacus/graphics/histogram.tcl
+share/abacus/graphics/line.tcl
+share/abacus/graphics/pie.tcl
+share/abacus/graphics/scatter.tcl
+share/abacus/graphics/stackedBar.tcl
+share/abacus/runlib/globals.tcl
+share/abacus/runlib/globalvars.tcl
+share/abacus/runlib/version
+share/abacus/runlib/bitmaps/ascend.gif
+share/abacus/runlib/bitmaps/ascend.xbm
+share/abacus/runlib/bitmaps/bold.gif
+share/abacus/runlib/bitmaps/bold.xbm
+share/abacus/runlib/bitmaps/borders.xbm
+share/abacus/runlib/bitmaps/calc.gif
+share/abacus/runlib/bitmaps/calc.xpm
+share/abacus/runlib/bitmaps/check.xbm
+share/abacus/runlib/bitmaps/close.gif
+share/abacus/runlib/bitmaps/copy.gif
+share/abacus/runlib/bitmaps/cross.xbm
+share/abacus/runlib/bitmaps/cut.gif
+share/abacus/runlib/bitmaps/descend.gif
+share/abacus/runlib/bitmaps/descend.xbm
+share/abacus/runlib/bitmaps/fill.xbm
+share/abacus/runlib/bitmaps/floppy.gif
+share/abacus/runlib/bitmaps/folder.gif
+share/abacus/runlib/bitmaps/funcs.gif
+share/abacus/runlib/bitmaps/funcs.xbm
+share/abacus/runlib/bitmaps/icenter.gif
+share/abacus/runlib/bitmaps/icenter.xbm
+share/abacus/runlib/bitmaps/ileft.gif
+share/abacus/runlib/bitmaps/ileft.xbm
+share/abacus/runlib/bitmaps/iright.gif
+share/abacus/runlib/bitmaps/iright.xbm
+share/abacus/runlib/bitmaps/italic.gif
+share/abacus/runlib/bitmaps/italic.xbm
+share/abacus/runlib/bitmaps/move.gif
+share/abacus/runlib/bitmaps/new.gif
+share/abacus/runlib/bitmaps/none.gif
+share/abacus/runlib/bitmaps/paint.gif
+share/abacus/runlib/bitmaps/preview.gif
+share/abacus/runlib/bitmaps/print.gif
+share/abacus/runlib/bitmaps/pulldown.gif
+share/abacus/runlib/bitmaps/pulldown.xbm
+share/abacus/runlib/bitmaps/rect.xbm
+share/abacus/runlib/bitmaps/redo.gif
+share/abacus/runlib/bitmaps/redo.xbm
+share/abacus/runlib/bitmaps/scissors.gif
+share/abacus/runlib/bitmaps/shade.xbm
+share/abacus/runlib/bitmaps/stop.gif
+share/abacus/runlib/bitmaps/stop.xbm
+share/abacus/runlib/bitmaps/sum.gif
+share/abacus/runlib/bitmaps/sum.xbm
+share/abacus/runlib/bitmaps/teste.gif
+share/abacus/runlib/bitmaps/tmp.gif
+share/abacus/runlib/bitmaps/under.gif
+share/abacus/runlib/bitmaps/under.xbm
+share/abacus/runlib/bitmaps/undo.gif
+share/abacus/runlib/bitmaps/xxl.gif
+share/abacus/runlib/bitmaps/undo.xbm
+share/abacus/runlib/bitmaps/xxl2.gif
+share/abacus/runlib/bitmaps/xxl_bck.gif
+share/abacus/tcl_interf/nxlc
+@dirrm share/abacus/display
+@dirrm share/abacus/graphics
+@dirrm share/abacus/runlib/bitmaps
+@dirrm share/abacus/runlib
+@dirrm share/abacus/tcl_interf
+@dirrm share/abacus
+@dirrm share/doc/abacus
+@dirrm share/examples/abacus