aboutsummaryrefslogtreecommitdiff
path: root/math/slsc
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-01-29 06:23:25 +0000
committerSteve Price <steve@FreeBSD.org>2000-01-29 06:23:25 +0000
commit62a15d733469b31c873f26d25c715a62a775d871 (patch)
treebcdb991a009ad27fd71c86c3886dfd3b7b2334fd /math/slsc
parented2ff8713f5b4a749350330220630ab86455e695 (diff)
downloadports-62a15d733469b31c873f26d25c715a62a775d871.tar.gz
ports-62a15d733469b31c873f26d25c715a62a775d871.zip
Notes
Diffstat (limited to 'math/slsc')
-rw-r--r--math/slsc/Makefile23
-rw-r--r--math/slsc/distinfo1
-rw-r--r--math/slsc/files/patch-aa11
-rw-r--r--math/slsc/files/patch-ab13
-rw-r--r--math/slsc/pkg-comment1
-rw-r--r--math/slsc/pkg-descr10
-rw-r--r--math/slsc/pkg-plist6
7 files changed, 65 insertions, 0 deletions
diff --git a/math/slsc/Makefile b/math/slsc/Makefile
new file mode 100644
index 000000000000..a2b3b56738f1
--- /dev/null
+++ b/math/slsc/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: slsc
+# Version required: 0.2.3
+# Date created: 6 January 2000
+# Whom: Jonathan McDowell <noodles@earth.li>
+#
+# $FreeBSD$
+#
+
+DISTNAME= slsc
+PKGNAME= slsc-0.2.3
+CATEGORIES= math
+MASTER_SITES= ftp://space.mit.edu/pub/davis/slsc/
+
+MAINTAINER= noodles@earth.li
+
+LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
+
+GNU_CONFIGURE= yes
+
+post-install:
+ strip ${PREFIX}/bin/slsc ${PREFIX}/share/slsc/vprint
+
+.include <bsd.port.mk>
diff --git a/math/slsc/distinfo b/math/slsc/distinfo
new file mode 100644
index 000000000000..d02c5df0b88a
--- /dev/null
+++ b/math/slsc/distinfo
@@ -0,0 +1 @@
+MD5 (slsc.tar.gz) = c12c1a0d4f783517965fee6258720014
diff --git a/math/slsc/files/patch-aa b/math/slsc/files/patch-aa
new file mode 100644
index 000000000000..8c8274ebd279
--- /dev/null
+++ b/math/slsc/files/patch-aa
@@ -0,0 +1,11 @@
+--- src/sc.c.orig Mon Aug 26 16:17:19 1996
++++ src/sc.c Fri Dec 31 11:34:54 1999
+@@ -870,7 +870,7 @@
+ sc_init_keymaps ();
+
+ init_slcmd_table ();
+- SLang_Error_Routine = slang_sc_error;
++ /* SLang_Error_Routine = slang_sc_error; */
+
+ for (i = 0; i < SC_REGION_COLOR; i++)
+ SLtt_set_mono (i, NULL, 0);
diff --git a/math/slsc/files/patch-ab b/math/slsc/files/patch-ab
new file mode 100644
index 000000000000..1a5a7662bb18
--- /dev/null
+++ b/math/slsc/files/patch-ab
@@ -0,0 +1,13 @@
+--- src/Makefile.in.orig Thu Jan 6 14:05:10 2000
++++ src/Makefile.in Thu Jan 6 14:06:54 2000
+@@ -39,8 +39,8 @@
+ # Root directory where slsc files are going to be kept.
+ # MAKE SURE THAT THE '#'IMMEDIATELY FOLLOWS THE PATH. THERE CAN BE NO
+ # WHITESPACE HERE! You might want to use the second form.
+-SLSC_ROOT = /usr/local/lib/slsc# <--- Note location of the `#' !!!
+-SLSC_BIN = /usr/local/bin
++SLSC_ROOT = ${PREFIX}/share/slsc# <--- Note location of the `#' !!!
++SLSC_BIN = ${PREFIX}/bin
+ #---------------------------------------------------------------------------
+ # 5. Misc
+ #---------------------------------------------------------------------------
diff --git a/math/slsc/pkg-comment b/math/slsc/pkg-comment
new file mode 100644
index 000000000000..7ed3471e4c91
--- /dev/null
+++ b/math/slsc/pkg-comment
@@ -0,0 +1 @@
+A enhanced slang-based version of the sc spreadsheet program
diff --git a/math/slsc/pkg-descr b/math/slsc/pkg-descr
new file mode 100644
index 000000000000..4f164217d4f6
--- /dev/null
+++ b/math/slsc/pkg-descr
@@ -0,0 +1,10 @@
+The spreadsheet calculator slsc is based on rectangular tables much like
+a financial spreadsheet. When invoked it presents you with a table
+organized as rows and columns of cells. If invoked without a file
+argument, the table is initially empty. Each cell may have associated
+with it a numeric value, a label string, and/or an expression (formula)
+which evaluates to a numeric value or label string, often based on other
+cell values.
+
+- Jonathan
+noodles@earth.li
diff --git a/math/slsc/pkg-plist b/math/slsc/pkg-plist
new file mode 100644
index 000000000000..d07aec5060d5
--- /dev/null
+++ b/math/slsc/pkg-plist
@@ -0,0 +1,6 @@
+bin/slsc
+share/slsc/slsc.hlp
+share/slsc/slsc.rc
+share/slsc/tutorial.sc
+share/slsc/vprint
+@dirrm share/slsc