diff options
author | jtb <jtb@pkgsrc.org> | 2000-11-25 19:56:25 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2000-11-25 19:56:25 +0000 |
commit | 7eed43a76b0fe15ccf28d37cb88b0744bbe2dca7 (patch) | |
tree | fa358d7ad4dd37732dd0bd38a492ee392746cb66 /math | |
parent | 06bb6313882a659ab45dc7f284e1ff4188e57ab5 (diff) | |
download | pkgsrc-7eed43a76b0fe15ccf28d37cb88b0744bbe2dca7.tar.gz |
Initial import of new "aribas" package:
Multi-precision floating point and big integer arithmetic calculator
Diffstat (limited to 'math')
-rw-r--r-- | math/aribas/Makefile | 23 | ||||
-rw-r--r-- | math/aribas/files/md5 | 3 | ||||
-rw-r--r-- | math/aribas/files/patch-sum | 3 | ||||
-rw-r--r-- | math/aribas/patches/patch-aa | 23 | ||||
-rw-r--r-- | math/aribas/pkg/COMMENT | 1 | ||||
-rw-r--r-- | math/aribas/pkg/DESCR | 13 | ||||
-rw-r--r-- | math/aribas/pkg/PLIST | 12 |
7 files changed, 78 insertions, 0 deletions
diff --git a/math/aribas/Makefile b/math/aribas/Makefile new file mode 100644 index 00000000000..a0cab356386 --- /dev/null +++ b/math/aribas/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/11/25 19:56:25 jtb Exp $ + +DISTNAME= aribas-1.14 +CATEGORIES= math +MASTER_SITES= ftp://ftp.mathematik.uni-muenchen.de/pub/forster/aribas/ + +MAINTAINER= jtb@netbsd.org +HOMEPAGE= http://www.mathematik.uni-muenchen.de/~forster/sw/aribas.html + +WRKSRC= ${WRKDIR}/aribas/src + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/aribas ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/aribas + ${INSTALL_DATA} ${WRKSRC}/../doc/* ${PREFIX}/share/doc/aribas + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/aribas + ${INSTALL_DATA} ${WRKSRC}/../examples/* ${PREFIX}/share/examples/aribas +.if !exists(${PREFIX}/share/emacs/site-lisp) + ${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 new file mode 100644 index 00000000000..8a9709cc46e --- /dev/null +++ b/math/aribas/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/11/25 19:56:25 jtb Exp $ + +MD5 (aribas-1.14.tar.gz) = ec4dd7f226f23590c94c292cab4895cb diff --git a/math/aribas/files/patch-sum b/math/aribas/files/patch-sum new file mode 100644 index 00000000000..8ff6894bf93 --- /dev/null +++ b/math/aribas/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/11/25 19:56:25 jtb Exp $ + +MD5 (patch-aa) = cff3c0cec2811931e233cabe34ca8338 diff --git a/math/aribas/patches/patch-aa b/math/aribas/patches/patch-aa new file mode 100644 index 00000000000..486b0469e61 --- /dev/null +++ b/math/aribas/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/11/25 19:56:25 jtb Exp $ + +--- Makefile.orig Sun May 2 21:42:31 1999 ++++ Makefile +@@ -4,15 +4,15 @@ + # date: 99-04-30 + ############################################################# + +-CC = cc +-CFLAGS = -DUNiX -O ++#CC = cc ++#CFLAGS = -DUNiX -O + # 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. + + #CC = gcc +-#CFLAGS = -DUNiX -DPROTO -O -v ++CFLAGS = -DUNiX -DPROTO -O + + #MEMFLAG = -DMEM=4 + # MEM may be set to any integer value from 1 to 16. diff --git a/math/aribas/pkg/COMMENT b/math/aribas/pkg/COMMENT new file mode 100644 index 00000000000..ff53fbed3ec --- /dev/null +++ b/math/aribas/pkg/COMMENT @@ -0,0 +1 @@ +Multi-precision floating point and big integer arithmetic calculator diff --git a/math/aribas/pkg/DESCR b/math/aribas/pkg/DESCR new file mode 100644 index 00000000000..a614956871f --- /dev/null +++ b/math/aribas/pkg/DESCR @@ -0,0 +1,13 @@ +ARIBAS is an interactive interpreter for big integer arithmetic +and multi-precision floating point arithmetic with a Pascal/Modula +like syntax. It has several builtin functions for algorithmic number +theory like gcd, Jacobi symbol, Rabin probabilistic prime test, +factorization algorithms (Pollard rho, continued fraction, +quadratic sieve), etc. + +ARIBAS is used for the examples of number theoretic algorithms in the book +Algorithmische Zahlentheorie by O. Forster. + +A GNU Emacs mode is also included. + +ARIBAS is distributed under the terms of the GNU General Public License. diff --git a/math/aribas/pkg/PLIST b/math/aribas/pkg/PLIST new file mode 100644 index 00000000000..1ec63e9355e --- /dev/null +++ b/math/aribas/pkg/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/25 19:56:25 jtb Exp $ +bin/aribas +share/doc/aribas/aribas.doc +share/doc/aribas/aribas.tut +share/emacs/site-lisp/aribas.el +share/examples/aribas/README +share/examples/aribas/factor.ari +share/examples/aribas/pi.ari +share/examples/aribas/queens.ari +@unexec rmdir share/emacs/site-lisp 2>/dev/null || true +@dirrm share/examples/aribas +@dirrm share/doc/aribas |