Main Changes Scilab 2.6 -> 2.7 ============================== THANKS ====== Scilab group wants to thank the increasing number of people who have contributed to this new version of Scilab, with special mention to Anders Blomdell, Stephane Mottelet, Dan McMahill Ton van Overbeek, Bruno Pincon and Enrico Segre. NEW FUNCTIONALITIES =================== Slicot based control routines (www.win.tue.nl/wgs/slicot.html) have been introduced with a special attention to identification functions, lyapunov, sylvester and riccati equation solvers. Interface with TeXmacs (www.texmacs.org) a high level scientific text editor. The editor allows you to write structured documents via a wysiwyg interface including Scilab sessions and results. An embedded text editor scipad derived from TkNotepad (www.mindspring.com/~joeja/programs.html) as been developped. C Code generation from Scicos discrete models Blocks defining DAE are now usable in Scicos. Statistic toolbox added (labostat). A new graphics version based on objects and entities has been developped (beta version). It allows to edit the properties of graphics objects. By default, the old graphics version is used. Tu use the new graphics version see the help of "graphics_entities". OTHERS IMPROVEMENTS =================== Linear algebra primitives now based on Lapack instead of Linpack/Eispack. Basic functions revised (thanks to B Pincon). stacksize use is no more restricted. Hypertext, xml based, online help. Binary Matlab file .mat loader (loadmatfile) added. Possibility to customize graphics window event handlers (seteventhandler). edit_graph, a graph editor for Metanet toolbox, written in Scilab, replaces xmetanet. It works on both Unix and Windows. INCOMPATIBLITIES ================ It is higly recommended to rebuild user's scilab functions libraries. This can be done as follow: predef(0);genlib('mylib','mylib_path',%t) gschur and gspec functions are now obsolete and replaced by schur and spec. Geci and the communication library have been removed. Use PVM interface instead. Metanet graph editor has been rewritten. Use edit_graph instead. man pages have to be written in HTML or better in XML but chapters written in the old ascii files are still handled. Scicos internal data structure have been changed. Automatic translation is made when old diagrams are loaded.
75 lines
2.5 KiB
Makefile
75 lines
2.5 KiB
Makefile
# $NetBSD: Makefile,v 1.33 2003/02/22 04:31:03 dmcmahill Exp $
|
|
#
|
|
|
|
DISTNAME= ${SCIBASE}.src
|
|
PKGNAME= ${SCIBASE}
|
|
SCIBASE= scilab-2.7
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:.src=}
|
|
CATEGORIES= math
|
|
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/distributions/
|
|
|
|
MAINTAINER= dmcmahill@netbsd.org
|
|
HOMEPAGE= http://www-rocq.inria.fr/scilab/
|
|
COMMENT= High-level scientific math programming environment with graphics
|
|
|
|
#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_BUILDLINK2= yes
|
|
USE_FORTRAN= yes
|
|
USE_X11BASE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --without-xaw3d
|
|
CONFIGURE_ARGS+= --with-tcl-library=${BUILDLINK_DIR}/lib
|
|
CONFIGURE_ARGS+= --with-tcl-include=${BUILDLINK_DIR}/include
|
|
CONFIGURE_ARGS+= --with-tk-library=${BUILDLINK_DIR}/lib
|
|
CONFIGURE_ARGS+= --with-tk-include=${BUILDLINK_DIR}/include
|
|
|
|
# override HOME to avoid picking up a bad ${HOME}/.scilab during the build
|
|
MAKE_ENV+= HOME=${WRKSRC}
|
|
MAKE_ENV+= PVM_ROOT=${PVM_ROOT}
|
|
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
|
|
|
|
PVM_ROOT?= ${LOCALBASE}/pvm3
|
|
CONFIGURE_ENV+= PVM_ROOT=${PVM_ROOT}
|
|
CONFIGURE_ENV+= X11BASE=${X11BASE}
|
|
PLIST_SUBST+= SCIBASE=${SCIBASE}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if (${MACHINE_ARCH} == "alpha")
|
|
pre-fetch:
|
|
@${ECHO} "===> Checking if you have working FPC"
|
|
@${MKDIR} ${WRKDIR}
|
|
${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
|
|
|
|
.if ${MACHINE_ARCH} == "arm32"
|
|
.include "../../lang/gcc/buildlink2.mk"
|
|
.endif
|
|
|
|
# the "SCI=0 && unset SCI" is done because some of the tests really will
|
|
# fail if SCI is set to anything.
|
|
test: build
|
|
SCI=0 && unset SCI && cd ${WRKSRC}/tests && \
|
|
${MAKE_ENV} ${MAKE_PROGRAM} tests 2>&1 | \
|
|
tee ${WRKDIR}/tests.log
|
|
SCI=0 && unset SCI && cd ${WRKSRC}/examples && \
|
|
${MAKE_ENV} ${MAKE_PROGRAM} tests 2>&1 | \
|
|
tee ${WRKDIR}/examples.log
|
|
|
|
.include "../../parallel/pvm3/buildlink2.mk"
|
|
.include "../../x11/tk/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|