Annotation of pkgsrc/math/scilab/Makefile, Revision 1.6
1.6 ! frueauf 1: # $NetBSD$
1.1 agc 2: #
1.6 ! frueauf 3: # IMPORTANT: Before upgrading this package, please read files/README.next_rev!
1.1 agc 4:
1.6 ! frueauf 5: DISTNAME= scilab-2.4.1-src
! 6: PKGNAME= scilab-2.4.1
1.3 frueauf 7: WRKSRC= ${WRKDIR}/${PKGNAME}
1.1 agc 8: CATEGORIES= math
1.6 ! frueauf 9: MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/distributions/
1.2 garbled 10:
1.1 agc 11: MAINTAINER= mcmahill@alum.mit.edu
12: HOMEPAGE= http://www-rocq.inria.fr/scilab/
13:
1.6 ! frueauf 14: .if !exists(/usr/bin/fort77)
1.4 frueauf 15: DEPENDS+= f2c-19980913:../../lang/f2c
1.6 ! frueauf 16: .endif
1.1 agc 17: DEPENDS+= xless-1.7:../../x11/xless
1.6 ! frueauf 18: DEPENDS+= pvm-3.4.7:../../parallel/pvm3
1.1 agc 19:
1.6 ! frueauf 20: NO_CDROM= "no paid distribution of SCILAB"
! 21: RESTRICTED= "no paid distribution of SCILAB"
1.3 frueauf 22:
1.6 ! frueauf 23: USE_X11= yes
1.1 agc 24: GNU_CONFIGURE= yes
25:
1.6 ! frueauf 26: MAKE_ENV+= HOME=${WRKSRC}
! 27: CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
! 28: CONFIGURE_ENV+= X11BASE=${X11BASE}
1.1 agc 29:
1.6 ! frueauf 30: pre-fetch:
! 31: @if [ ${MACHINE_ARCH} = "alpha" ]; then \
! 32: ${ECHO} "Although Scilab will build and run on the alpha, it sometimes" ; \
! 33: ${ECHO} "experiences floating point exceptions. This problem is being" ; \
! 34: ${ECHO} "worked on and will be fixed as soon as possible. However, the" ; \
! 35: ${ECHO} "program is still usable for many things." ; \
! 36: fi
! 37:
! 38: post-patch:
! 39: @if [ ${MACHINE_ARCH} != "alpha" ]; then \
! 40: ${MV} ${WRKSRC}/scilab.star.orig ${WRKSRC}/scilab.star ; \
! 41: fi
1.1 agc 42:
43: post-install:
44: @${ECHO} "******************************************************************************"
1.6 ! frueauf 45: @${ECHO} "0 - COPYRIGHT NOTICE"
! 46: @${ECHO} " "
! 47: @${ECHO} "To use Scilab, you need to fill and return the end of the file notice.tex"
1.1 agc 48: @${ECHO} "or notice.ps (postscript file). You may email to Scilab@inria.fr."
1.6 ! frueauf 49: @${ECHO} "These files are in ${PREFIX}/share/scilab-2.4.1/"
1.1 agc 50: @${ECHO} "******************************************************************************"
51:
52: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>