summaryrefslogtreecommitdiff
path: root/math/tela/Makefile
blob: 2b66cac1fcff04f6006977cc8b57c4b1769deb20 (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
# $NetBSD: Makefile,v 1.13 2003/06/02 01:18:21 jschauma Exp $

DISTNAME=		tela-1.34
CATEGORIES=		math
MASTER_SITES=		ftp://ftp.funet.fi/pub/sci/math/tela/ \
			ftp://sumppu.fmi.fi/pub/tela/

MAINTAINER=		tech-pkg@netbsd.org
HOMEPAGE=		http://www.geo.fmi.fi/prog/tela_00.html
COMMENT=		Tensor Language - a programming language for scientific computing

DEPENDS+=		plotmtv-[0-9]*:../../graphics/plotmtv

GNU_CONFIGURE=		# defined
USE_FORTRAN=		# defined
USE_X11=		# defined
USE_BUILDLINK2=		# defined

INSTALL_TARGET= 	install installdocs

CONFIGURE_ENV+=		INSTALLATION_PREFIX=${PREFIX}/share/tela
CONFIGURE_ENV+=		ARCHDEP_INSTALLATION_PREFIX=${PREFIX}/lib/tela

pre-configure:
	@for f in ${WRKSRC}/t/demo.t ${WRKSRC}/t/docview.t	\
	${WRKSRC}/t/std.t; do					\
		${SED} -e 's:@PREFIX@:'${PREFIX}':g'		\
		$$f > $$f.tmp && ${MV} -f $$f.tmp $$f;		\
	done

.include "../../math/lapack/buildlink2.mk"
.include "../../math/blas/buildlink2.mk"
.include "../../devel/readline/buildlink2.mk"
.include "../../devel/hdf/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"