- initial import of pari-2.1.6

The PARI system is a package which is capable of doing formal
computations on recursive types at high speed; it is primarily
aimed at number theorists, but can be used by anybody whose primary
need is speed.

It is possible to use PARI in two different ways:

1) as a library, which can be called from an upper-level language
application (for instance written in C, C++, Pascal or Fortran);

2) as a sophisticated programmable calculator, named gp, which
contains most of the control instructions of a standard language
like C.

cleanup by and ok sturm@
This commit is contained in:
msf 2005-02-08 02:36:12 +00:00
parent fe7cd104dd
commit 9cda5d0698
5 changed files with 149 additions and 0 deletions

40
math/pari/Makefile Normal file
View File

@ -0,0 +1,40 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/02/08 02:36:12 msf Exp $
COMMENT= "number theory-oriented computer algebra system"
DISTNAME= pari-2.1.6
EXTRACT_SUFX= .tgz
CATEGORIES= math
HOMEPAGE= http://pari.math.u-bordeaux.fr/
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/pub/pari/unix/
BUILD_DEPENDS= ::print/teTeX/base
USE_X11= Yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_STYLE= simple
CONFIGURE_ENV= CFLAGS="${CFLAGS}"
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/pari \
--miscdir=${PREFIX}/share/pari \
--prefix=${PREFIX} \
--host=${ARCH}
REGRESS_TARGET= dobench
post-install:
mv ${PREFIX}/share/pari/doc ${PREFIX}/share/doc/pari
mv ${PREFIX}/share/pari/[A-Z]* ${PREFIX}/share/doc/pari
mv ${PREFIX}/share/pari/examples ${PREFIX}/share/examples/pari
.include <bsd.port.mk>

4
math/pari/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (pari-2.1.6.tgz) = 506a061c8dcdec33d18876f3c551e951
RMD160 (pari-2.1.6.tgz) = 6b79e84b639d1862df148b253136deacd73bf4f0
SHA1 (pari-2.1.6.tgz) = 54bd40fa70a02e76d78d0ea19c0f56f7da62de8e
SIZE (pari-2.1.6.tgz) = 1541464

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Configure,v 1.1.1.1 2005/02/08 02:36:12 msf Exp $
--- Configure.orig Sat Feb 5 20:59:57 2005
+++ Configure Sat Feb 5 21:00:12 2005
@@ -844,7 +844,7 @@ if test -n "$__gnuc__"; then
esac
;;
esac
- OPTFLAGS="$OPTFLAGS -DGCC_INLINE $warn"
+ OPTFLAGS="$CFLAGS -DGCC_INLINE $warn"
DBGFLAGS="-g $warn"
# Some architectures need -fPIC for building dynamic lib
case "$osname-$arch" in hpux-*) DLCFLAGS=-fPIC;; esac

13
math/pari/pkg/DESCR Normal file
View File

@ -0,0 +1,13 @@
The PARI system is a package which is capable of doing formal
computations on recursive types at high speed; it is primarily
aimed at number theorists, but can be used by anybody whose primary
need is speed.
It is possible to use PARI in two different ways:
1) as a library, which can be called from an upper-level language
application (for instance written in C, C++, Pascal or Fortran);
2) as a sophisticated programmable calculator, named gp, which
contains most of the control instructions of a standard language
like C.

80
math/pari/pkg/PLIST Normal file
View File

@ -0,0 +1,80 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/02/08 02:36:12 msf Exp $
bin/gp
bin/gp-2.1
bin/gphelp
bin/tex2mail
include/pari/
include/pari/genpari.h
include/pari/pari.h
include/pari/paricast.h
include/pari/paricfg.h
include/pari/paricom.h
include/pari/paridecl.h
include/pari/parierr.h
include/pari/parigen.h
include/pari/pariinl.h
include/pari/pariport.h
include/pari/paristio.h
include/pari/parisys.h
include/pari/paritype.h
lib/libpari.a
@comment lib/libpari.a.2.1
@man man/man1/gp.1
@man man/man1/gphelp.1
@man man/man1/pari.1
@man man/man1/tex2mail.1
share/doc/pari/
share/doc/pari/AUTHORS
share/doc/pari/Announce.2.1
share/doc/pari/CHANGES
share/doc/pari/COMPAT
share/doc/pari/COPYING
share/doc/pari/CVS.txt
share/doc/pari/MACHINES
share/doc/pari/Makefile
share/doc/pari/NEW
share/doc/pari/README
share/doc/pari/TODO
share/doc/pari/appa.tex
share/doc/pari/appb.tex
share/doc/pari/appc.tex
share/doc/pari/paricfg.tex
share/doc/pari/paricfg.tex.in
share/doc/pari/parimacro.tex
share/doc/pari/pdfmacs.tex
share/doc/pari/refcard.dvi
share/doc/pari/refcard.ps
share/doc/pari/refcard.tex
share/doc/pari/translations
share/doc/pari/tutorial.dvi
share/doc/pari/tutorial.tex
share/doc/pari/users.dvi
share/doc/pari/users.tex
share/doc/pari/usersch1.tex
share/doc/pari/usersch2.tex
share/doc/pari/usersch3.tex
share/doc/pari/usersch4.tex
share/doc/pari/usersch5.tex
share/examples/pari/
share/examples/pari/EXPLAIN
share/examples/pari/Inputrc
share/examples/pari/Makefile
share/examples/pari/bench.gp
share/examples/pari/cl.gp
share/examples/pari/classno.gp
share/examples/pari/contfrac.gp
share/examples/pari/lucas.gp
share/examples/pari/matexp.c
share/examples/pari/rho.gp
share/examples/pari/squfof.gp
share/examples/pari/taylor.gp
share/pari/
share/pari/misc/
share/pari/misc/README
share/pari/misc/color.dft
share/pari/misc/gpalias
share/pari/misc/gpflog
share/pari/misc/gprc.dft
share/pari/misc/new.dic
share/pari/misc/pari.xpm
share/pari/misc/xgp