2013-01-31 13:29:49 +01:00
|
|
|
# Created by: Frederic Han <han@math.jussieu.fr>
|
Add new port math/giacxcas:
General purpose Computer algebra system by Bernard Parisse released
under GPLv3. The french documentation by Renee De Graeve is for non
commercial use only.
it consists of:
- a C++ library (libgiac). It is build on C and C++ libraries:
PARI, NTL (arithmetic), CoCoA (Groebner basis), GSL (numerics),
GMP (big integers), MPFR (bigfloats) and provides algorithms for
basic polynomial operations (product, GCD) and symbolic
computations (simplifications, limits/series, symbolic
integration, sommation, ...). The library can be configured to
accept Maple or TI syntax to ease the transition for users of
these systems.
- a command line interpreter (icas or giac). It can be called from texmacs.
- a FLTK-based GUI (xcas). It is a GUI for symbolic computation
with several modules added: 2-d and 3-d graphics, dynamic 2-d and
3-d geometry (exact or numeric), spreadsheet, programming
environment.
WWW: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
PR: ports/150395
Submitted by: Han Frederic <han at math.jussieu.fr>
2010-09-21 17:29:52 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= giacxcas
|
2013-01-31 13:29:49 +01:00
|
|
|
PORTVERSION= 1.0.0
|
2013-08-26 18:06:37 +02:00
|
|
|
PORTREVISION= 1
|
Add new port math/giacxcas:
General purpose Computer algebra system by Bernard Parisse released
under GPLv3. The french documentation by Renee De Graeve is for non
commercial use only.
it consists of:
- a C++ library (libgiac). It is build on C and C++ libraries:
PARI, NTL (arithmetic), CoCoA (Groebner basis), GSL (numerics),
GMP (big integers), MPFR (bigfloats) and provides algorithms for
basic polynomial operations (product, GCD) and symbolic
computations (simplifications, limits/series, symbolic
integration, sommation, ...). The library can be configured to
accept Maple or TI syntax to ease the transition for users of
these systems.
- a command line interpreter (icas or giac). It can be called from texmacs.
- a FLTK-based GUI (xcas). It is a GUI for symbolic computation
with several modules added: 2-d and 3-d graphics, dynamic 2-d and
3-d geometry (exact or numeric), spreadsheet, programming
environment.
WWW: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
PR: ports/150395
Submitted by: Han Frederic <han at math.jussieu.fr>
2010-09-21 17:29:52 +02:00
|
|
|
CATEGORIES= math
|
2012-06-22 15:44:53 +02:00
|
|
|
MASTER_SITES= http://www-fourier.ujf-grenoble.fr/~parisse/giac/freebsd/ \
|
2011-04-09 17:40:17 +02:00
|
|
|
http://people.math.jussieu.fr/~han/xcas/sources/
|
2013-01-31 13:29:49 +01:00
|
|
|
DISTFILES= fltk-giac.tar.gz CoCoALib-0.9950.tgz giac-${PORTVERSION}.tar.gz
|
Add new port math/giacxcas:
General purpose Computer algebra system by Bernard Parisse released
under GPLv3. The french documentation by Renee De Graeve is for non
commercial use only.
it consists of:
- a C++ library (libgiac). It is build on C and C++ libraries:
PARI, NTL (arithmetic), CoCoA (Groebner basis), GSL (numerics),
GMP (big integers), MPFR (bigfloats) and provides algorithms for
basic polynomial operations (product, GCD) and symbolic
computations (simplifications, limits/series, symbolic
integration, sommation, ...). The library can be configured to
accept Maple or TI syntax to ease the transition for users of
these systems.
- a command line interpreter (icas or giac). It can be called from texmacs.
- a FLTK-based GUI (xcas). It is a GUI for symbolic computation
with several modules added: 2-d and 3-d graphics, dynamic 2-d and
3-d geometry (exact or numeric), spreadsheet, programming
environment.
WWW: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
PR: ports/150395
Submitted by: Han Frederic <han at math.jussieu.fr>
2010-09-21 17:29:52 +02:00
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= han@math.jussieu.fr
|
|
|
|
COMMENT= Computer algebra system by Bernard Parisse
|
|
|
|
|
2013-01-31 13:29:49 +01:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2013-05-11 19:58:55 +02:00
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
|
Add new port math/giacxcas:
General purpose Computer algebra system by Bernard Parisse released
under GPLv3. The french documentation by Renee De Graeve is for non
commercial use only.
it consists of:
- a C++ library (libgiac). It is build on C and C++ libraries:
PARI, NTL (arithmetic), CoCoA (Groebner basis), GSL (numerics),
GMP (big integers), MPFR (bigfloats) and provides algorithms for
basic polynomial operations (product, GCD) and symbolic
computations (simplifications, limits/series, symbolic
integration, sommation, ...). The library can be configured to
accept Maple or TI syntax to ease the transition for users of
these systems.
- a command line interpreter (icas or giac). It can be called from texmacs.
- a FLTK-based GUI (xcas). It is a GUI for symbolic computation
with several modules added: 2-d and 3-d graphics, dynamic 2-d and
3-d geometry (exact or numeric), spreadsheet, programming
environment.
WWW: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
PR: ports/150395
Submitted by: Han Frederic <han at math.jussieu.fr>
2010-09-21 17:29:52 +02:00
|
|
|
${LOCALBASE}/lib/libntl.a:${PORTSDIR}/math/ntl
|
|
|
|
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp \
|
2011-11-01 18:32:02 +01:00
|
|
|
pari:${PORTSDIR}/math/pari \
|
Add new port math/giacxcas:
General purpose Computer algebra system by Bernard Parisse released
under GPLv3. The french documentation by Renee De Graeve is for non
commercial use only.
it consists of:
- a C++ library (libgiac). It is build on C and C++ libraries:
PARI, NTL (arithmetic), CoCoA (Groebner basis), GSL (numerics),
GMP (big integers), MPFR (bigfloats) and provides algorithms for
basic polynomial operations (product, GCD) and symbolic
computations (simplifications, limits/series, symbolic
integration, sommation, ...). The library can be configured to
accept Maple or TI syntax to ease the transition for users of
these systems.
- a command line interpreter (icas or giac). It can be called from texmacs.
- a FLTK-based GUI (xcas). It is a GUI for symbolic computation
with several modules added: 2-d and 3-d graphics, dynamic 2-d and
3-d geometry (exact or numeric), spreadsheet, programming
environment.
WWW: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
PR: ports/150395
Submitted by: Han Frederic <han at math.jussieu.fr>
2010-09-21 17:29:52 +02:00
|
|
|
mpfr:${PORTSDIR}/math/mpfr \
|
2012-01-14 22:43:20 +01:00
|
|
|
gsl:${PORTSDIR}/math/gsl \
|
|
|
|
lapack:${PORTSDIR}/math/lapack
|
Add new port math/giacxcas:
General purpose Computer algebra system by Bernard Parisse released
under GPLv3. The french documentation by Renee De Graeve is for non
commercial use only.
it consists of:
- a C++ library (libgiac). It is build on C and C++ libraries:
PARI, NTL (arithmetic), CoCoA (Groebner basis), GSL (numerics),
GMP (big integers), MPFR (bigfloats) and provides algorithms for
basic polynomial operations (product, GCD) and symbolic
computations (simplifications, limits/series, symbolic
integration, sommation, ...). The library can be configured to
accept Maple or TI syntax to ease the transition for users of
these systems.
- a command line interpreter (icas or giac). It can be called from texmacs.
- a FLTK-based GUI (xcas). It is a GUI for symbolic computation
with several modules added: 2-d and 3-d graphics, dynamic 2-d and
3-d geometry (exact or numeric), spreadsheet, programming
environment.
WWW: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
PR: ports/150395
Submitted by: Han Frederic <han at math.jussieu.fr>
2010-09-21 17:29:52 +02:00
|
|
|
|
2013-01-31 13:29:49 +01:00
|
|
|
NO_CDROM= French documentation is for non-commercial use only
|
Add new port math/giacxcas:
General purpose Computer algebra system by Bernard Parisse released
under GPLv3. The french documentation by Renee De Graeve is for non
commercial use only.
it consists of:
- a C++ library (libgiac). It is build on C and C++ libraries:
PARI, NTL (arithmetic), CoCoA (Groebner basis), GSL (numerics),
GMP (big integers), MPFR (bigfloats) and provides algorithms for
basic polynomial operations (product, GCD) and symbolic
computations (simplifications, limits/series, symbolic
integration, sommation, ...). The library can be configured to
accept Maple or TI syntax to ease the transition for users of
these systems.
- a command line interpreter (icas or giac). It can be called from texmacs.
- a FLTK-based GUI (xcas). It is a GUI for symbolic computation
with several modules added: 2-d and 3-d graphics, dynamic 2-d and
3-d geometry (exact or numeric), spreadsheet, programming
environment.
WWW: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
PR: ports/150395
Submitted by: Han Frederic <han at math.jussieu.fr>
2010-09-21 17:29:52 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GL= gl
|
|
|
|
USE_XORG= xcursor xft xi
|
2013-05-11 19:58:55 +02:00
|
|
|
USE_TEX= latex:build dvipsk:build
|
Add new port math/giacxcas:
General purpose Computer algebra system by Bernard Parisse released
under GPLv3. The french documentation by Renee De Graeve is for non
commercial use only.
it consists of:
- a C++ library (libgiac). It is build on C and C++ libraries:
PARI, NTL (arithmetic), CoCoA (Groebner basis), GSL (numerics),
GMP (big integers), MPFR (bigfloats) and provides algorithms for
basic polynomial operations (product, GCD) and symbolic
computations (simplifications, limits/series, symbolic
integration, sommation, ...). The library can be configured to
accept Maple or TI syntax to ease the transition for users of
these systems.
- a command line interpreter (icas or giac). It can be called from texmacs.
- a FLTK-based GUI (xcas). It is a GUI for symbolic computation
with several modules added: 2-d and 3-d graphics, dynamic 2-d and
3-d geometry (exact or numeric), spreadsheet, programming
environment.
WWW: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
PR: ports/150395
Submitted by: Han Frederic <han at math.jussieu.fr>
2010-09-21 17:29:52 +02:00
|
|
|
USE_LDCONFIG= yes
|
2013-04-24 20:10:30 +02:00
|
|
|
USES= gettext
|
Add new port math/giacxcas:
General purpose Computer algebra system by Bernard Parisse released
under GPLv3. The french documentation by Renee De Graeve is for non
commercial use only.
it consists of:
- a C++ library (libgiac). It is build on C and C++ libraries:
PARI, NTL (arithmetic), CoCoA (Groebner basis), GSL (numerics),
GMP (big integers), MPFR (bigfloats) and provides algorithms for
basic polynomial operations (product, GCD) and symbolic
computations (simplifications, limits/series, symbolic
integration, sommation, ...). The library can be configured to
accept Maple or TI syntax to ease the transition for users of
these systems.
- a command line interpreter (icas or giac). It can be called from texmacs.
- a FLTK-based GUI (xcas). It is a GUI for symbolic computation
with several modules added: 2-d and 3-d graphics, dynamic 2-d and
3-d geometry (exact or numeric), spreadsheet, programming
environment.
WWW: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
PR: ports/150395
Submitted by: Han Frederic <han at math.jussieu.fr>
2010-09-21 17:29:52 +02:00
|
|
|
|
2013-01-31 13:29:49 +01:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/giac
|
|
|
|
PORTDOCS= *
|
|
|
|
DATADIR= ${PREFIX}/share/giac
|
|
|
|
PORTDATA= *
|
|
|
|
|
Add new port math/giacxcas:
General purpose Computer algebra system by Bernard Parisse released
under GPLv3. The french documentation by Renee De Graeve is for non
commercial use only.
it consists of:
- a C++ library (libgiac). It is build on C and C++ libraries:
PARI, NTL (arithmetic), CoCoA (Groebner basis), GSL (numerics),
GMP (big integers), MPFR (bigfloats) and provides algorithms for
basic polynomial operations (product, GCD) and symbolic
computations (simplifications, limits/series, symbolic
integration, sommation, ...). The library can be configured to
accept Maple or TI syntax to ease the transition for users of
these systems.
- a command line interpreter (icas or giac). It can be called from texmacs.
- a FLTK-based GUI (xcas). It is a GUI for symbolic computation
with several modules added: 2-d and 3-d graphics, dynamic 2-d and
3-d geometry (exact or numeric), spreadsheet, programming
environment.
WWW: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
PR: ports/150395
Submitted by: Han Frederic <han at math.jussieu.fr>
2010-09-21 17:29:52 +02:00
|
|
|
CPPFLAGS+= -I${FLTKDEV-GIAC} -I${COCOALIB-GIAC}/include -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${FLTKDEV-GIAC}/lib -L${COCOALIB-GIAC}/lib -L${LOCALBASE}/lib
|
|
|
|
CXXFLAGS+= -I${LOCALBASE}/include
|
2010-10-10 00:26:00 +02:00
|
|
|
|
Add new port math/giacxcas:
General purpose Computer algebra system by Bernard Parisse released
under GPLv3. The french documentation by Renee De Graeve is for non
commercial use only.
it consists of:
- a C++ library (libgiac). It is build on C and C++ libraries:
PARI, NTL (arithmetic), CoCoA (Groebner basis), GSL (numerics),
GMP (big integers), MPFR (bigfloats) and provides algorithms for
basic polynomial operations (product, GCD) and symbolic
computations (simplifications, limits/series, symbolic
integration, sommation, ...). The library can be configured to
accept Maple or TI syntax to ease the transition for users of
these systems.
- a command line interpreter (icas or giac). It can be called from texmacs.
- a FLTK-based GUI (xcas). It is a GUI for symbolic computation
with several modules added: 2-d and 3-d graphics, dynamic 2-d and
3-d geometry (exact or numeric), spreadsheet, programming
environment.
WWW: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
PR: ports/150395
Submitted by: Han Frederic <han at math.jussieu.fr>
2010-09-21 17:29:52 +02:00
|
|
|
WRKSRC= ${WRKDIR}/giac-${PORTVERSION}
|
2013-01-31 13:29:49 +01:00
|
|
|
FLTKDEV-GIAC= ${WRKDIR}/fltk-1.3.0
|
|
|
|
COCOALIB-GIAC= ${WRKDIR}/CoCoALib-0.9950
|
Add new port math/giacxcas:
General purpose Computer algebra system by Bernard Parisse released
under GPLv3. The french documentation by Renee De Graeve is for non
commercial use only.
it consists of:
- a C++ library (libgiac). It is build on C and C++ libraries:
PARI, NTL (arithmetic), CoCoA (Groebner basis), GSL (numerics),
GMP (big integers), MPFR (bigfloats) and provides algorithms for
basic polynomial operations (product, GCD) and symbolic
computations (simplifications, limits/series, symbolic
integration, sommation, ...). The library can be configured to
accept Maple or TI syntax to ease the transition for users of
these systems.
- a command line interpreter (icas or giac). It can be called from texmacs.
- a FLTK-based GUI (xcas). It is a GUI for symbolic computation
with several modules added: 2-d and 3-d graphics, dynamic 2-d and
3-d geometry (exact or numeric), spreadsheet, programming
environment.
WWW: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
PR: ports/150395
Submitted by: Han Frederic <han at math.jussieu.fr>
2010-09-21 17:29:52 +02:00
|
|
|
|
|
|
|
INFO= giac_es giac_us
|
|
|
|
|
|
|
|
post-patch:
|
2013-01-31 13:29:49 +01:00
|
|
|
@${GREP} -Rl --null /bin/bash ${COCOALIB-GIAC} | ${XARGS} -0 \
|
|
|
|
${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|'
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' \
|
2011-11-01 18:32:02 +01:00
|
|
|
${WRKSRC}/xcas.applications ${WRKSRC}/xcas.desktop
|
Add new port math/giacxcas:
General purpose Computer algebra system by Bernard Parisse released
under GPLv3. The french documentation by Renee De Graeve is for non
commercial use only.
it consists of:
- a C++ library (libgiac). It is build on C and C++ libraries:
PARI, NTL (arithmetic), CoCoA (Groebner basis), GSL (numerics),
GMP (big integers), MPFR (bigfloats) and provides algorithms for
basic polynomial operations (product, GCD) and symbolic
computations (simplifications, limits/series, symbolic
integration, sommation, ...). The library can be configured to
accept Maple or TI syntax to ease the transition for users of
these systems.
- a command line interpreter (icas or giac). It can be called from texmacs.
- a FLTK-based GUI (xcas). It is a GUI for symbolic computation
with several modules added: 2-d and 3-d graphics, dynamic 2-d and
3-d geometry (exact or numeric), spreadsheet, programming
environment.
WWW: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
PR: ports/150395
Submitted by: Han Frederic <han at math.jussieu.fr>
2010-09-21 17:29:52 +02:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${COCOALIB-GIAC} && \
|
|
|
|
./configure --with-libgmp=${LOCALBASE}/lib/libgmp.a && \
|
|
|
|
${GMAKE} library && \
|
|
|
|
cd ${FLTKDEV-GIAC} && \
|
|
|
|
./configure --prefix=${FLTKDEV-GIAC} \
|
|
|
|
&& ${MAKE}
|
|
|
|
|
2011-11-01 18:32:02 +01:00
|
|
|
.include <bsd.port.mk>
|