summaryrefslogtreecommitdiff
path: root/math/siag
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@FreeBSD.org>1998-02-28 03:38:33 +0000
committerJun-ichiro itojun Hagino <itojun@FreeBSD.org>1998-02-28 03:38:33 +0000
commit2d59ff4aad762713418239125450a9644349c4d6 (patch)
tree90d3eeda660955f30b673f9e469aad2627045b82 /math/siag
parentUpdate to version 1.4 (diff)
siag, "scheme in a grid" spreadsheet.
Notes
Notes: svn path=/head/; revision=9960
Diffstat (limited to 'math/siag')
-rw-r--r--math/siag/Makefile64
-rw-r--r--math/siag/distinfo1
-rw-r--r--math/siag/files/patch-aa54
-rw-r--r--math/siag/files/patch-ac54
-rw-r--r--math/siag/files/patch-ae11
-rw-r--r--math/siag/files/patch-af11
-rw-r--r--math/siag/pkg-comment1
-rw-r--r--math/siag/pkg-descr18
-rw-r--r--math/siag/pkg-plist82
9 files changed, 296 insertions, 0 deletions
diff --git a/math/siag/Makefile b/math/siag/Makefile
new file mode 100644
index 000000000000..e3e6ab9124a0
--- /dev/null
+++ b/math/siag/Makefile
@@ -0,0 +1,64 @@
+# New ports collection makefile for: siag (Scheme In A Grid)
+# Version required: 2.65
+# Date created: 27 Jan 1998
+# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org>
+#
+# $Id$
+#
+
+DISTNAME= siag-2.65
+CATEGORIES= math
+MASTER_SITES= ftp://ftp.edu.stockholm.se/pub/siag/
+
+MAINTAINER= itojun@itojun.org
+
+USE_X11= yes
+WRKSRC= ${WRKDIR}/siag
+CONF= siag/data.scm siag/find.scm siag/keytable.scm siag/menu.scm \
+ siag/plot.scm siag/siag.scm siag/splot.scm siag/startup.siag \
+ siod/siod.scm xcommon/StringDefs.scm xcommon/form.scm
+DOC1= BUGS CHANGES COPYING Copying README TODO c-expr.html commands.html \
+ concepts.html fileformats.html form.html gnuplot.html howto.html \
+ intro.html invocation.html kalkyl.gif keys.html mouse.html scheme.html \
+ scrollbars.html siag.gif siag.html strings.html toolbar.html
+EXAMPLES= fibonacci-c.siag fibonacci.siag filemgr.scm fonts.siag \
+ formtest.siag group.siag heaven-c.siag heaven-guile.siag \
+ heaven-tcl.siag heaven.siag heaven.xbm hyperhelp.siag \
+ image.siag kalkyl.siag mailaddr.csv mailto.scm \
+ multtabl-c.siag multtabl.siag passwd.siag plot.siag \
+ property.siag siag-http.scm siag-net.scm sincos.siag \
+ strfib.siag strings.siag surface1.siag surface2.siag \
+ tcltest.siag usermgr.scm
+DOC2= COPYING.LIB credits.html embedding.html form.html interpreters.html \
+ office.html search.html siaghelp.html
+
+do-build:
+ (cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} sh INSTALL)
+
+do-install:
+ (cd ${WRKSRC}/xsiag; ${SETENV} ${MAKE_ENV} ${MAKE} install)
+ (cd ${WRKSRC}/tsiag; ${SETENV} ${MAKE_ENV} ${MAKE} install)
+ dst=${PREFIX}/lib/siag; \
+ ${MKDIR} $$dst/siag; \
+ ${MKDIR} $$dst/siod; \
+ ${MKDIR} $$dst/xcommon; \
+ for i in ${CONF}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$i $$dst/$$i; \
+ done
+.if !defined(NOPORTDOCS)
+ dst=${PREFIX}/lib/siag/siag/docs; ${MKDIR} $$dst; \
+ for i in ${DOC1}; do \
+ ${INSTALL_DATA} ${WRKSRC}/siag/docs/$$i $$dst; \
+ done
+ dst=${PREFIX}/lib/siag/siag/examples; ${MKDIR} $$dst; \
+ for i in ${EXAMPLES}; do \
+ ${INSTALL_DATA} ${WRKSRC}/siag/examples/$$i $$dst; \
+ done
+ dst=${PREFIX}/lib/siag/common/docs; ${MKDIR} $$dst; \
+ for i in ${DOC2}; do \
+ ${INSTALL_DATA} ${WRKSRC}/common/docs/$$i $$dst; \
+ done
+.endif
+ @${SED} -e 's#/usr/X11R6#${PREFIX}#' ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>
diff --git a/math/siag/distinfo b/math/siag/distinfo
new file mode 100644
index 000000000000..38e5bd7eb89e
--- /dev/null
+++ b/math/siag/distinfo
@@ -0,0 +1 @@
+MD5 (siag-2.65.tar.gz) = 9fdf8837c8b7025153009f8ad30658b5
diff --git a/math/siag/files/patch-aa b/math/siag/files/patch-aa
new file mode 100644
index 000000000000..da215d1a3156
--- /dev/null
+++ b/math/siag/files/patch-aa
@@ -0,0 +1,54 @@
+--- topdir.mk.orig Fri Jan 23 05:03:22 1998
++++ topdir.mk Wed Jan 28 03:08:06 1998
+@@ -1,10 +1,10 @@
+
+ # Set this to wherever you unpacked the archive.
+ # This is normally not needed, it should be autodetected
+-#SIAG_HOME = -DSIAGHOME=\"/usr/local/siag\"
++SIAG_HOME = -DSIAGHOME=\"${PREFIX}/lib/siag\"
+
+ # Set this to your web browser of choice
+ SIAG_HELP = -DSIAGHELP=\"chimera\"
+
+ # This creates a file TRACEME in the current directory
+ #DEBUG = -DDEBUG
+@@ -25,11 +25,12 @@
+ NDBM = -DNDBM
+ # And one of the following two lines
+ #DBLIB = -lndbm
+-DBLIB = -ldb
++#DBLIB = -ldb
+
+ # Uncomment one of the following:
+-SYSDEP_LIB = # for Linux or HP/UX
++#SYSDEP_LIB = # for Linux or HP/UX
+ #SYSDEP_LIB = -lposix4 # for Solaris
++SYSDEP_LIB = -lcrypt # FreeBSD
+
+
+ ######
+@@ -69,7 +70,7 @@
+
+ ######
+ # Uncomment this if you want to use Xaw3d widgets
+-XAW3D = -lXaw3d
++#XAW3D = -lXaw3d
+ # Or this if you have Xaw95 widgets installed
+ #XAW3D = -lXaw95
+ # Or this for a NeXT look
+@@ -83,11 +84,11 @@
+
+ ######
+ # To use Guile (requires libguile)
+-GUILE = -DGUILE
+-GUILELIB = -lguile
++#GUILE = -DGUILE
++#GUILELIB = -lguile
+ # To use Tcl (requires libtcl)
+-TCL = -DTCL
+-TCLLIB = -ltcl -ldl
++#TCL = -DTCL
++#TCLLIB = -ltcl -ldl
+ # To use Perl (requires installed Perl library)
+ # There is *no* Perl support in Siag yet!
+ #PERL = -DPERL
diff --git a/math/siag/files/patch-ac b/math/siag/files/patch-ac
new file mode 100644
index 000000000000..928028ab9371
--- /dev/null
+++ b/math/siag/files/patch-ac
@@ -0,0 +1,54 @@
+--- siod/slibu.c.orig Wed Jan 28 02:32:30 1998
++++ siod/slibu.c Wed Jan 28 02:33:37 1998
+@@ -28,6 +28,7 @@
+ #include <pwd.h>
+ #include <sys/stat.h>
+ #include <sys/time.h>
++#include <sys/syslimits.h>
+ #include <sys/resource.h>
+ #include <grp.h>
+ #include <utime.h>
+@@ -258,6 +259,7 @@
+ return(NIL);}
+ #endif
+
++#if !defined(__FreeBSD__)
+ LISP lputpwent(LISP alist,LISP file)
+ {int iflag = no_interrupt(1);
+ int status;
+@@ -266,6 +268,7 @@
+ status = putpwent(&p,get_c_file(file,NULL));
+ no_interrupt(iflag);
+ return(NIL);}
++#endif
+
+ LISP laccess_problem(LISP lfname,LISP lacc)
+ {char *fname = get_c_string(lfname);
+@@ -1413,7 +1416,7 @@
+ #endif
+
+ /* Ulric was here: added hpux */
+-#if defined(unix) && !defined(linux) && !defined(hpux)
++#if defined(unix) && !defined(linux) && !defined(hpux) && !defined(__FreeBSD__)
+ LISP l_lchown(LISP path,LISP uid,LISP gid)
+ {long iflag;
+ iflag = no_interrupt(1);
+@@ -1930,7 +1933,9 @@
+ #if defined(__osf__)
+ init_subr_1("setpwfile",lsetpwfile);
+ #endif
++#if !defined(__FreeBSD__)
+ init_subr_2("putpwent",lputpwent);
++#endif
+ init_subr_2("access-problem?",laccess_problem);
+ init_subr_3("utime",lutime);
+ init_subr_2("chmod",lchmod);
+@@ -2010,7 +2015,7 @@
+ init_subr_3("chown",l_chown);
+ #endif
+ /* Ulric was here: added hpux */
+-#if defined(unix) && !defined(linux) && !defined(hpux)
++#if defined(unix) && !defined(linux) && !defined(hpux) && !defined(__FreeBSD__)
+ init_subr_3("lchown",l_lchown);
+ #endif
+ init_subr_1("http-date",http_date);
diff --git a/math/siag/files/patch-ae b/math/siag/files/patch-ae
new file mode 100644
index 000000000000..71ea2e74f597
--- /dev/null
+++ b/math/siag/files/patch-ae
@@ -0,0 +1,11 @@
+--- tsiag/window.c.orig Wed Jan 28 02:38:18 1998
++++ tsiag/window.c Wed Jan 28 02:38:24 1998
+@@ -27,7 +27,7 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include "../common/cmalloc.h"
+-#include <curses.h>
++#include <ncurses.h>
+
+ #include "../siag/types.h"
+ #include "../siag/calc.h"
diff --git a/math/siag/files/patch-af b/math/siag/files/patch-af
new file mode 100644
index 000000000000..2112b00e8bec
--- /dev/null
+++ b/math/siag/files/patch-af
@@ -0,0 +1,11 @@
+--- tsiag/tsiag.c.orig Wed Jan 28 02:39:28 1998
++++ tsiag/tsiag.c Wed Jan 28 02:39:34 1998
+@@ -2,7 +2,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <curses.h>
++#include <ncurses.h>
+ #include "../siod/siod.h"
+ #include "../siag/types.h"
+ #include "../siag/calc.h"
diff --git a/math/siag/pkg-comment b/math/siag/pkg-comment
new file mode 100644
index 000000000000..db497c42ca2a
--- /dev/null
+++ b/math/siag/pkg-comment
@@ -0,0 +1 @@
+Scheme-based spreadsheet for X11 and curses.
diff --git a/math/siag/pkg-descr b/math/siag/pkg-descr
new file mode 100644
index 000000000000..bbb70fbe3942
--- /dev/null
+++ b/math/siag/pkg-descr
@@ -0,0 +1,18 @@
+SIAG (Scheme In A Grid)
+=======================
+Siag is a spreadsheet based on X and Scheme. I originally
+wrote it out of frustration with the fact that almost no free,
+good looking applications were available for Linux. It is
+based on my old program Calc, which which I started
+writing in the late -80's.
+
+Multiple user interfaces
+
+In addition to the old Xt interface, Siag is now available
+with two alternative user interfaces. One of them is based
+on the Curses library and runs on plain text terminals. The
+other is based on Gtk, used by the Gnome desktop project.
+All versions of Siag have the same fundamental
+functionality.
+
+see http://www.edu.stockholm.se/siag/ for more information.
diff --git a/math/siag/pkg-plist b/math/siag/pkg-plist
new file mode 100644
index 000000000000..cfe107753b8e
--- /dev/null
+++ b/math/siag/pkg-plist
@@ -0,0 +1,82 @@
+bin/siag
+bin/tsiag
+lib/X11/app-defaults/Siag
+lib/siag/common/docs/COPYING.LIB
+lib/siag/common/docs/credits.html
+lib/siag/common/docs/embedding.html
+lib/siag/common/docs/form.html
+lib/siag/common/docs/interpreters.html
+lib/siag/common/docs/office.html
+lib/siag/common/docs/search.html
+lib/siag/common/docs/siaghelp.html
+lib/siag/siag/data.scm
+lib/siag/siag/docs/BUGS
+lib/siag/siag/docs/CHANGES
+lib/siag/siag/docs/COPYING
+lib/siag/siag/docs/Copying
+lib/siag/siag/docs/README
+lib/siag/siag/docs/TODO
+lib/siag/siag/docs/c-expr.html
+lib/siag/siag/docs/commands.html
+lib/siag/siag/docs/concepts.html
+lib/siag/siag/docs/fileformats.html
+lib/siag/siag/docs/form.html
+lib/siag/siag/docs/gnuplot.html
+lib/siag/siag/docs/howto.html
+lib/siag/siag/docs/intro.html
+lib/siag/siag/docs/invocation.html
+lib/siag/siag/docs/kalkyl.gif
+lib/siag/siag/docs/keys.html
+lib/siag/siag/docs/mouse.html
+lib/siag/siag/docs/scheme.html
+lib/siag/siag/docs/scrollbars.html
+lib/siag/siag/docs/siag.gif
+lib/siag/siag/docs/siag.html
+lib/siag/siag/docs/strings.html
+lib/siag/siag/docs/toolbar.html
+lib/siag/siag/examples/fibonacci-c.siag
+lib/siag/siag/examples/fibonacci.siag
+lib/siag/siag/examples/filemgr.scm
+lib/siag/siag/examples/fonts.siag
+lib/siag/siag/examples/formtest.siag
+lib/siag/siag/examples/group.siag
+lib/siag/siag/examples/heaven-c.siag
+lib/siag/siag/examples/heaven-guile.siag
+lib/siag/siag/examples/heaven-tcl.siag
+lib/siag/siag/examples/heaven.siag
+lib/siag/siag/examples/heaven.xbm
+lib/siag/siag/examples/hyperhelp.siag
+lib/siag/siag/examples/image.siag
+lib/siag/siag/examples/kalkyl.siag
+lib/siag/siag/examples/mailaddr.csv
+lib/siag/siag/examples/mailto.scm
+lib/siag/siag/examples/multtabl-c.siag
+lib/siag/siag/examples/multtabl.siag
+lib/siag/siag/examples/passwd.siag
+lib/siag/siag/examples/plot.siag
+lib/siag/siag/examples/property.siag
+lib/siag/siag/examples/siag-http.scm
+lib/siag/siag/examples/siag-net.scm
+lib/siag/siag/examples/sincos.siag
+lib/siag/siag/examples/strfib.siag
+lib/siag/siag/examples/strings.siag
+lib/siag/siag/examples/surface1.siag
+lib/siag/siag/examples/surface2.siag
+lib/siag/siag/examples/tcltest.siag
+lib/siag/siag/examples/usermgr.scm
+lib/siag/siag/find.scm
+lib/siag/siag/keytable.scm
+lib/siag/siag/menu.scm
+lib/siag/siag/plot.scm
+lib/siag/siag/siag.scm
+lib/siag/siag/splot.scm
+lib/siag/siag/startup.siag
+lib/siag/siod/siod.scm
+lib/siag/xcommon/StringDefs.scm
+lib/siag/xcommon/form.scm
+@dirrm lib/siag/common/docs
+@dirrm lib/siag/siag/docs
+@dirrm lib/siag/siag/examples
+@dirrm lib/siag/siag
+@dirrm lib/siag/siod
+@dirrm lib/siag/xcommon