blob: ceba687becd42a4f5aee527af617a9b64094b2e8 (
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
40
41
42
43
44
45
46
47
|
# $NetBSD: Makefile,v 1.3 1998/11/26 00:01:32 tron Exp $
# FreeBSD Id: Makefile,v 1.18 1998/09/27 20:10:45 steve Exp
DISTNAME= octave-2.0.13
CATEGORIES= math
MASTER_SITES= ftp://ftp.che.wisc.edu/pub/octave/ \
ftp://ftp.math.uni-hamburg.de/pub/soft/math/octave/ \
ftp://ftp.eos.hokudai.ac.jp/pub/GNU/misc/octave/ \
ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/ \
ftp://ftp.task.gda.pl/pub/software/octave/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.che.wisc.edu/octave/
BUILD_DEPENDS+= tex:../../print/teTeX
BUILD_DEPENDS+= dvips:../../print/teTeX
DEPENDS+= ncurses-1.9.9g:../../devel/ncurses
DEPENDS+= f2c-19980516p1:../../lang/f2c
DEPENDS+= gnuplot-3.5:../../graphics/gnuplot
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_GMAKE= yes
CONFIGURE_ARGS+= --with-f2c
CONFIGURE_ENV+= CPPFLAGS=-I${WRKDIR}/include
LDFLAGS+= -L${PREFIX}/lib
INFO_FILES= liboctave.info octave.info
LIBOCTAVE_INFO= liboctave.info liboctave.info-1 liboctave.info-2 liboctave.info-3
post-extract:
${MKDIR} ${WRKDIR}/include
${LN} -s ${PREFIX}/include/ncurses.h ${WRKDIR}/include
post-install:
${MKDIR} ${PREFIX}/share/octave/2.0.13/doc
.for file in ${LIBOCTAVE_INFO}
${INSTALL_DATA} ${WRKSRC}/doc/liboctave/${file} ${PREFIX}/info
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/interpreter/octave.ps ${PREFIX}/share/octave/2.0.13/doc
${INSTALL_DATA} ${WRKSRC}/doc/liboctave/liboctave.ps ${PREFIX}/share/octave/2.0.13/doc
${INSTALL_DATA} ${WRKSRC}/doc/refcard/refcard-letter.ps ${PREFIX}/share/octave/2.0.13/doc
${INSTALL_DATA} ${WRKSRC}/doc/refcard/refcard-legal.ps ${PREFIX}/share/octave/2.0.13/doc
${INSTALL_DATA} ${WRKSRC}/doc/refcard/refcard-a4.ps ${PREFIX}/share/octave/2.0.13/doc
${INSTALL_DATA} ${WRKSRC}/doc/faq/Octave-FAQ.ps ${PREFIX}/share/octave/2.0.13/doc
.include <../../mk/bsd.pkg.mk>
|