summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-01-28 05:44:51 +0000
committerjtb <jtb@pkgsrc.org>2001-01-28 05:44:51 +0000
commit5182bc3a7daa719436ec5c9d45699f9d43847aba (patch)
treec62044acc0ed26f689226d22292544d5a02d73fb /math
parent324ac8dd0dcf9b601777cc834ad3ba566b2e29d8 (diff)
downloadpkgsrc-5182bc3a7daa719436ec5c9d45699f9d43847aba.tar.gz
Updated Aribas to version 1.20.
Changes from former versions of ARIBAS to the present version: V1.14 (April 1999) to V1.20 (Jan. 2001) - floating point precision can be set up to 4096 bits (over 1200 decimal places); former limit was 192 bits - bugfix in function mem_byteswap() - make_unbound(user) unbinds all user defined functions - new function max_intsize(); returns maximal number of decimal places of an integer
Diffstat (limited to 'math')
-rw-r--r--math/aribas/Makefile18
-rw-r--r--math/aribas/files/md54
-rw-r--r--math/aribas/files/patch-sum4
-rw-r--r--math/aribas/patches/patch-aa37
4 files changed, 44 insertions, 19 deletions
diff --git a/math/aribas/Makefile b/math/aribas/Makefile
index a0cab356386..2c3340e020f 100644
--- a/math/aribas/Makefile
+++ b/math/aribas/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/11/25 19:56:25 jtb Exp $
+# $NetBSD: Makefile,v 1.2 2001/01/28 05:44:51 jtb Exp $
-DISTNAME= aribas-1.14
+DISTNAME= aribas-1.20
CATEGORIES= math
MASTER_SITES= ftp://ftp.mathematik.uni-muenchen.de/pub/forster/aribas/
@@ -9,15 +9,21 @@ HOMEPAGE= http://www.mathematik.uni-muenchen.de/~forster/sw/aribas.html
WRKSRC= ${WRKDIR}/aribas/src
+MAKE_ENV+= CPPFLAGS="-DUNiX -DPROTO"
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/aribas ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/aribas
- ${INSTALL_DATA} ${WRKSRC}/../doc/* ${PREFIX}/share/doc/aribas
+ @for f in ${WRKDIR}/aribas/doc/*; do \
+ i="${INSTALL_DATA} $$f ${PREFIX}/share/doc/aribas/"; \
+ ${ECHO} $$i; $$i; \
+ done
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/aribas
- ${INSTALL_DATA} ${WRKSRC}/../examples/* ${PREFIX}/share/examples/aribas
-.if !exists(${PREFIX}/share/emacs/site-lisp)
+ @for f in ${WRKDIR}/aribas/examples/*; do \
+ i="${INSTALL_DATA} $$f ${PREFIX}/share/examples/aribas/"; \
+ ${ECHO} $$i; $$i; \
+ done
${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
-.endif
${INSTALL_DATA} ${WRKSRC}/EL/aribas.el ${PREFIX}/share/emacs/site-lisp
.include "../../mk/bsd.pkg.mk"
diff --git a/math/aribas/files/md5 b/math/aribas/files/md5
index 8a9709cc46e..00c4864c6e3 100644
--- a/math/aribas/files/md5
+++ b/math/aribas/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.1.1.1 2000/11/25 19:56:25 jtb Exp $
+$NetBSD: md5,v 1.2 2001/01/28 05:44:52 jtb Exp $
-MD5 (aribas-1.14.tar.gz) = ec4dd7f226f23590c94c292cab4895cb
+MD5 (aribas-1.20.tar.gz) = c6ccb125cc758b7c1dedfdccc3d74be2
diff --git a/math/aribas/files/patch-sum b/math/aribas/files/patch-sum
index 8ff6894bf93..c68e3d18b1e 100644
--- a/math/aribas/files/patch-sum
+++ b/math/aribas/files/patch-sum
@@ -1,3 +1,3 @@
-$NetBSD: patch-sum,v 1.1.1.1 2000/11/25 19:56:25 jtb Exp $
+$NetBSD: patch-sum,v 1.2 2001/01/28 05:44:52 jtb Exp $
-MD5 (patch-aa) = cff3c0cec2811931e233cabe34ca8338
+MD5 (patch-aa) = 9baba2831f2dd0d2b67212d07113b057
diff --git a/math/aribas/patches/patch-aa b/math/aribas/patches/patch-aa
index 486b0469e61..019fb64f769 100644
--- a/math/aribas/patches/patch-aa
+++ b/math/aribas/patches/patch-aa
@@ -1,9 +1,9 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/11/25 19:56:25 jtb Exp $
+$NetBSD: patch-aa,v 1.2 2001/01/28 05:44:52 jtb Exp $
---- Makefile.orig Sun May 2 21:42:31 1999
+--- Makefile.orig Fri Jan 26 09:05:22 2001
+++ Makefile
-@@ -4,15 +4,15 @@
- # date: 99-04-30
+@@ -4,8 +4,8 @@
+ # date: 2001-01-25
#############################################################
-CC = cc
@@ -13,11 +13,30 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/11/25 19:56:25 jtb Exp $
# for some compilers it might be necessary to remove the -O flag
# If you have the GNU gcc compiler on your system, you may wish
# to use gcc. Then outcomment the first two lines and activate
- # the next two lines.
-
+@@ -14,7 +14,7 @@
#CC = gcc
--#CFLAGS = -DUNiX -DPROTO -O -v
-+CFLAGS = -DUNiX -DPROTO -O
+ #CFLAGS = -DUNiX -DPROTO -O -v
- #MEMFLAG = -DMEM=4
+-MEMFLAG = -DMEM=6
++#MEMFLAG = -DMEM=6
# MEM may be set to any integer value from 1 to 16.
+ # This is the size of the ARIBAS heap in Megabytes
+ # The value should not exceed one half of the RAM of your machine
+@@ -34,14 +34,14 @@
+ terminal.o: logscr.inc
+
+ .c.o:
+- $(CC) $(CFLAGS) -c $<
++ $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
+
+ alloc.o: alloc.c common.h
+- $(CC) $(CFLAGS) $(MEMFLAG) -c alloc.c
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(MEMFLAG) -c alloc.c
+
+ $(PROGRAM): $(OBJECTS)
+ $(CC) -o $(PROGRAM) $(OBJECTS)
+- strip $(PROGRAM)
++
+ clean:
+ \rm *.o
+