File:  [cvs.NetBSD.org] / pkgsrc / cad / oct-wcalc / Attic / Makefile
Revision 1.5: download - view: text, annotated - select for diffs
Thu Feb 22 19:26:10 2007 UTC (17 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, cwrapper, cube-native-xorg-base, cube-native-xorg, HEAD
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.

# $NetBSD: Makefile,v 1.5 2007/02/22 19:26:10 wiz Exp $
#

.include "../../cad/wcalc/Makefile.common"
PKGNAME=	oct-${DISTNAME}
PKGREVISION=	2

COMMENT=	Octave Based Transmission Line Analysis/Synthesis Calculator

# Only enable the octave frontend
CONFIGURE_ARGS+=	--disable-cgi
CONFIGURE_ARGS+=	--disable-gtk1
CONFIGURE_ARGS+=	--disable-gtk2
CONFIGURE_ARGS+=	--disable-htdocs
CONFIGURE_ARGS+=	--disable-libwcalc
CONFIGURE_ARGS+=	--disable-stdio
CONFIGURE_ARGS+=	--without-matlab
CONFIGURE_ARGS+=	--with-octave
CONFIGURE_ARGS+=	--without-scilab

# This mirrors what octave-current/octave-forge use.
# The c++ code is from the mex wrappers created by
# the octave-forge mex script, not any c++ code
# explicitly present in wcalc.  The fortran part
# also comes from ocatve, not from wcalc.
GCC_REQD+=	3.0
USE_LANGUAGES=	c c++ fortran

.include "../../math/octave/octave.mk"

PLIST_SUBST+=	OCT_LOCALVERFCNFILEDIR=${OCT_LOCALVERFCNFILEDIR:S/${LOCALBASE}\///}
PLIST_SUBST+=	OCT_LOCALVEROCTFILEDIR=${OCT_LOCALVEROCTFILEDIR:S/${LOCALBASE}\///}

.include "../../cad/libwcalc/buildlink3.mk"
.include "../../math/octave/buildlink3.mk"
.include "../../math/octave-forge/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>