2006-08-16 22:14:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2006/08/16 20:14:48 dhowland Exp $
|
2005-02-11 14:10:37 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= rlab-2.1.05
|
2005-11-02 18:59:54 +01:00
|
|
|
CATEGORIES= math
|
2005-02-11 14:10:37 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rlab/}
|
|
|
|
|
|
|
|
MAINTAINER= Peter.Bex@student.kun.nl
|
|
|
|
HOMEPAGE= http://rlab.sourceforge.net/
|
|
|
|
COMMENT= Matlab-like scientific programming environment
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2005-03-29 13:11:12 +02:00
|
|
|
USE_LANGUAGES= fortran c
|
2005-02-11 14:10:37 +01:00
|
|
|
|
2005-05-31 12:02:09 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.rlab
|
|
|
|
PKG_SUPPORTED_OPTIONS= gnuplot plplot
|
|
|
|
PKG_SUGGESTED_OPTIONS= gnuplot
|
2005-02-11 14:10:37 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2006-08-16 22:14:48 +02:00
|
|
|
PLIST_SRC= # empty
|
|
|
|
|
2005-02-11 14:10:37 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mgnuplot)
|
2005-03-29 13:11:12 +02:00
|
|
|
DEPENDS+= gnuplot-[0-9]*:../../graphics/gnuplot
|
2005-02-11 14:10:37 +01:00
|
|
|
CONFIGURE_ARGS+= --with-gnuplot
|
2006-08-16 22:14:48 +02:00
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.gnuplot
|
2005-02-11 14:10:37 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mplplot)
|
|
|
|
. include "../../graphics/plplot/buildlink3.mk"
|
2005-03-29 13:11:12 +02:00
|
|
|
CONFIGURE_ARGS+= --with-plplot=${BUILDLINK_PREFIX.plplot}/lib
|
2006-08-16 22:14:48 +02:00
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.plplot
|
2005-02-11 14:10:37 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-LIBS=${PREFIX}/lib
|
2006-08-16 22:14:48 +02:00
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST
|
2005-02-11 14:10:37 +01:00
|
|
|
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|