2001-03-29 23:19:39 +02:00
|
|
|
# $NetBSD: Makefile,v 1.3 2001/03/29 21:19:39 wennmach Exp $
|
2001-03-27 14:06:55 +02:00
|
|
|
|
|
|
|
DISTNAME= octave-2.1.33
|
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ftp://ftp.che.wisc.edu/pub/octave/bleeding-edge/ \
|
|
|
|
ftp://ftp.math.uni-hamburg.de/pub/soft/math/octave/bleeding-edge/ \
|
|
|
|
ftp://ftp.eos.hokudai.ac.jp/pub/GNU/misc/octave/bleeding-edge/ \
|
|
|
|
ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/bleeding-edge/ \
|
|
|
|
ftp://ftp.task.gda.pl/pub/software/octave/bleeding-edge/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
|
|
HOMEPAGE= http://www.che.wisc.edu/octave/
|
2001-03-27 22:15:02 +02:00
|
|
|
COMMENT= High-level language, primarily intended for numerical computations
|
2001-03-27 14:06:55 +02:00
|
|
|
|
2001-03-29 23:19:39 +02:00
|
|
|
BUILD_DEPENDS+= teTeX>=1.0.7:../../print/teTeX
|
2001-03-27 14:06:55 +02:00
|
|
|
DEPENDS+= gnuplot>=3.7:../../graphics/gnuplot
|
|
|
|
DEPENDS+= readline>=4.0:../../devel/readline
|
|
|
|
|
2001-03-29 23:19:39 +02:00
|
|
|
CONFLICTS+= octave-2.0.*
|
2001-03-27 14:06:55 +02:00
|
|
|
|
|
|
|
USE_X11= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GTEXINFO= yes
|
|
|
|
CONFIGURE_ARGS+=--with-g77 --enable-shared --enable-rpath
|
|
|
|
CONFIGURE_ARGS+=-prefix=${PREFIX}
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= FFLAGS="${CFLAGS}" OBJECT_FMT="${OBJECT_FMT}"
|
|
|
|
LDFLAGS+= -L${PREFIX}/lib
|
|
|
|
LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig
|
|
|
|
|
|
|
|
INFO_FILES= octave.info liboctave.info
|
|
|
|
LIBOCTAVE_INFO= liboctave.info liboctave.info-1 \
|
|
|
|
liboctave.info-2 liboctave.info-3
|
2001-03-27 22:15:02 +02:00
|
|
|
OCTAVE_DOC= faq/Octave-FAQ.ps interpreter/octave.ps \
|
|
|
|
liboctave/liboctave.ps refcard/refcard-a4.ps \
|
|
|
|
refcard/refcard-legal.ps refcard/refcard-letter.ps
|
|
|
|
OCTAVE_HTML= faq/Octave-FAQ_toc.html interpreter/octave_*.html \
|
2001-03-29 23:19:39 +02:00
|
|
|
liboctave/liboctave_*.html
|
2001-03-27 14:06:55 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for file in ${LIBOCTAVE_INFO}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/liboctave/${file} ${PREFIX}/info
|
|
|
|
.endfor
|
2001-03-27 22:15:02 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/octave
|
2001-03-27 14:06:55 +02:00
|
|
|
.for file in ${OCTAVE_DOC}
|
2001-03-27 22:15:02 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/octave
|
|
|
|
.endfor
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/html/octave
|
|
|
|
.for file in ${OCTAVE_HTML}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/html/octave
|
2001-03-27 14:06:55 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <../../mk/bsd.pkg.mk>
|