[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / cad / oct-wcalc

File: [cvs.NetBSD.org] / pkgsrc / cad / oct-wcalc / Attic / Makefile (download)

Revision 1.9, Fri Jul 30 10:36:23 2010 UTC (9 years, 2 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.8: +2 -2 lines

"fortran" -> "fortran77" except where it is clear that it isn't F77.
"fortran" is alias of "fortran77" for now, but it will change later.

# $NetBSD: Makefile,v 1.9 2010/07/30 10:36:23 asau Exp $
#

PKG_DESTDIR_SUPPORT=	user-destdir

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

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++ fortran77

.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"