File:
[cvs.NetBSD.org] /
pkgsrc /
math /
octave /
octave.mk
Revision
1.5:
download - view:
text,
annotated -
select for diffs
Mon Jul 10 22:59:26 2006 UTC (18 years, 5 months ago) by
jlam
Branches:
MAIN
CVS tags:
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
pkgsrc-2006Q4-base,
pkgsrc-2006Q4,
pkgsrc-2006Q3-base,
pkgsrc-2006Q3,
HEAD
Completely nuke the concept of PKG_PHASE from pkgsrc except for the
purposes of caching MAKEVARS within bsd.pkg.mk and bsd.makevars.mk.
# $NetBSD: octave.mk,v 1.5 2006/07/10 22:59:26 jlam Exp $
.include "../../mk/bsd.prefs.mk"
OCTAVE_CONFIG= ${LOCALBASE}/bin/octave-config
# OCTAVE_VARS is a list of variables to define in the make environment.
# This may be overridden in an octave add-on package Makefile.
OCTAVE_VARS?= LOCALVERFCNFILEDIR LOCALVEROCTFILEDIR LOCALVERARCHLIBDIR VERSION
# Set OCT_<var> to the value of <var> as returned by octave-config.
.if exists(${OCTAVE_CONFIG})
. for _var_ in ${OCTAVE_VARS}
. if !defined(OCT_${_var_})
OCT_${_var_}!= ${OCTAVE_CONFIG} -p ${_var_}
. endif
. endfor
.endif
CVSweb <webmaster@jp.NetBSD.org>