2013-06-03 12:05:17 +02:00
|
|
|
# $NetBSD: Makefile,v 1.88 2013/06/03 10:05:33 wiz Exp $
|
1998-08-25 14:53:07 +02:00
|
|
|
#
|
|
|
|
|
update to scilab-3.1.1
Main Changes Scilab 3.0 -> 3.1
=========================
The new features of Scilab 3.1 are the following:
- "xgetmouse", "eventhandler" event set extended to click, double-click, <Ctrl> Key. See more details in xclick and xgetmouse on line help.
Warning: Because of distinction of click events, some users' scripts can have a different behavior.
To make it work as before please check and modified test on events as follow:
supposing that button contains the value returned by xclick (left most argument) or xgetmouse (third componant of returned vector) then replace test like:
button==0 by or(button==[0,3])
button==1 by or(button==[1,4])
button==2 by or(button==[2,5])
- Integration of the ATLAS library (specific Windows version).
During the installation of Scilab, dynamic library (Atlas.dll) is automatically chosen according to the CPU detected. See details in the Atlas.spec file under scilab\bin directory.
- Java interface written to allow calling Scilab computational engine from Java
- TCL interface has been totally rewritten (for better error detection and better data transfert). ScilabEval improve to handle synchronism.
For your information you should know that tcl8.4 segfault when running on Linux 2.6 kernels on machines with 2 or more processors.
- Scipad editor
o A debugging tool is now available.
o Drag'n'drop is now supported.
o User settings and text colors are now configurable and saved across editing sessions.
o Find/Replace debugged and improved.
o Quick access in the file menu for recently opened/saved files.
o Creation of XML help page templates and xmltohtml compilation available from within Scipad.
o Identification of Scilab predefined variables and library functions in scilab scripts.
o Scipad is easily localized. Today English, German, French, Swedish and Italian languages are supported.
o Miscellaneous file management improvements: readonly flag, absolute pathnames to files, pruned pathnames display, revert to saved feature.
- Graphics editor completed
o Axes structure totally rebuild.
New axes properties available (see manual and type 'gca()' for a complet listing), z logscale enable, axes inversion.
o Save and load had been extended to graphics handle
o 'plot' macro added to scilab to mimic the "matlab plot" behavior (type "help plot" for more info.)
o 'surf' macro added to scilab to mimic the "matlab surf" behavior (type "help surf" for more info.)
Graphics entities are associated to Scilab variables of type handle. The handle is a unique identifier which is associated to each instance of a created graphics entity. Using this handle, it will be possible to reach entities properties through "set" and "get" routines. The handles are also used to manipulate graphics objects, to move them, to copy or delete them.
Enter "help graphics_entities" at Scilab prompt for more details.
- Scicos block set has been extended/revisited to be more compatible with Simulink one, compiler, code generator and implicit system simulator have been improved.
- Configure adapted to linux 64bit architectures
- Improvement of the integration of Visual Studio Compiler to the dynamic links: findmsvccompiler() and configure_msvc() macros have been added
- The source files have been updated to optimise the compiled version built with VC6 tool
Please note that the Windows binary version provided on our Web site is built with .NET
- Sparse operations and functions like real, imag, matrix, spones revisited to improve efficiency
- Bessel functions extended to work in the complex case (using Slatec routines)
Incompatibilities: The semantics of besseli, besselj, besselk and bessely functions has been changed and extended.
The oldbesseli, oldbesselj, oldbesselk and oldbessely correspond to the old obsolete semantics.
- New Matlab functions implemented in m2sci translator
- Functions to read Excel files
- Font rotation is now possible under Xwindow
- home variable (%HOME%) defined under Windows: c:/Documents and Setting/USER
- New environment variable SCIHOME:
o Under Windows: %HOME%\scilab\SCILAB_VERSION
o Under Linux: $HOME/USER/.scilab/SCILAB_VERSION
- New primitives:
o clipboard (specific Windows)
o perl
o calendar
o mkdir
o rmdir
o copyfile
o sleep
o getos
o setenv
o getshortpathname (specific Windows)
o getlongpathname (specific Windows)
o toolbar (specific Windows)
o hidetoolbar (specific Windows)
o console (specific Windows)
o mcisendstring (specific Windows)
o banner
o winqueryreg (specific Windows)
o xls_open
o xls_read
o scicos_debug_count
2005-09-07 12:48:47 +02:00
|
|
|
DISTNAME= ${SCIBASE}-src
|
2013-06-03 12:05:17 +02:00
|
|
|
PKGREVISION= 8
|
2001-11-29 02:12:24 +01:00
|
|
|
PKGNAME= ${SCIBASE}
|
1998-08-25 14:53:07 +02:00
|
|
|
CATEGORIES= math
|
2007-03-23 23:08:55 +01:00
|
|
|
MASTER_SITES= http://www.scilab.org/download/4.1/
|
1998-08-25 14:53:07 +02:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= dmcmahill@NetBSD.org
|
update to scilab-3.0
Main Changes Scilab 2.7 -> 3.0
==============================
NEW FUNCTIONALITIES
===================
- continue instruction added
- [a(i,j),b(..),..]=foo(..) syntax is now handled
- arpack algorithms for sparse matrix eigenvalues/eigenvectors computation added
- Levenberg-Marquardt algorithm of Minpack used to define function lsqrsolve
- New graphics mode improved
- beta and legendre function added (thanks to B Pincon)
- Scicos has been extended to handle non causal systems description (supported by RNTL)
- Matlab to Scilab translator has been re-written, and extended to current Matlab syntax.
OTHERS IMPROVEMENTS
===================
- Better discontinuities handling in Scicos
- More efficient number parsing (thanks to B Pincon)
- More efficient 3D Zoom (thanks to E Segre)
- Improved scipad, shortcuts, language handling, colorization, bug fixes.. (thanks to E Segre)
- for loop variable is no more removed at the end of the loops
- figure sizes are now taken into account in Postscript export
- Windows GUI improved
- Graphic windows refresh improved under Windows
- Scilab has been adapated to IA64 architecture
- Helvetica (Arial on Windows) fonts added (corresponding font identifiers are
from 6 to 9) (thanks to B Pincon)
- N dimensionnal matrices efficiency improved (thanks to B Pincon)
- logical expressions shortcuts handled in if
- cd, ls, clc, clf, tohome functions added
- functions with no argument can be called without () if called as a command
2004-07-15 06:00:46 +02:00
|
|
|
HOMEPAGE= http://www.scilab.org/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= High-level scientific math programming environment with graphics
|
1998-08-25 14:53:07 +02:00
|
|
|
|
2008-12-05 20:02:09 +01:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2007-03-23 23:08:55 +01:00
|
|
|
SCIBASE= scilab-4.1
|
2005-10-26 06:09:37 +02:00
|
|
|
# don't forget to update SCI and SCIVERSION in the buildlink3.mk file when
|
|
|
|
# SCIBASE is updated.
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${SCIBASE}
|
2003-09-12 22:46:47 +02:00
|
|
|
|
2010-01-06 19:24:12 +01:00
|
|
|
NOT_FOR_PLATFORM+= ${LP64PLATFORMS}
|
1998-11-13 02:25:12 +01:00
|
|
|
|
2010-07-30 12:36:22 +02:00
|
|
|
USE_LANGUAGES= c fortran77
|
2002-10-01 00:36:08 +02:00
|
|
|
USE_X11BASE= yes
|
Update to scilab-2.6
Thanks to the scilab folks at INRIA for helping us get rid of 9 more patches!
From the CHANGES file:
Main Changes Scilab 2.5 -> 2.6
==============================
NEW FUNCTIONALITIES
===================
Automatic graphic rescaling when combining 2D plots, axis handling
Isometric 3D plots. Thanks to Enrico Segre
3D plots shading. Thanks to Stephane MOTTELET
Error messages handling
Grep function added
Modeless message box added
Profiling of functions execution added
Real time simulation in Scicos. Thanks to Anders Blomdell
Scicos diagram linearization and fixed point computation
OTHERS IMPROVEMENTS
===================
A more professional licence
Input/Output improved (carriage return at the end of the file are not
required anymore, OS independent ascii file input, handling of opened
files )
More complete mexlib for MatlabV mex interface.
Many bug corrected in integer types manipulation
API improved, many examples given
A better window management under KDE
A better plugin interface (help, demos,...) and new Scilab functions for
building and loading interfaces.
Interactive demos for ODE and DAE solving added
Scicos' GUI improved, customizable keyboard shortcuts added
Default list, tlist and mlist display can be overloaded
It is now possible to draw dashed lines in color. Background now work
with postscript driver. Easiest argument passing to plot2d, plot3d,...
GIF driver bugs fixed.
INCOMPATIBLITY
==============
help and scicos palettes handling have changed.
Fraclab toolbox has been moved to the contributions part and is no
more included in the package
The Communication Toolbox (geci) is now obsolete. It will be removed in
next release. Use PVM instead.
2001-04-08 18:25:27 +02:00
|
|
|
USE_LIBTOOL= yes
|
2005-07-15 20:27:48 +02:00
|
|
|
USE_TOOLS+= tee
|
1998-08-25 14:53:07 +02:00
|
|
|
|
2002-10-01 00:36:08 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-09-09 20:30:01 +02:00
|
|
|
CONFIGURE_ARGS+= --without-local-xaw
|
2008-06-23 22:54:44 +02:00
|
|
|
CONFIGURE_ARGS+= --without-java
|
2004-03-11 00:41:44 +01:00
|
|
|
|
2004-03-28 19:26:21 +02:00
|
|
|
EVAL_PREFIX+= TCL_PREFIX=tcl
|
|
|
|
EVAL_PREFIX+= TK_PREFIX=tk
|
|
|
|
CONFIGURE_ARGS+= --with-tcl-library=${TCL_PREFIX}/lib
|
|
|
|
CONFIGURE_ARGS+= --with-tcl-include=${TCL_PREFIX}/include
|
|
|
|
CONFIGURE_ARGS+= --with-tk-library=${TK_PREFIX}/lib
|
|
|
|
CONFIGURE_ARGS+= --with-tk-include=${TK_PREFIX}/include
|
|
|
|
CONFIGURE_ENV+= TCL_CONFIG_SH=${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
|
|
|
|
CONFIGURE_ENV+= TK_CONFIG_SH=${BUILDLINK_PREFIX.tk}/lib/tkConfig.sh
|
2006-05-12 14:39:32 +02:00
|
|
|
CONFIGURE_ENV+= CC_LDFLAGS=${X11_LDFLAGS:Q}\ ${COMPILER_RPATH_FLAG:Q}${BUILDLINK_PREFIX.tk:Q}/lib
|
|
|
|
CONFIGURE_ENV+= FC_LDFLAGS=${X11_LDFLAGS:Q}\ ${COMPILER_RPATH_FLAG:Q}${BUILDLINK_PREFIX.tk:Q}/lib
|
2002-10-01 00:36:08 +02:00
|
|
|
|
|
|
|
# override HOME to avoid picking up a bad ${HOME}/.scilab during the build
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= HOME=${WRKSRC:Q}
|
|
|
|
MAKE_ENV+= PVM_ROOT=${PVM_ROOT:Q}
|
|
|
|
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE:Q}
|
2002-10-01 00:36:08 +02:00
|
|
|
|
2009-10-08 03:24:03 +02:00
|
|
|
# FIXME -- this ugly hack will go away on newer versions of scilab where the build
|
|
|
|
# system has been improved significantly see:
|
|
|
|
#
|
|
|
|
# scilab-4.1/routines/os_specific/getarg.c
|
|
|
|
#
|
|
|
|
.include "../../mk/compiler.mk"
|
2009-10-12 01:17:03 +02:00
|
|
|
. if !empty(FC:Mgfortran) || (defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mg95))
|
2009-10-08 03:24:03 +02:00
|
|
|
CFLAGS+= -DG95_FORTRAN=1
|
|
|
|
.endif
|
|
|
|
|
2002-10-01 00:36:08 +02:00
|
|
|
PVM_ROOT?= ${LOCALBASE}/pvm3
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= PVM_ROOT=${PVM_ROOT:Q}
|
|
|
|
CONFIGURE_ENV+= X11BASE=${X11BASE:Q}
|
|
|
|
PLIST_SUBST+= SCIBASE=${SCIBASE:Q}
|
1999-03-05 12:22:34 +01:00
|
|
|
|
2004-08-27 08:29:06 +02:00
|
|
|
UNWRAP_FILES+= Makemex config/configuration config/Makeso.incl
|
2004-03-11 00:41:44 +01:00
|
|
|
|
update to scilab-3.0
Main Changes Scilab 2.7 -> 3.0
==============================
NEW FUNCTIONALITIES
===================
- continue instruction added
- [a(i,j),b(..),..]=foo(..) syntax is now handled
- arpack algorithms for sparse matrix eigenvalues/eigenvectors computation added
- Levenberg-Marquardt algorithm of Minpack used to define function lsqrsolve
- New graphics mode improved
- beta and legendre function added (thanks to B Pincon)
- Scicos has been extended to handle non causal systems description (supported by RNTL)
- Matlab to Scilab translator has been re-written, and extended to current Matlab syntax.
OTHERS IMPROVEMENTS
===================
- Better discontinuities handling in Scicos
- More efficient number parsing (thanks to B Pincon)
- More efficient 3D Zoom (thanks to E Segre)
- Improved scipad, shortcuts, language handling, colorization, bug fixes.. (thanks to E Segre)
- for loop variable is no more removed at the end of the loops
- figure sizes are now taken into account in Postscript export
- Windows GUI improved
- Graphic windows refresh improved under Windows
- Scilab has been adapated to IA64 architecture
- Helvetica (Arial on Windows) fonts added (corresponding font identifiers are
from 6 to 9) (thanks to B Pincon)
- N dimensionnal matrices efficiency improved (thanks to B Pincon)
- logical expressions shortcuts handled in if
- cd, ls, clc, clf, tohome functions added
- functions with no argument can be called without () if called as a command
2004-07-15 06:00:46 +02:00
|
|
|
BUILDLINK_DEPMETHOD.sablotron= build
|
|
|
|
|
2002-03-05 22:05:52 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == "alpha")
|
2005-03-17 23:41:09 +01:00
|
|
|
pre-fetch: ${WRKDIR}
|
2002-03-05 22:05:52 +01:00
|
|
|
@${ECHO} "===> Checking if you have working FPC"
|
|
|
|
${CC} ${CFLAGS} -o ${WRKDIR}/chk_ieee ${FILESDIR}/chk_ieee.c
|
|
|
|
@cd ${WRKDIR} && if ./chk_ieee ; then ${ECHO} "yes" ; else \
|
|
|
|
${ECHO} "no" ; \
|
|
|
|
${ECHO} "${PKGNAME} requires floating point completion on this system" ;\
|
|
|
|
${ECHO} "Possible causes for this check failing are:" ;\
|
|
|
|
${ECHO} " - you have an old /usr/lib/* which was not compiled with -mieee" ;\
|
|
|
|
${ECHO} " - you have overridden CFLAGS for pkgsrc removing the -mieee flag" ;\
|
|
|
|
${ECHO} "Without fixing this problem ${PKGNAME} will not work." ; ${FALSE} ; fi
|
|
|
|
.endif
|
|
|
|
|
2003-09-12 22:46:47 +02:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
update to scilab-3.0
Main Changes Scilab 2.7 -> 3.0
==============================
NEW FUNCTIONALITIES
===================
- continue instruction added
- [a(i,j),b(..),..]=foo(..) syntax is now handled
- arpack algorithms for sparse matrix eigenvalues/eigenvectors computation added
- Levenberg-Marquardt algorithm of Minpack used to define function lsqrsolve
- New graphics mode improved
- beta and legendre function added (thanks to B Pincon)
- Scicos has been extended to handle non causal systems description (supported by RNTL)
- Matlab to Scilab translator has been re-written, and extended to current Matlab syntax.
OTHERS IMPROVEMENTS
===================
- Better discontinuities handling in Scicos
- More efficient number parsing (thanks to B Pincon)
- More efficient 3D Zoom (thanks to E Segre)
- Improved scipad, shortcuts, language handling, colorization, bug fixes.. (thanks to E Segre)
- for loop variable is no more removed at the end of the loops
- figure sizes are now taken into account in Postscript export
- Windows GUI improved
- Graphic windows refresh improved under Windows
- Scilab has been adapated to IA64 architecture
- Helvetica (Arial on Windows) fonts added (corresponding font identifiers are
from 6 to 9) (thanks to B Pincon)
- N dimensionnal matrices efficiency improved (thanks to B Pincon)
- logical expressions shortcuts handled in if
- cd, ls, clc, clf, tohome functions added
- functions with no argument can be called without () if called as a command
2004-07-15 06:00:46 +02:00
|
|
|
#post-extract:
|
|
|
|
#.for f in scicos scicos_blocks
|
|
|
|
# @extract_file=${DISTDIR}/${DIST_SUBDIR}/${f}.tar.gz ; export extract_file ; \
|
|
|
|
# cd ${WRKSRC}/macros/${f} && ${EXTRACT_CMD}
|
|
|
|
#.endfor
|
2003-09-12 22:46:47 +02:00
|
|
|
|
2007-03-23 23:08:55 +01:00
|
|
|
# Scilab has runtime support for building shared objects that can be
|
|
|
|
# loaded. It needs to know the right 'make' program.
|
update to scilab-3.1.1
Main Changes Scilab 3.0 -> 3.1
=========================
The new features of Scilab 3.1 are the following:
- "xgetmouse", "eventhandler" event set extended to click, double-click, <Ctrl> Key. See more details in xclick and xgetmouse on line help.
Warning: Because of distinction of click events, some users' scripts can have a different behavior.
To make it work as before please check and modified test on events as follow:
supposing that button contains the value returned by xclick (left most argument) or xgetmouse (third componant of returned vector) then replace test like:
button==0 by or(button==[0,3])
button==1 by or(button==[1,4])
button==2 by or(button==[2,5])
- Integration of the ATLAS library (specific Windows version).
During the installation of Scilab, dynamic library (Atlas.dll) is automatically chosen according to the CPU detected. See details in the Atlas.spec file under scilab\bin directory.
- Java interface written to allow calling Scilab computational engine from Java
- TCL interface has been totally rewritten (for better error detection and better data transfert). ScilabEval improve to handle synchronism.
For your information you should know that tcl8.4 segfault when running on Linux 2.6 kernels on machines with 2 or more processors.
- Scipad editor
o A debugging tool is now available.
o Drag'n'drop is now supported.
o User settings and text colors are now configurable and saved across editing sessions.
o Find/Replace debugged and improved.
o Quick access in the file menu for recently opened/saved files.
o Creation of XML help page templates and xmltohtml compilation available from within Scipad.
o Identification of Scilab predefined variables and library functions in scilab scripts.
o Scipad is easily localized. Today English, German, French, Swedish and Italian languages are supported.
o Miscellaneous file management improvements: readonly flag, absolute pathnames to files, pruned pathnames display, revert to saved feature.
- Graphics editor completed
o Axes structure totally rebuild.
New axes properties available (see manual and type 'gca()' for a complet listing), z logscale enable, axes inversion.
o Save and load had been extended to graphics handle
o 'plot' macro added to scilab to mimic the "matlab plot" behavior (type "help plot" for more info.)
o 'surf' macro added to scilab to mimic the "matlab surf" behavior (type "help surf" for more info.)
Graphics entities are associated to Scilab variables of type handle. The handle is a unique identifier which is associated to each instance of a created graphics entity. Using this handle, it will be possible to reach entities properties through "set" and "get" routines. The handles are also used to manipulate graphics objects, to move them, to copy or delete them.
Enter "help graphics_entities" at Scilab prompt for more details.
- Scicos block set has been extended/revisited to be more compatible with Simulink one, compiler, code generator and implicit system simulator have been improved.
- Configure adapted to linux 64bit architectures
- Improvement of the integration of Visual Studio Compiler to the dynamic links: findmsvccompiler() and configure_msvc() macros have been added
- The source files have been updated to optimise the compiled version built with VC6 tool
Please note that the Windows binary version provided on our Web site is built with .NET
- Sparse operations and functions like real, imag, matrix, spones revisited to improve efficiency
- Bessel functions extended to work in the complex case (using Slatec routines)
Incompatibilities: The semantics of besseli, besselj, besselk and bessely functions has been changed and extended.
The oldbesseli, oldbesselj, oldbesselk and oldbessely correspond to the old obsolete semantics.
- New Matlab functions implemented in m2sci translator
- Functions to read Excel files
- Font rotation is now possible under Xwindow
- home variable (%HOME%) defined under Windows: c:/Documents and Setting/USER
- New environment variable SCIHOME:
o Under Windows: %HOME%\scilab\SCILAB_VERSION
o Under Linux: $HOME/USER/.scilab/SCILAB_VERSION
- New primitives:
o clipboard (specific Windows)
o perl
o calendar
o mkdir
o rmdir
o copyfile
o sleep
o getos
o setenv
o getshortpathname (specific Windows)
o getlongpathname (specific Windows)
o toolbar (specific Windows)
o hidetoolbar (specific Windows)
o console (specific Windows)
o mcisendstring (specific Windows)
o banner
o winqueryreg (specific Windows)
o xls_open
o xls_read
o scicos_debug_count
2005-09-07 12:48:47 +02:00
|
|
|
post-patch:
|
|
|
|
${MV} ${WRKSRC}/macros/util/ilib_compile.sci ${WRKSRC}/macros/util/ilib_compile.sci.bak
|
|
|
|
${SED} 's|make -f|export PATH ; ${MAKE_PROGRAM} -f|g' \
|
|
|
|
${WRKSRC}/macros/util/ilib_compile.sci.bak > \
|
|
|
|
${WRKSRC}/macros/util/ilib_compile.sci
|
|
|
|
${RM} ${WRKSRC}/macros/util/ilib_compile.sci.bak
|
|
|
|
|
|
|
|
|
2004-03-11 00:41:44 +01:00
|
|
|
# clean up any possible leftovers from 'make test' so that our PLIST
|
|
|
|
# will still be right. Also clean up a reference to WRKSRC.
|
|
|
|
pre-install:
|
|
|
|
cd ${WRKSRC}/examples && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} distclean
|
2006-11-10 18:34:09 +01:00
|
|
|
${FIND} ${WRKSRC}/examples -name \*.blsav -print | ${XARGS} ${RM} -f
|
update to scilab-3.0
Main Changes Scilab 2.7 -> 3.0
==============================
NEW FUNCTIONALITIES
===================
- continue instruction added
- [a(i,j),b(..),..]=foo(..) syntax is now handled
- arpack algorithms for sparse matrix eigenvalues/eigenvectors computation added
- Levenberg-Marquardt algorithm of Minpack used to define function lsqrsolve
- New graphics mode improved
- beta and legendre function added (thanks to B Pincon)
- Scicos has been extended to handle non causal systems description (supported by RNTL)
- Matlab to Scilab translator has been re-written, and extended to current Matlab syntax.
OTHERS IMPROVEMENTS
===================
- Better discontinuities handling in Scicos
- More efficient number parsing (thanks to B Pincon)
- More efficient 3D Zoom (thanks to E Segre)
- Improved scipad, shortcuts, language handling, colorization, bug fixes.. (thanks to E Segre)
- for loop variable is no more removed at the end of the loops
- figure sizes are now taken into account in Postscript export
- Windows GUI improved
- Graphic windows refresh improved under Windows
- Scilab has been adapated to IA64 architecture
- Helvetica (Arial on Windows) fonts added (corresponding font identifiers are
from 6 to 9) (thanks to B Pincon)
- N dimensionnal matrices efficiency improved (thanks to B Pincon)
- logical expressions shortcuts handled in if
- cd, ls, clc, clf, tohome functions added
- functions with no argument can be called without () if called as a command
2004-07-15 06:00:46 +02:00
|
|
|
${MV} ${WRKSRC}/maple/maple2scilab.mpl ${WRKSRC}/maple/maple2scilab.mpl.bak
|
2004-03-11 00:41:44 +01:00
|
|
|
${SED} 's;${WRKSRC};${PREFIX}/lib/${SCIBASE};g' ${WRKSRC}/maple/maple2scilab.mpl.bak > \
|
|
|
|
${WRKSRC}/maple/maple2scilab.mpl
|
|
|
|
${RM} -f ${WRKSRC}/maple/maple2scilab.mpl.bak
|
|
|
|
|
2003-05-06 19:40:18 +02:00
|
|
|
# delete some .orig files that got created by patching
|
2003-12-19 05:37:23 +01:00
|
|
|
# also fix the libtool link
|
2003-03-01 03:01:47 +01:00
|
|
|
post-install:
|
2011-04-02 01:50:50 +02:00
|
|
|
${RM} -f ${DESTDIR}${PREFIX}/lib/${SCIBASE}/bin/scilink.orig
|
|
|
|
${RM} -f ${DESTDIR}${PREFIX}/lib/${SCIBASE}/config/Makeso.incl.in.orig
|
|
|
|
${RM} -f ${DESTDIR}${PREFIX}/lib/${SCIBASE}/macros/util/scipad.sci.orig
|
|
|
|
${RM} -f ${DESTDIR}${PREFIX}/lib/${SCIBASE}/util/scidem.orig
|
|
|
|
${RM} -f ${DESTDIR}${PREFIX}/lib/${SCIBASE}/util/scidoc.orig
|
|
|
|
${RM} -f ${DESTDIR}${PREFIX}/lib/${SCIBASE}/libtool
|
|
|
|
${LN} -s ${LOCALBASE}/bin/libtool ${DESTDIR}${PREFIX}/lib/${SCIBASE}/libtool
|
|
|
|
${RM} -f ${DESTDIR}${PREFIX}/lib/${SCIBASE}/bin/dold
|
|
|
|
${RM} -f ${DESTDIR}${PREFIX}/lib/${SCIBASE}/config/*.subst.sav
|
|
|
|
${RM} -f ${DESTDIR}${PREFIX}/lib/${SCIBASE}/config/config.guess
|
|
|
|
${RM} -f ${DESTDIR}${PREFIX}/lib/${SCIBASE}/config/config.sub
|
2008-11-15 02:19:08 +01:00
|
|
|
|
2007-10-06 01:15:21 +02:00
|
|
|
.for __tmp__ in scilab.g scilab.g.in scilab-gtk.g scilab-gtk.g.in
|
2011-04-02 01:50:50 +02:00
|
|
|
${RM} -f ${DESTDIR}${PREFIX}/lib/${SCIBASE}/scripts/${__tmp__}
|
2007-10-06 01:15:21 +02:00
|
|
|
.endfor
|
2003-03-01 03:01:47 +01:00
|
|
|
|
2003-06-11 22:50:50 +02:00
|
|
|
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
|
2004-02-01 02:43:28 +01:00
|
|
|
GCC_REQD+= 2.95.3
|
2002-05-25 20:47:24 +02:00
|
|
|
.endif
|
|
|
|
|
Update to scilab-2.6
Thanks to the scilab folks at INRIA for helping us get rid of 9 more patches!
From the CHANGES file:
Main Changes Scilab 2.5 -> 2.6
==============================
NEW FUNCTIONALITIES
===================
Automatic graphic rescaling when combining 2D plots, axis handling
Isometric 3D plots. Thanks to Enrico Segre
3D plots shading. Thanks to Stephane MOTTELET
Error messages handling
Grep function added
Modeless message box added
Profiling of functions execution added
Real time simulation in Scicos. Thanks to Anders Blomdell
Scicos diagram linearization and fixed point computation
OTHERS IMPROVEMENTS
===================
A more professional licence
Input/Output improved (carriage return at the end of the file are not
required anymore, OS independent ascii file input, handling of opened
files )
More complete mexlib for MatlabV mex interface.
Many bug corrected in integer types manipulation
API improved, many examples given
A better window management under KDE
A better plugin interface (help, demos,...) and new Scilab functions for
building and loading interfaces.
Interactive demos for ODE and DAE solving added
Scicos' GUI improved, customizable keyboard shortcuts added
Default list, tlist and mlist display can be overloaded
It is now possible to draw dashed lines in color. Background now work
with postscript driver. Easiest argument passing to plot2d, plot3d,...
GIF driver bugs fixed.
INCOMPATIBLITY
==============
help and scicos palettes handling have changed.
Fraclab toolbox has been moved to the contributions part and is no
more included in the package
The Communication Toolbox (geci) is now obsolete. It will be removed in
next release. Use PVM instead.
2001-04-08 18:25:27 +02:00
|
|
|
# the "SCI=0 && unset SCI" is done because some of the tests really will
|
|
|
|
# fail if SCI is set to anything.
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= SCI=${WRKSRC:Q}
|
2003-07-12 15:22:16 +02:00
|
|
|
do-test:
|
update to scilab-3.1.1
Main Changes Scilab 3.0 -> 3.1
=========================
The new features of Scilab 3.1 are the following:
- "xgetmouse", "eventhandler" event set extended to click, double-click, <Ctrl> Key. See more details in xclick and xgetmouse on line help.
Warning: Because of distinction of click events, some users' scripts can have a different behavior.
To make it work as before please check and modified test on events as follow:
supposing that button contains the value returned by xclick (left most argument) or xgetmouse (third componant of returned vector) then replace test like:
button==0 by or(button==[0,3])
button==1 by or(button==[1,4])
button==2 by or(button==[2,5])
- Integration of the ATLAS library (specific Windows version).
During the installation of Scilab, dynamic library (Atlas.dll) is automatically chosen according to the CPU detected. See details in the Atlas.spec file under scilab\bin directory.
- Java interface written to allow calling Scilab computational engine from Java
- TCL interface has been totally rewritten (for better error detection and better data transfert). ScilabEval improve to handle synchronism.
For your information you should know that tcl8.4 segfault when running on Linux 2.6 kernels on machines with 2 or more processors.
- Scipad editor
o A debugging tool is now available.
o Drag'n'drop is now supported.
o User settings and text colors are now configurable and saved across editing sessions.
o Find/Replace debugged and improved.
o Quick access in the file menu for recently opened/saved files.
o Creation of XML help page templates and xmltohtml compilation available from within Scipad.
o Identification of Scilab predefined variables and library functions in scilab scripts.
o Scipad is easily localized. Today English, German, French, Swedish and Italian languages are supported.
o Miscellaneous file management improvements: readonly flag, absolute pathnames to files, pruned pathnames display, revert to saved feature.
- Graphics editor completed
o Axes structure totally rebuild.
New axes properties available (see manual and type 'gca()' for a complet listing), z logscale enable, axes inversion.
o Save and load had been extended to graphics handle
o 'plot' macro added to scilab to mimic the "matlab plot" behavior (type "help plot" for more info.)
o 'surf' macro added to scilab to mimic the "matlab surf" behavior (type "help surf" for more info.)
Graphics entities are associated to Scilab variables of type handle. The handle is a unique identifier which is associated to each instance of a created graphics entity. Using this handle, it will be possible to reach entities properties through "set" and "get" routines. The handles are also used to manipulate graphics objects, to move them, to copy or delete them.
Enter "help graphics_entities" at Scilab prompt for more details.
- Scicos block set has been extended/revisited to be more compatible with Simulink one, compiler, code generator and implicit system simulator have been improved.
- Configure adapted to linux 64bit architectures
- Improvement of the integration of Visual Studio Compiler to the dynamic links: findmsvccompiler() and configure_msvc() macros have been added
- The source files have been updated to optimise the compiled version built with VC6 tool
Please note that the Windows binary version provided on our Web site is built with .NET
- Sparse operations and functions like real, imag, matrix, spones revisited to improve efficiency
- Bessel functions extended to work in the complex case (using Slatec routines)
Incompatibilities: The semantics of besseli, besselj, besselk and bessely functions has been changed and extended.
The oldbesseli, oldbesselj, oldbesselk and oldbessely correspond to the old obsolete semantics.
- New Matlab functions implemented in m2sci translator
- Functions to read Excel files
- Font rotation is now possible under Xwindow
- home variable (%HOME%) defined under Windows: c:/Documents and Setting/USER
- New environment variable SCIHOME:
o Under Windows: %HOME%\scilab\SCILAB_VERSION
o Under Linux: $HOME/USER/.scilab/SCILAB_VERSION
- New primitives:
o clipboard (specific Windows)
o perl
o calendar
o mkdir
o rmdir
o copyfile
o sleep
o getos
o setenv
o getshortpathname (specific Windows)
o getlongpathname (specific Windows)
o toolbar (specific Windows)
o hidetoolbar (specific Windows)
o console (specific Windows)
o mcisendstring (specific Windows)
o banner
o winqueryreg (specific Windows)
o xls_open
o xls_read
o scicos_debug_count
2005-09-07 12:48:47 +02:00
|
|
|
cd ${WRKSRC}/examples && \
|
Update to scilab-2.6
Thanks to the scilab folks at INRIA for helping us get rid of 9 more patches!
From the CHANGES file:
Main Changes Scilab 2.5 -> 2.6
==============================
NEW FUNCTIONALITIES
===================
Automatic graphic rescaling when combining 2D plots, axis handling
Isometric 3D plots. Thanks to Enrico Segre
3D plots shading. Thanks to Stephane MOTTELET
Error messages handling
Grep function added
Modeless message box added
Profiling of functions execution added
Real time simulation in Scicos. Thanks to Anders Blomdell
Scicos diagram linearization and fixed point computation
OTHERS IMPROVEMENTS
===================
A more professional licence
Input/Output improved (carriage return at the end of the file are not
required anymore, OS independent ascii file input, handling of opened
files )
More complete mexlib for MatlabV mex interface.
Many bug corrected in integer types manipulation
API improved, many examples given
A better window management under KDE
A better plugin interface (help, demos,...) and new Scilab functions for
building and loading interfaces.
Interactive demos for ODE and DAE solving added
Scicos' GUI improved, customizable keyboard shortcuts added
Default list, tlist and mlist display can be overloaded
It is now possible to draw dashed lines in color. Background now work
with postscript driver. Easiest argument passing to plot2d, plot3d,...
GIF driver bugs fixed.
INCOMPATIBLITY
==============
help and scicos palettes handling have changed.
Fraclab toolbox has been moved to the contributions part and is no
more included in the package
The Communication Toolbox (geci) is now obsolete. It will be removed in
next release. Use PVM instead.
2001-04-08 18:25:27 +02:00
|
|
|
${MAKE_ENV} ${MAKE_PROGRAM} tests 2>&1 | \
|
update to scilab-3.0
Main Changes Scilab 2.7 -> 3.0
==============================
NEW FUNCTIONALITIES
===================
- continue instruction added
- [a(i,j),b(..),..]=foo(..) syntax is now handled
- arpack algorithms for sparse matrix eigenvalues/eigenvectors computation added
- Levenberg-Marquardt algorithm of Minpack used to define function lsqrsolve
- New graphics mode improved
- beta and legendre function added (thanks to B Pincon)
- Scicos has been extended to handle non causal systems description (supported by RNTL)
- Matlab to Scilab translator has been re-written, and extended to current Matlab syntax.
OTHERS IMPROVEMENTS
===================
- Better discontinuities handling in Scicos
- More efficient number parsing (thanks to B Pincon)
- More efficient 3D Zoom (thanks to E Segre)
- Improved scipad, shortcuts, language handling, colorization, bug fixes.. (thanks to E Segre)
- for loop variable is no more removed at the end of the loops
- figure sizes are now taken into account in Postscript export
- Windows GUI improved
- Graphic windows refresh improved under Windows
- Scilab has been adapated to IA64 architecture
- Helvetica (Arial on Windows) fonts added (corresponding font identifiers are
from 6 to 9) (thanks to B Pincon)
- N dimensionnal matrices efficiency improved (thanks to B Pincon)
- logical expressions shortcuts handled in if
- cd, ls, clc, clf, tohome functions added
- functions with no argument can be called without () if called as a command
2004-07-15 06:00:46 +02:00
|
|
|
${TEE} ${WRKDIR}/examples.log
|
1998-08-25 14:53:07 +02:00
|
|
|
|
2004-11-29 23:05:08 +01:00
|
|
|
# scilab wants ocamlopt so use the same list here as in the
|
|
|
|
# lang/ocaml package
|
|
|
|
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
|
|
|
|
(${MACHINE_ARCH} == "sparc")
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST.opt ${PKGDIR}/PLIST
|
|
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST
|
|
|
|
CONFIGURE_ARGS+= --without-ocaml
|
|
|
|
.endif
|
2004-03-11 00:41:44 +01:00
|
|
|
.include "../../parallel/pvm3/buildlink3.mk"
|
update to scilab-3.0
Main Changes Scilab 2.7 -> 3.0
==============================
NEW FUNCTIONALITIES
===================
- continue instruction added
- [a(i,j),b(..),..]=foo(..) syntax is now handled
- arpack algorithms for sparse matrix eigenvalues/eigenvectors computation added
- Levenberg-Marquardt algorithm of Minpack used to define function lsqrsolve
- New graphics mode improved
- beta and legendre function added (thanks to B Pincon)
- Scicos has been extended to handle non causal systems description (supported by RNTL)
- Matlab to Scilab translator has been re-written, and extended to current Matlab syntax.
OTHERS IMPROVEMENTS
===================
- Better discontinuities handling in Scicos
- More efficient number parsing (thanks to B Pincon)
- More efficient 3D Zoom (thanks to E Segre)
- Improved scipad, shortcuts, language handling, colorization, bug fixes.. (thanks to E Segre)
- for loop variable is no more removed at the end of the loops
- figure sizes are now taken into account in Postscript export
- Windows GUI improved
- Graphic windows refresh improved under Windows
- Scilab has been adapated to IA64 architecture
- Helvetica (Arial on Windows) fonts added (corresponding font identifiers are
from 6 to 9) (thanks to B Pincon)
- N dimensionnal matrices efficiency improved (thanks to B Pincon)
- logical expressions shortcuts handled in if
- cd, ls, clc, clf, tohome functions added
- functions with no argument can be called without () if called as a command
2004-07-15 06:00:46 +02:00
|
|
|
.include "../../textproc/sablotron/buildlink3.mk"
|
2004-03-19 02:26:58 +01:00
|
|
|
.include "../../x11/tk/buildlink3.mk"
|
2005-09-09 20:30:01 +02:00
|
|
|
.include "../../x11/Xaw3d/buildlink3.mk"
|
1998-08-25 14:53:07 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|