Upgrade to 3.1.1.

Note: gcc-3.2 is still needed on FreeBSD > 5.3; without it Scilab hangs
on floating point computations.

PR:		ports/81885
Submitted by:	maintainer
This commit is contained in:
Thierry Thomas 2005-06-05 10:23:48 +00:00
parent e1cd5f0cc4
commit 324973bb90
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136808
5 changed files with 1158 additions and 2744 deletions

View file

@ -6,11 +6,10 @@
# #
PORTNAME= scilab PORTNAME= scilab
PORTVERSION= 3.0 PORTVERSION= 3.1.1
PORTREVISION= 1
CATEGORIES= math cad parallel CATEGORIES= math cad parallel
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Scilab/distributions/ MASTER_SITES= http://scilabsoft.inria.fr/download/stable/
EXTRACT_SUFX= .src.tar.gz EXTRACT_SUFX= -src.tar.gz
MAINTAINER= js@jeannot.org MAINTAINER= js@jeannot.org
COMMENT= A free Matlab clone by INRIA & ENPC COMMENT= A free Matlab clone by INRIA & ENPC
@ -42,12 +41,13 @@ CONFIGURE_ARGS= --with-tk \
--x-include=${X11BASE}/include \ --x-include=${X11BASE}/include \
--x-libraries=${X11BASE}/lib \ --x-libraries=${X11BASE}/lib \
--with-atlas-library=${LOCALBASE}/lib \ --with-atlas-library=${LOCALBASE}/lib \
--without-java \
--without-ocaml --without-ocaml
CONFIGURE_ENV= PVM_ROOT=${PVM_ROOT} X11BASE=${X11BASE} F77=$(F77) CONFIGURE_ENV= PVM_ROOT=${PVM_ROOT} X11BASE=${X11BASE} F77=${F77}
MAKE_ENV= PVM_INCLUDE=${LOCALBASE}/include MAKE_ENV= PVM_INCLUDE=${LOCALBASE}/include
PLIST_SUB= PORTVERSION="${PORTVERSION}" PLIST_SUB= PORTVERSION="${PORTVERSION}" DOCSDIR="share/doc/scilab-${PORTVERSION}"
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>

View file

@ -1,2 +1,2 @@
MD5 (scilab-3.0.src.tar.gz) = d6fc5fe12519f99ccdd492c4ba96935a MD5 (scilab-3.1.1-src.tar.gz) = 8bd6e750681fc6b2f524b46876dc0887
SIZE (scilab-3.0.src.tar.gz) = 10988126 SIZE (scilab-3.1.1-src.tar.gz) = 14261772

View file

@ -1,11 +1,32 @@
--- Makefile.in Tue Jul 6 16:12:37 2004 --- Makefile.in.orig Fri Jun 3 18:28:51 2005
+++ Makefile.in.new Sat Jul 24 10:50:09 2004 +++ Makefile.in Fri Jun 3 18:27:33 2005
@@ -190,7 +190,7 @@ @@ -263,7 +263,7 @@
@STRIP@ $(SCIDIR)/bin/scilex; \ install:
(cd tests; make distclean); \ @if test `pwd`/.. != $(PREFIX)/lib ; then \
(cd examples; make distclean); \ install -d $(PREFIX)/lib/$(SCIBASE); \
- (cd .. ; tar cf - $(BINDISTFILES) @PVMINST@ | (cd ${LIBPREFIX}; tar xf -)); \ - ( tar cf - $(INSTBINDISTFILES) @PVMINST1@ | (cd $(PREFIX)/lib/$(SCIBASE) ; tar xf -)); \
+ (cd .. ; for file in $(BINDISTFILES) @PVMINST@; do tar cf - $${file} | (cd ${LIBPREFIX}; tar xf -); done); \ + ( for file in $(INSTBINDISTFILES) @PVMINST1@; do tar cf - $${file} | (cd $(PREFIX)/lib/$(SCIBASE); tar xf -); done); \
(cd ${LIBPREFIX}/$(SCIBASE); make); \ (cd $(PREFIX)/lib/$(SCIBASE);touch .binary; make postinstall PREFIX=$(PREFIX) ) \
$(RM) .binary; \
fi fi
install -d $(PREFIX)/share/doc/$(DOCNAME)/
@@ -272,9 +272,9 @@
install -d $(PREFIX)/bin
$(RM) $(PREFIX)/bin/scilab
ln -fs $(PREFIX)/lib/$(SCIBASE)/bin/scilab $(PREFIX)/bin/scilab
- $(RM) $(PREFIX)$/bin/intersciXXX
+ $(RM) $(PREFIX)/bin/intersci
ln -fs $(PREFIX)/lib/$(SCIBASE)/bin/intersci $(PREFIX)/bin/intersci
- $(RM) $(PREFIX)$/bin/intersci-n
+ $(RM) $(PREFIX)/bin/intersci-n
ln -fs $(PREFIX)/lib/$(SCIBASE)/bin/intersci-n $(PREFIX)/bin/intersci-n
# DESTDIR is the final destination of the file
@@ -293,7 +293,7 @@
@$(RM) -f -r contrib
@mkdir contrib
@mv contrib-loader.sce contrib/loader.sce
- @$(RM) man/*/*/*.xml
+ @find man -name "*.xml" -print0 | xargs -0 $(RM)
@@STRIP@ bin/scilex;
uninstall:

