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

View file

@ -1,2 +1,2 @@
MD5 (scilab-3.0.src.tar.gz) = d6fc5fe12519f99ccdd492c4ba96935a
SIZE (scilab-3.0.src.tar.gz) = 10988126
MD5 (scilab-3.1.1-src.tar.gz) = 8bd6e750681fc6b2f524b46876dc0887
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.new Sat Jul 24 10:50:09 2004
@@ -190,7 +190,7 @@
@STRIP@ $(SCIDIR)/bin/scilex; \
(cd tests; make distclean); \
(cd examples; make distclean); \
- (cd .. ; tar cf - $(BINDISTFILES) @PVMINST@ | (cd ${LIBPREFIX}; tar xf -)); \
+ (cd .. ; for file in $(BINDISTFILES) @PVMINST@; do tar cf - $${file} | (cd ${LIBPREFIX}; tar xf -); done); \
(cd ${LIBPREFIX}/$(SCIBASE); make); \
$(RM) .binary; \
--- Makefile.in.orig Fri Jun 3 18:28:51 2005
+++ Makefile.in Fri Jun 3 18:27:33 2005
@@ -263,7 +263,7 @@
install:
@if test `pwd`/.. != $(PREFIX)/lib ; then \
install -d $(PREFIX)/lib/$(SCIBASE); \
- ( tar cf - $(INSTBINDISTFILES) @PVMINST1@ | (cd $(PREFIX)/lib/$(SCIBASE) ; tar xf -)); \
+ ( for file in $(INSTBINDISTFILES) @PVMINST1@; do tar cf - $${file} | (cd $(PREFIX)/lib/$(SCIBASE); tar xf -); done); \
(cd $(PREFIX)/lib/$(SCIBASE);touch .binary; make postinstall PREFIX=$(PREFIX) ) \
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 Sun Jan 16 14:45:09 2005
@@ -21087,12 +21087,12 @@
--- configure.orig Wed May 25 17:00:45 2005
+++ configure Sat Jun 4 21:48:15 2005
@@ -21331,12 +21331,12 @@
# FreeBSD systems (not supported by INRIA)
*-*-freebsd*)
GCC=yes
- CC=cc
- CC=gcc
+ CC=$CC
CC_OPTIONS="${CFLAGS} -Dfreebsd"
CC_LDFLAGS=-lm
@ -15,21 +15,22 @@
FC_OPTIONS="${CFLAGS} -Dfreebsd"
FC_OPTIONS_O0='-Dfreebsd'
FC_LDFLAGS='-lm -Wl,--export-dynamic'
@@ -21106,7 +21106,7 @@
fi
if test "$WITH_G77" = yes; then
# On FreeBSD the gnu fortran compiler is named f77
- FC=f77
+ FC=$F77
fi
DLDLIB='${SCIDIR}/libs/libdld.a'
DLD_SUBDIR=dld
@@ -26503,7 +26503,7 @@
@@ -24208,7 +24208,8 @@
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include <X11/IntrinsicP.h> #include <X11/Xaw3d/ViewportP.h>
+#include <X11/IntrinsicP.h>
+#include <X11/Xaw3d/ViewportP.h>
int
main ()
{
@@ -26321,7 +26322,7 @@
;;
esac
-GETLIBTK=libtk$TK_MAJOR_VERSION.$TK_MINOR_VERSION.so
+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.$SONAME
case "$host" in
*-*-darwin*)

File diff suppressed because it is too large Load diff