summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1998-09-09 19:22:37 +0000
committerandreas <andreas@FreeBSD.org>1998-09-09 19:22:37 +0000
commite271de250775b872bbd5d5a1d830a3c7e48d0bee (patch)
tree3f4411495e5a989957b1d09de898971c83c4e2ff
parenta7d62ad9f6c5950b77a88741ec27d7e42a95a020 (diff)
downloadFreeBSD-ports-e271de250775b872bbd5d5a1d830a3c7e48d0bee.zip
FreeBSD-ports-e271de250775b872bbd5d5a1d830a3c7e48d0bee.tar.gz
new port abacus
spreadsheet for Tcl/Tk 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. PR: 7674 Submitted by: Andrey V. Zakhvatov <andy@icc.surw.chel.su>
-rw-r--r--deskutils/abacus/Makefile50
-rw-r--r--deskutils/abacus/distinfo1
-rw-r--r--deskutils/abacus/files/patch-aa26
-rw-r--r--deskutils/abacus/files/patch-ab19
-rw-r--r--deskutils/abacus/files/patch-ac11
-rw-r--r--deskutils/abacus/files/patch-ad11
-rw-r--r--deskutils/abacus/pkg-comment1
-rw-r--r--deskutils/abacus/pkg-descr20
-rw-r--r--deskutils/abacus/pkg-plist111
9 files changed, 250 insertions, 0 deletions
diff --git a/deskutils/abacus/Makefile b/deskutils/abacus/Makefile
new file mode 100644
index 0000000..e5d38a4
--- /dev/null
+++ b/deskutils/abacus/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: abacus
+# Version required: 0.9.3
+# Date created: 18 August 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= abacus
+PKGNAME= abacus-0.9.3
+CATEGORIES= deskutils
+MASTER_SITES= http://www-cad.eecs.berkeley.edu/HomePages/aml/abacus/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= andy@icc.surw.chel.su
+
+LIB_DEPENDS= tcl80:${PORTSDIR}/lang/tcl80 \
+ tk80:${PORTSDIR}/x11-toolkits/tk80
+
+ALL_TARGET= dep tcl_interf/nxlc
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+WRKSRC= ${WRKDIR}
+
+post-extract:
+ @ ${RM} -fr ${WRKSRC}/RCS
+
+do-install:
+ @ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin
+ @ ${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
+
+.if !defined(NOPORTDOCS)
+ @ ${MKDIR} ${PREFIX}/share/doc/abacus
+ @ ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/abacus
+.endif
+
+.include <bsd.port.mk>
diff --git a/deskutils/abacus/distinfo b/deskutils/abacus/distinfo
new file mode 100644
index 0000000..6918617
--- /dev/null
+++ b/deskutils/abacus/distinfo
@@ -0,0 +1 @@
+MD5 (abacus.tgz) = 2144e59f49a8336fc232bb58228ccc99
diff --git a/deskutils/abacus/files/patch-aa b/deskutils/abacus/files/patch-aa
new file mode 100644
index 0000000..98e32a7
--- /dev/null
+++ b/deskutils/abacus/files/patch-aa
@@ -0,0 +1,26 @@
+--- Makefile Thu Aug 6 21:15:12 1998
++++ /home/andy/tmp/wrk/Makefile Tue Aug 18 15:24:56 1998
+@@ -1,4 +1,4 @@
+-# $Id: Makefile,v 1.20 1998/08/06 21:15:11 aml Exp $
++# $Id: Makefile,v 1.20 1998/08/06 21:15:11 aml Exp andy $
+ # Main Makefile for xxl
+ #
+ # Authors: Arlindo Oliveira (aml@inesc.pt)
+@@ -8,7 +8,7 @@
+ # explicit permission of the copyright holder.
+ #
+
+-CCFLAGS= -g
++CCFLAGS= $(CFLAGS) -I$(X11BASE)/include -I$(LOCALBASE)/include/tcl8.0 -I$(LOCALBASE)/include/tk8.0
+ TARGET = tcl_interf/nxlc
+ DIRS = display calc io graphics include runlib lib canvas tcl_interf
+ TARDIRS = $(DIRS) lib RCS tests regressive doc
+@@ -32,7 +32,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) dep -C $$i CCFLAGS="$(CCFLAGS)"; done
+ rm -f *~
+
+
diff --git a/deskutils/abacus/files/patch-ab b/deskutils/abacus/files/patch-ab
new file mode 100644
index 0000000..ab95910
--- /dev/null
+++ b/deskutils/abacus/files/patch-ab
@@ -0,0 +1,19 @@
+--- abacus Mon Aug 3 11:25:52 1998
++++ /home/andy/tmp/wrk/abacus Tue Aug 18 15:55:55 1998
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ # The next line restarts using nxlc \
+-exec $ABACUS_HOME/tcl_interf/nxlc -f $0 ${1+"$@"}
++exec /usr/X11R6/share/abacus/tcl_interf/nxlc -f $0 ${1+"$@"}
+ # $Id: xxl,v 1.9 1997/03/27 10:00:57 aml Exp $
+
+ global env
+@@ -15,7 +15,7 @@
+ if [info exists env(ABACUS_HOME)] {
+ set home $env(ABACUS_HOME)
+ } else {
+- set home "."
++ set home "/usr/X11R6/share/abacus"
+ }
+
+ wm withdraw .
diff --git a/deskutils/abacus/files/patch-ac b/deskutils/abacus/files/patch-ac
new file mode 100644
index 0000000..a02c27f
--- /dev/null
+++ b/deskutils/abacus/files/patch-ac
@@ -0,0 +1,11 @@
+--- calc/Makefile Thu Nov 6 00:30:09 1997
++++ /home/andy/tmp/wrk/calc/Makefile Tue Aug 18 15:32:43 1998
+@@ -58,7 +58,7 @@
+ $(LEX) -i -t scan.l > scan.c
+
+ 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
diff --git a/deskutils/abacus/files/patch-ad b/deskutils/abacus/files/patch-ad
new file mode 100644
index 0000000..7d2cc01
--- /dev/null
+++ b/deskutils/abacus/files/patch-ad
@@ -0,0 +1,11 @@
+--- tcl_interf/Makefile Thu Aug 6 21:08:39 1998
++++ /home/andy/tmp/wrk/tcl_interf/Makefile Tue Aug 18 15:37:43 1998
+@@ -23,7 +23,7 @@
+ LIBDIR = ../lib
+
+ XXL_LIBS = $(LIBDIR)/libcalc.a $(LIBDIR)/libio.a $(LIBDIR)/libcanvas.a
+-LIBS = -ltk8.0 -ltcl8.0 -lX11 -ldl -lm
++LIBS = -ltk80 -ltcl80 -lX11 -lm
+
+ CC = gcc
+ CCC = g++
diff --git a/deskutils/abacus/pkg-comment b/deskutils/abacus/pkg-comment
new file mode 100644
index 0000000..854786d
--- /dev/null
+++ b/deskutils/abacus/pkg-comment
@@ -0,0 +1 @@
+Spread sheet for X Window System.
diff --git a/deskutils/abacus/pkg-descr b/deskutils/abacus/pkg-descr
new file mode 100644
index 0000000..a1474fa
--- /dev/null
+++ b/deskutils/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.
+
+http://www-cad.eecs.berkeley.edu/HomePages/aml/abacus/abacus.html
diff --git a/deskutils/abacus/pkg-plist b/deskutils/abacus/pkg-plist
new file mode 100644
index 0000000..e910d8f
--- /dev/null
+++ b/deskutils/abacus/pkg-plist
@@ -0,0 +1,111 @@
+bin/abacus
+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/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/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/teste.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
+share/doc/abacus/TODO
+share/doc/abacus/user_interf.fig
+share/doc/abacus/wsff1.txt
+share/doc/abacus/wsff2.txt
+share/doc/abacus/wsff3.txt
+share/doc/abacus/wsff4.txt
+share/examples/abacus/allfuncs.wk1
+share/examples/abacus/emprestimo.wk1
+share/examples/abacus/example.wk1
+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
+@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
OpenPOWER on IntegriCloud