pkgsrc-wip/rlab/Makefile
Dieter Baron ae0366bf9c Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:02:09 +00:00

36 lines
926 B
Makefile

# $NetBSD: Makefile,v 1.5 2005/05/31 10:02:13 dillo 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
GNU_CONFIGURE= yes
USE_LANGUAGES= fortran c
PKG_OPTIONS_VAR= PKG_OPTIONS.rlab
PKG_SUPPORTED_OPTIONS= gnuplot plplot
PKG_SUGGESTED_OPTIONS= gnuplot
.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"