summaryrefslogtreecommitdiff
path: root/math/scilab/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2005-09-07 10:48:47 +0000
committerdmcmahill <dmcmahill>2005-09-07 10:48:47 +0000
commit6db097034afb3c75ebd044885706bda95bde145d (patch)
treeb92ded35f4a118b3a87492da012759d981abc013 /math/scilab/Makefile
parent57f9b8eb006e7e4daf99e2dcdcb378e1869480a6 (diff)
downloadpkgsrc-6db097034afb3c75ebd044885706bda95bde145d.tar.gz
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
Diffstat (limited to 'math/scilab/Makefile')
-rw-r--r--math/scilab/Makefile24
1 files changed, 16 insertions, 8 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index 5977ae7a1f1..27cf0d2d5ad 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -1,24 +1,23 @@
-# $NetBSD: Makefile,v 1.63 2005/07/15 18:27:52 jlam Exp $
+# $NetBSD: Makefile,v 1.64 2005/09/07 10:48:47 dmcmahill Exp $
#
-DISTNAME= ${SCIBASE}.src
+DISTNAME= ${SCIBASE}-src
PKGNAME= ${SCIBASE}
-PKGREVISION= 3
CATEGORIES= math
-MASTER_SITES= ftp://ftp.inria.fr/INRIA/Scilab/distributions/
+MASTER_SITES= http://scilabsoft.inria.fr/download/stable/
MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://www.scilab.org/
COMMENT= High-level scientific math programming environment with graphics
-SCIBASE= scilab-3.0
+SCIBASE= scilab-3.1.1
WRKSRC= ${WRKDIR}/${SCIBASE}
#needs FPC code not found in older versions of NetBSD
NOT_FOR_PLATFORM= NetBSD-1.[0-4]*-alpha NetBSD-1.5-alpha \
NetBSD-1.5.*-alpha NetBSD-1.5[A-U]-alpha
-USE_LANGUAGES= fortran
+USE_LANGUAGES= c fortran
USE_X11BASE= yes
USE_LIBTOOL= yes
USE_TOOLS+= tee
@@ -71,6 +70,14 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
# cd ${WRKSRC}/macros/${f} && ${EXTRACT_CMD}
#.endfor
+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
+
+
# 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:
@@ -98,11 +105,12 @@ GCC_REQD+= 2.95.3
# the "SCI=0 && unset SCI" is done because some of the tests really will
# fail if SCI is set to anything.
+MAKE_ENV+= SCI=${WRKSRC}
do-test:
- SCI=0 && unset SCI && cd ${WRKSRC}/tests && \
+ cd ${WRKSRC}/tests && \
${MAKE_ENV} ${MAKE_PROGRAM} tests 2>&1 | \
${TEE} ${WRKDIR}/tests.log
- SCI=0 && unset SCI && cd ${WRKSRC}/examples && \
+ cd ${WRKSRC}/examples && \
${MAKE_ENV} ${MAKE_PROGRAM} tests 2>&1 | \
${TEE} ${WRKDIR}/examples.log