diff options
author | jtb <jtb@pkgsrc.org> | 2001-01-31 07:30:25 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-01-31 07:30:25 +0000 |
commit | 504be27e54c1e6c3e5bf5436d29aa3745e39c285 (patch) | |
tree | 890d5ebda45674c4ef0805bf013282a22b103e08 /math/rlab/Makefile | |
parent | 6accc2546260ac007ec58a9f0e1431330eed5e86 (diff) | |
download | pkgsrc-504be27e54c1e6c3e5bf5436d29aa3745e39c285.tar.gz |
Initial import of Rlab:
Interactive, interpreted scientific programming environment
Diffstat (limited to 'math/rlab/Makefile')
-rw-r--r-- | math/rlab/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/math/rlab/Makefile b/math/rlab/Makefile new file mode 100644 index 00000000000..2a07092f646 --- /dev/null +++ b/math/rlab/Makefile @@ -0,0 +1,43 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/01/31 07:30:25 jtb Exp $ + +DISTNAME= rlab-2.1.05 +CATEGORIES= math +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rlab/} + +MAINTAINER= jtb@netbsd.org +HOMEPAGE= http://rlab.sourceforge.net/ + +DEPENDS+= boehm-gc-[0-9]*:../../devel/boehm-gc +DEPENDS+= readline-[0-9]*:../../devel/readline +BUILD_DEPENDS+= autoconf:../../devel/autoconf + +GNU_CONFIGURE= YES +USE_FORTRAN= YES + +EVAL_PREFIX+= GC_PREFIX=boehm-gc +CONFIGURE_ARGS+= "--with-GC=${GC_PREFIX}" + +.include "../../mk/bsd.prefs.mk" + +RLAB_PLOT_PKG?= gnuplot +.if (${RLAB_PLOT_PKG} == "plplot") +DEPENDS+= plplot>=5.0.1:../../graphics/plplot +EVAL_PREFIX+= PLPLOT_PREFIX=plplot TCL_PREFIX=tcl TK_PREFIX=tk +CONFIGURE_ARGS+= "--with-tk=${TK_PREFIX}" +CONFIGURE_ARGS+= "--with-plplot=${PLPLOT_PREFIX}" +CONFIGURE_ARGS+= "--with-tcl=${TCL_PREFIX}" +PLIST_SRC+= ${PKGDIR}/PLIST.plplot +.elif (${RLAB_PLOT_PKG} == "plotmtv") +DEPENDS+= plotmtv-[0-9]*:../../graphics/plotmtv +CONFIGURE_ARGS+= "--with-plotmtv=yes" +PLIST_SRC+= ${PKGDIR}/PLIST.plotmtv +.else +DEPENDS+= gnuplot-[0-9]*:../../graphics/gnuplot +CONFIGURE_ARGS+= "--with-gnuplot=yes" +PLIST_SRC+= ${PKGDIR}/PLIST.gnuplot +.endif + +pre-configure: + (cd ${WRKSRC} && autoconf) + +.include "../../mk/bsd.pkg.mk" |