ae9b935fd0
then automatically generate a PLIST that says "${PKGNAME} has no files". * If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile, and no PLIST files exist, then fail during the package build with PKG_FAIL_REASON. * Remove "intentionally empty" PLISTs again. Now, the easy way to say that a package installs no files is to just add the following to the package Makefile: PLIST_SRC= # empty
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2007/10/25 22:00:40 jlam Exp $
|
|
#
|
|
|
|
.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
|
|
|
|
EXTRACT_ONLY= # none
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
PLIST_SRC= # empty (meta-package)
|
|
|
|
do-patch: # empty
|
|
do-install: # empty
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|