aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-03-16 22:32:05 +0800
committermarkm <markm@FreeBSD.org>2002-03-16 22:32:05 +0800
commit7a3c2b36a5785b55555974e4761b367b0bb51c1d (patch)
treee5c9f539101b85035b11e7e200a41a250adc9713 /math
parent8d09ff76d1067af77e9e8427b4424797f217341e (diff)
downloadfreebsd-ports-gnome-7a3c2b36a5785b55555974e4761b367b0bb51c1d.tar.gz
freebsd-ports-gnome-7a3c2b36a5785b55555974e4761b367b0bb51c1d.tar.zst
freebsd-ports-gnome-7a3c2b36a5785b55555974e4761b367b0bb51c1d.zip
Add jacal - a Symbolic Mathematics package, written in Scheme.
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/jacal/Makefile30
-rw-r--r--math/jacal/distinfo1
-rw-r--r--math/jacal/files/patch-aa56
-rw-r--r--math/jacal/pkg-comment1
-rw-r--r--math/jacal/pkg-descr9
-rw-r--r--math/jacal/pkg-plist31
7 files changed, 129 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index e06862a13d1c..ba4ae5665ab4 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -42,6 +42,7 @@
SUBDIR += gsl
SUBDIR += guppi
SUBDIR += hexcalc
+ SUBDIR += jacal
SUBDIR += javanns
SUBDIR += kseg
SUBDIR += lapack
diff --git a/math/jacal/Makefile b/math/jacal/Makefile
new file mode 100644
index 000000000000..a318174ae2c5
--- /dev/null
+++ b/math/jacal/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: Jacal
+# Date created: Sat Mar 16 2002
+# Whom: Mark R V Murray <markm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jacal
+PORTVERSION= 1b2
+CATEGORIES= math
+MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/
+DISTNAME= jacal1b2
+
+MAINTAINER= markm@FreeBSD.org
+
+RUN_DEPENDS= scm:${PORTSDIR}/lang/scm
+
+WRKSRC= ${WRKDIR}/jacal
+
+USE_ZIP= yes
+USE_GMAKE= yes
+NO_BUILD= yes
+
+MAN1= jacal.1
+
+do-configure:
+ cd ${WRKSRC}; \
+ find . -type f -exec perl -spi -e 's|%%PREFIX%%|${PREFIX}|' {} ';'
+
+.include <bsd.port.mk>
diff --git a/math/jacal/distinfo b/math/jacal/distinfo
new file mode 100644
index 000000000000..df35bf87b925
--- /dev/null
+++ b/math/jacal/distinfo
@@ -0,0 +1 @@
+MD5 (jacal1b2.zip) = e2cf04a72082a50365dec5fc140e3fb1
diff --git a/math/jacal/files/patch-aa b/math/jacal/files/patch-aa
new file mode 100644
index 000000000000..3e547898b734
--- /dev/null
+++ b/math/jacal/files/patch-aa
@@ -0,0 +1,56 @@
+diff -udr ../jacal.ORIG/Makefile ./Makefile
+--- ../jacal.ORIG/Makefile Thu Feb 21 00:46:31 2002
++++ ./Makefile Sat Mar 16 13:11:15 2002
+@@ -24,7 +24,7 @@
+ RELEASE = 1
+
+ rpm_prefix=/usr/src/redhat/
+-prefix = /usr/local/
++prefix = %%PREFIX%%/
+ exec_prefix = $(prefix)
+ # directory where `make install' will put executable.
+ bindir = $(exec_prefix)bin/
+diff -udr ../jacal.ORIG/jacal.info ./jacal.info
+--- ../jacal.ORIG/jacal.info Thu Feb 21 00:47:50 2002
++++ ./jacal.info Sat Mar 16 13:11:28 2002
+@@ -213,9 +213,9 @@
+ This may involve setting up that implementation's initialization file or |
+ LOADing a `.init' file from the `slib' directory. Then type: |
+ |
+- (slib:load "/usr/local/lib/jacal/math") |
++ (slib:load "%%PREFIX%%/lib/jacal/math") |
+ |
+-where `/usr/local/lib/jacal/' is a path to the JACAL directory. JACAL |
++where `%%PREFIX%%/lib/jacal/' is a path to the JACAL directory. JACAL |
+ should then print: |
+ |
+ JACAL version 1b2, Copyright 1989-1999, 2002 Aubrey Jaffer |
+diff -udr ../jacal.ORIG/jacal.sh ./jacal.sh
+--- ../jacal.ORIG/jacal.sh Fri Feb 15 04:19:32 2002
++++ ./jacal.sh Sat Mar 16 13:13:18 2002
+@@ -62,6 +62,8 @@
+ if [ -z "${SCHEME_LIBRARY_PATH}" ]; then
+ if [ -d /usr/local/lib/slib/ ]; then
+ export SCHEME_LIBRARY_PATH=/usr/local/lib/slib/
++ elif [ -d %%PREFIX%%/lib/slib/ ]; then
++ export SCHEME_LIBRARY_PATH=%%PREFIX%%/lib/slib/
+ elif [ -d /usr/share/slib/ ]; then
+ export SCHEME_LIBRARY_PATH=/usr/share/slib/
+ fi
+diff -udr ../jacal.ORIG/jacal.texi ./jacal.texi
+--- ../jacal.ORIG/jacal.texi Mon Feb 18 05:37:53 2002
++++ ./jacal.texi Sat Mar 16 13:12:04 2002
+@@ -344,11 +344,11 @@
+ LOADing a @samp{.init} file from the @file{slib} directory. Then type:
+
+ @example
+-(slib:load "/usr/local/lib/jacal/math")
++(slib:load "%%PREFIX%%/lib/jacal/math")
+ @end example
+
+ @noindent
+-where @file{/usr/local/lib/jacal/} is a path to the JACAL directory.
++where @file{%%PREFIX%%/lib/jacal/} is a path to the JACAL directory.
+ JACAL should then print:
+
+ @example
diff --git a/math/jacal/pkg-comment b/math/jacal/pkg-comment
new file mode 100644
index 000000000000..7925b08751f8
--- /dev/null
+++ b/math/jacal/pkg-comment
@@ -0,0 +1 @@
+Symbolic mathematics program written in Scheme
diff --git a/math/jacal/pkg-descr b/math/jacal/pkg-descr
new file mode 100644
index 000000000000..c04b85463d87
--- /dev/null
+++ b/math/jacal/pkg-descr
@@ -0,0 +1,9 @@
+JACAL is an interactive symbolic mathematics program. JACAL can
+manipulate and simplify equations, scalars, vectors, and matrices of
+single and multiple valued algebraic expressions containing numbers,
+variables, radicals, and algebraic differential, and holonomic
+functions.
+
+JACAL is written in Scheme.
+
+WWW: http://swissnet.ai.mit.edu/~jaffer/JACAL.html
diff --git a/math/jacal/pkg-plist b/math/jacal/pkg-plist
new file mode 100644
index 000000000000..8ff46420eec5
--- /dev/null
+++ b/math/jacal/pkg-plist
@@ -0,0 +1,31 @@
+bin/jacal
+lib/jacal/types.scm
+lib/jacal/COPYING
+lib/jacal/Makefile
+lib/jacal/English.scm
+lib/jacal/toploads.scm
+lib/jacal/view.scm
+lib/jacal/debug.scm
+lib/jacal/modeinit.scm
+lib/jacal/math.scm
+lib/jacal/scl.scm
+lib/jacal/hensel.scm
+lib/jacal/combin.scm
+lib/jacal/ff.scm
+lib/jacal/tensor.scm
+lib/jacal/info.scm
+lib/jacal/builtin.scm
+lib/jacal/unparse.scm
+lib/jacal/grammar.scm
+lib/jacal/sexp.scm
+lib/jacal/hist.scm
+lib/jacal/norm.scm
+lib/jacal/ext.scm
+lib/jacal/vect.scm
+lib/jacal/elim.scm
+lib/jacal/HELP
+lib/jacal/poly.scm
+lib/jacal/func.scm
+lib/jacal/guile.scm
+lib/jacal/go.scm
+@dirrm lib/jacal