summaryrefslogtreecommitdiff
path: root/math/scilab/Makefile
blob: 067d8b5b0140b6a79ec28ab08615f037809b92a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $NetBSD: Makefile,v 1.3 1998/11/13 01:25:12 frueauf Exp $
#

DISTNAME=	scilab-2.4-src
PKGNAME=	scilab-2.4
WRKSRC=		${WRKDIR}/${PKGNAME}
CATEGORIES=	math
MASTER_SITES=	ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/

MAINTAINER=	mcmahill@alum.mit.edu
HOMEPAGE=	http://www-rocq.inria.fr/scilab/

DEPENDS+=	f2c-19980516p1:../../lang/f2c
DEPENDS+=	xless-1.7:../../x11/xless

NOT_FOR_ARCHS=	alpha #LP64 problems

USE_X11=	yes
GNU_CONFIGURE=	yes

PLIST_SRC=	${WRKDIR}/PLIST-src

MAKE_ENV+=	HOME=${WRKSRC}

post-install:
	@bigopsys=`${ECHO} ${OPSYS} | {TR} '[a-z]' '[A-Z]'`;	\
	bigarch=`${ECHO} ${MACHINE_ARCH} | {TR} '[a-z]' '[A-Z]'`;	\
	${SED} -e 's|\$${OPSYS}|'$$bigopsys'|g' 		\
		-e 's|\$${MACHINE_ARCH}|'$$bigarch'|g'		\
		${PKGDIR}/PLIST > ${PLIST_SRC}
	@${ECHO} "******************************************************************************"
	@${ECHO} 0 - COPYRIGHT NOTICE
	@${ECHO}
	@${ECHO} To use Scilab, you need to fill and return the end of the file notice.tex
	@${ECHO} "or notice.ps (postscript file). You may email to Scilab@inria.fr."
	@${ECHO} "These files are in ${PREFIX}/share/scilab-2.4/"
	@${ECHO} "******************************************************************************"

.include "../../mk/bsd.pkg.mk"