summaryrefslogtreecommitdiff
path: root/cad/oct-wcalc/Makefile
blob: 5b53752c45f38d069939f92b6f51fac9be510eb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $NetBSD: Makefile,v 1.3 2006/02/05 23:08:22 joerg Exp $
#

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

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"