pkgsrc/math/scilab/Makefile

48 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.10 1999/10/20 13:16:57 dmcmahill Exp $
#
# IMPORTANT: Before upgrading this package, please read files/README.next_rev!
DISTNAME= scilab-2.4.1-src
PKGNAME= scilab-2.4.1
WRKSRC= ${WRKDIR}/${PKGNAME}
CATEGORIES= math
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/distributions/
MAINTAINER= mcmahill@alum.mit.edu
HOMEPAGE= http://www-rocq.inria.fr/scilab/
1999-01-14 14:57:04 +01:00
DEPENDS+= f2c-19980913:../../lang/f2c
DEPENDS+= xless-1.7:../../x11/xless
DEPENDS+= pvm-3.4.7:../../parallel/pvm3
NO_CDROM= "no paid distribution of SCILAB"
RESTRICTED= "no paid distribution of SCILAB"
1999-04-17 00:53:51 +02:00
PLIST_SRC= ${WRKDIR}/.PLIST-src
USE_X11BASE= yes
USE_X11= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-f2c
MAKE_ENV+= HOME=${WRKSRC}
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
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:
1999-04-17 00:53:51 +02:00
@${SED} -e 's|@localbase@|'${LOCALBASE}'|g' \
-e 's|@x11base@|'${X11BASE}'|g' < ${PKGDIR}/PLIST > ${PLIST_SRC}
@if [ ${MACHINE_ARCH} != "alpha" ]; then \
1999-04-17 00:53:51 +02:00
${MV} ${WRKSRC}/scilab.star.orig ${WRKSRC}/scilab.star ; \
fi
.include "../../mk/bsd.pkg.mk"