9cda5d0698
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@
41 lines
935 B
Makefile
41 lines
935 B
Makefile
# $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>
|