2001-02-17 18:52:59 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2001/02/17 18:22:42 wiz Exp $
|
1998-08-25 14:53:07 +02:00
|
|
|
#
|
1999-03-05 12:22:34 +01:00
|
|
|
# IMPORTANT: Before upgrading this package, please read files/README.next_rev!
|
1998-08-25 14:53:07 +02:00
|
|
|
|
1999-12-22 14:25:39 +01:00
|
|
|
DISTNAME= scilab-2.5-src
|
|
|
|
PKGNAME= scilab-2.5
|
1998-11-13 02:25:12 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}
|
1998-08-25 14:53:07 +02:00
|
|
|
CATEGORIES= math
|
1999-03-05 12:22:34 +01:00
|
|
|
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/distributions/
|
1998-08-25 14:53:07 +02:00
|
|
|
|
1999-11-23 17:12:39 +01:00
|
|
|
MAINTAINER= dmcmahill@netbsd.org
|
1998-08-25 14:53:07 +02:00
|
|
|
HOMEPAGE= http://www-rocq.inria.fr/scilab/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= High-level scientific math programming environment with graphics
|
1998-08-25 14:53:07 +02:00
|
|
|
|
1999-11-23 17:42:01 +01:00
|
|
|
DEPENDS+= xless-*:../../x11/xless
|
2000-08-23 16:31:47 +02:00
|
|
|
DEPENDS+= pvm-3.4.3:../../parallel/pvm3
|
1998-08-25 14:53:07 +02:00
|
|
|
|
2000-08-17 23:52:06 +02:00
|
|
|
RESTRICTED= "no paid distribution of SCILAB"
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
1998-11-13 02:25:12 +01:00
|
|
|
|
1999-11-23 17:12:39 +01:00
|
|
|
USE_FORTRAN= yes
|
2000-08-17 03:47:49 +02:00
|
|
|
USE_LIBTOOL= yes
|
1999-04-28 01:56:21 +02:00
|
|
|
USE_X11BASE= yes
|
1999-03-05 12:22:34 +01:00
|
|
|
USE_X11= yes
|
1998-08-25 14:53:07 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2000-07-11 03:46:30 +02:00
|
|
|
CONFIGURE_ARGS+= --without-xless --with-xaw
|
1999-12-22 17:15:45 +01:00
|
|
|
#override HOME to avoid picking up a bad ${HOME}/.scilab during the build
|
1998-08-25 14:53:07 +02:00
|
|
|
MAKE_ENV+= HOME=${WRKSRC}
|
1999-03-05 12:22:34 +01:00
|
|
|
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
|
1999-12-22 17:15:45 +01:00
|
|
|
PVM_ROOT?= ${LOCALBASE}/pvm3
|
|
|
|
CONFIGURE_ENV+= PVM_ROOT=${PVM_ROOT}
|
1999-03-05 12:22:34 +01:00
|
|
|
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 \
|
1999-12-22 14:25:39 +01:00
|
|
|
${RM} ${WRKSRC}/scilab.star ; \
|
|
|
|
${CP} ${WRKSRC}/scilab.star.orig ${WRKSRC}/scilab.star ; \
|
1999-03-05 12:22:34 +01:00
|
|
|
fi
|
1998-08-25 14:53:07 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|