View file

@ -1,10 +1,10 @@
--- configure.orig Fri Jul 9 10:28:05 2004 --- configure.orig Wed May 25 17:00:45 2005
+++ configure Sun Jan 16 14:45:09 2005 +++ configure Sat Jun 4 21:48:15 2005
@@ -21087,12 +21087,12 @@ @@ -21331,12 +21331,12 @@
# FreeBSD systems (not supported by INRIA) # FreeBSD systems (not supported by INRIA)
*-*-freebsd*) *-*-freebsd*)
GCC=yes GCC=yes
- CC=cc - CC=gcc
+ CC=$CC + CC=$CC
CC_OPTIONS="${CFLAGS} -Dfreebsd" CC_OPTIONS="${CFLAGS} -Dfreebsd"
CC_LDFLAGS=-lm CC_LDFLAGS=-lm
@ -15,21 +15,22 @@
FC_OPTIONS="${CFLAGS} -Dfreebsd" FC_OPTIONS="${CFLAGS} -Dfreebsd"
FC_OPTIONS_O0='-Dfreebsd' FC_OPTIONS_O0='-Dfreebsd'
FC_LDFLAGS='-lm -Wl,--export-dynamic' FC_LDFLAGS='-lm -Wl,--export-dynamic'
@@ -21106,7 +21106,7 @@ @@ -24208,7 +24208,8 @@
fi cat confdefs.h >>conftest.$ac_ext
if test "$WITH_G77" = yes; then cat >>conftest.$ac_ext <<_ACEOF
# On FreeBSD the gnu fortran compiler is named f77 /* end confdefs.h. */
- FC=f77 -#include <X11/IntrinsicP.h> #include <X11/Xaw3d/ViewportP.h>
+ FC=$F77 +#include <X11/IntrinsicP.h>
fi +#include <X11/Xaw3d/ViewportP.h>
DLDLIB='${SCIDIR}/libs/libdld.a' int
DLD_SUBDIR=dld main ()
@@ -26503,7 +26503,7 @@ {
@@ -26321,7 +26322,7 @@
;; ;;
esac esac
-GETLIBTK=libtk$TK_MAJOR_VERSION.$TK_MINOR_VERSION.so -GETLIBTK=libtk$TK_MAJOR_VERSION.$TK_MINOR_VERSION.$SONAME
+GETLIBTK=libtk$TK_MAJOR_VERSION$TK_MINOR_VERSION.so +GETLIBTK=libtk$TK_MAJOR_VERSION$TK_MINOR_VERSION.$SONAME
case "$host" in case "$host" in
*-*-darwin*) *-*-darwin*)

File diff suppressed because it is too large Load diff