pkgsrc-wip/rlab/Makefile
2005-04-12 17:46:55 +00:00

39 lines
966 B
Makefile

# $NetBSD: Makefile,v 1.4 2005/04/12 17:46:55 airhead Exp $
#
DISTNAME= rlab-2.1.05
CATEGORIES= wip math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rlab/}
MAINTAINER= Peter.Bex@student.kun.nl
HOMEPAGE= http://rlab.sourceforge.net/
COMMENT= Matlab-like scientific programming environment
PKG_OPTIONS_VAR= PKG_OPTIONS.rlab
PKG_SUPPORTED_OPTIONS= gnuplot plplot
GNU_CONFIGURE= yes
USE_LANGUAGES= fortran c
.if !defined(PKG_OPTIONS.rlab)
PKG_DEFAULT_OPTIONS+= gnuplot
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgnuplot)
DEPENDS+= gnuplot-[0-9]*:../../graphics/gnuplot
CONFIGURE_ARGS+= --with-gnuplot
PLIST_SRC+= PLIST.gnuplot
.endif
.if !empty(PKG_OPTIONS:Mplplot)
. include "../../graphics/plplot/buildlink3.mk"
CONFIGURE_ARGS+= --with-plplot=${BUILDLINK_PREFIX.plplot}/lib
PLIST_SRC+= PLIST.plplot
.endif
CONFIGURE_ARGS+= --with-LIBS=${PREFIX}/lib
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"