pkgsrc/cad/wcalc/Makefile
rillig f921d4e920 cad/*: let pkglint fix indentation, variable alignment, and LOCALBASE
pkglint -Wall -r -F cad

Manually fixed the indentation in cad/ghdl/Makefile because SITES.* was
(by the current definition) not long enough to count as an outlier line,
and because of this, all other lines were aligned to that line.
2019-06-08 11:04:27 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2019/06/08 11:04:30 rillig Exp $
#
META_PACKAGE= # empty
.include "../../cad/wcalc/Makefile.common"
PKGREVISION= 3
COMMENT= Meta-pkg for the Wcalc Transmission Line Analysis/Synthesis Calculator
VER= ${DISTNAME:S/wcalc-//}
DEPENDS+= libwcalc-${VER}{,nb*}:../../cad/libwcalc
DEPENDS+= cgi-wcalc-${VER}{,nb*}:../../cad/cgi-wcalc
DEPENDS+= sci-wcalc-${VER}{,nb*}:../../cad/sci-wcalc
DEPENDS+= stdio-wcalc-${VER}{,nb*}:../../cad/stdio-wcalc
DEPENDS+= wcalc-docs-${VER}{,nb*}:../../cad/wcalc-docs
PKG_OPTIONS_VAR= PKG_OPTIONS.wcalc
PKG_SUPPORTED_OPTIONS= mex wcalc-gtk1
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmex-gtk1)
DEPENDS+= gtk1-wcalc-${VER}*:../../cad/gtk1-wcalc
.else
DEPENDS+= gtk2-wcalc-${VER}*:../../cad/gtk2-wcalc
.endif
.if !empty(PKG_OPTIONS:Mmex)
# mex-wcalc needs a matlab installation. In addition, mex-wcalc
# will not currently build correctly if you are using a
# non-native matlab (i.e. linux or solaris matlab on NetBSD)
ONLY_FOR_PLATFORM= Linux-*-i386 SunOS-*-sparc*
DEPENDS+= mex-wcalc-${VER}*:../../cad/mex-wcalc
.endif
.include "../../mk/bsd.pkg.mk"