pkgsrc/math/scilab/Makefile

51 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.21 2001/02/17 18:22:42 wiz Exp $
#
# IMPORTANT: Before upgrading this package, please read files/README.next_rev!
Update the package from scilab-2.4.1 to scilab-2.5. Many thanks to the authors at Inria who, through their willingness to accept feedback, have helped me remove 39 patches! Changes to scilab include (from scilab-2.5/CHANGES): NEW FUNCTIONALITIES =================== Global variables have been introduced New graphic mode has been added to allow scrollbar handling (panner for X Window and scrollbars for Windows). GIF export format is now available for Scilab graphic windows. Keyboard events and window closing within graphical windows can now be captured. Scicos graphical user interface has been made more intuitive and keyboard shortcuts have been added. Scilab Binary files created by "save" are now system-independent so they can be exchanged. In particular (compiled macros) *.bin files and *.cos (scicos diagrams) can be exchanged. It is now possible to dynamically link C++ procedures with Scilab. A new data type "mlist" has been added. A new function "genlib" allows users to compile the .sci files in a given directory, generate associated library and load it. This function is particularly useful under windows if VC++ is not available. C formatted input output functions (printf, scanf, ..) have been interfaced to scilab. OTHERS IMPROVEMENTS =================== Efficiency has been improved using reference argument passing when possible instead of value passing. Hypermatrix opreations have been accelerated. On X Window systems 3D Athena Widgets are preferably used instead of standard Athena Widgets for a better look. The "Matlab 4" to Scilab translator has been completed and considerably improved. NEW TOOLBOXES ============= True integer data types (1,2 and 4 bytes) with associated operations and some functions acting on them have been added. A library of procedures has been added to allow the use of Matlab mex-files under Scilab. PORTS ===== Scilab has been successfully compiled with Windows ABSOFT development environment. INCOMPATIBILITIES ================= New Scilab "save"d files cannot be loaded by earlier Scilab versions. A new function "oldsave" has been added to save in old format. Scilab help mechanism has changed. The $MANCHAPTERS/Chapter is no more used, instead a Scilab variable "helps" is used.
1999-12-22 14:25:39 +01:00
DISTNAME= scilab-2.5-src
PKGNAME= scilab-2.5
WRKSRC= ${WRKDIR}/${PKGNAME}
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
DEPENDS+= xless-*:../../x11/xless
2000-08-23 16:31:47 +02:00
DEPENDS+= pvm-3.4.3:../../parallel/pvm3
RESTRICTED= "no paid distribution of SCILAB"
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
USE_FORTRAN= yes
2000-08-17 03:47:49 +02:00
USE_LIBTOOL= yes
USE_X11BASE= yes
USE_X11= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-xless --with-xaw
#override HOME to avoid picking up a bad ${HOME}/.scilab during the build
MAKE_ENV+= HOME=${WRKSRC}
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
PVM_ROOT?= ${LOCALBASE}/pvm3
CONFIGURE_ENV+= PVM_ROOT=${PVM_ROOT}
CONFIGURE_ENV+= X11BASE=${X11BASE}
pre-fetch:
@if [ ${MACHINE_ARCH} = "alpha" ]; then \
${ECHO} "Although Scilab will build and run on the alpha, it sometimes" ; \
${ECHO} "experiences floating point exceptions. This problem is being" ; \
${ECHO} "worked on and will be fixed as soon as possible. However, the" ; \
${ECHO} "program is still usable for many things." ; \
fi
post-patch:
@if [ ${MACHINE_ARCH} != "alpha" ]; then \
Update the package from scilab-2.4.1 to scilab-2.5. Many thanks to the authors at Inria who, through their willingness to accept feedback, have helped me remove 39 patches! Changes to scilab include (from scilab-2.5/CHANGES): NEW FUNCTIONALITIES =================== Global variables have been introduced New graphic mode has been added to allow scrollbar handling (panner for X Window and scrollbars for Windows). GIF export format is now available for Scilab graphic windows. Keyboard events and window closing within graphical windows can now be captured. Scicos graphical user interface has been made more intuitive and keyboard shortcuts have been added. Scilab Binary files created by "save" are now system-independent so they can be exchanged. In particular (compiled macros) *.bin files and *.cos (scicos diagrams) can be exchanged. It is now possible to dynamically link C++ procedures with Scilab. A new data type "mlist" has been added. A new function "genlib" allows users to compile the .sci files in a given directory, generate associated library and load it. This function is particularly useful under windows if VC++ is not available. C formatted input output functions (printf, scanf, ..) have been interfaced to scilab. OTHERS IMPROVEMENTS =================== Efficiency has been improved using reference argument passing when possible instead of value passing. Hypermatrix opreations have been accelerated. On X Window systems 3D Athena Widgets are preferably used instead of standard Athena Widgets for a better look. The "Matlab 4" to Scilab translator has been completed and considerably improved. NEW TOOLBOXES ============= True integer data types (1,2 and 4 bytes) with associated operations and some functions acting on them have been added. A library of procedures has been added to allow the use of Matlab mex-files under Scilab. PORTS ===== Scilab has been successfully compiled with Windows ABSOFT development environment. INCOMPATIBILITIES ================= New Scilab "save"d files cannot be loaded by earlier Scilab versions. A new function "oldsave" has been added to save in old format. Scilab help mechanism has changed. The $MANCHAPTERS/Chapter is no more used, instead a Scilab variable "helps" is used.
1999-12-22 14:25:39 +01:00
${RM} ${WRKSRC}/scilab.star ; \
${CP} ${WRKSRC}/scilab.star.orig ${WRKSRC}/scilab.star ; \
fi
.include "../../mk/bsd.pkg.mk"