summaryrefslogtreecommitdiff
path: root/devel/semi/options.mk
blob: 9f19709cde5140b6c345552941d65e1b017fd1da (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
# $NetBSD: options.mk,v 1.3 2006/07/24 17:17:18 wiz Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.semi
PKG_SUPPORTED_OPTIONS=	semi-bbdb
PKG_OPTIONS_OPTIONAL_GROUPS=	semi-browser
PKG_OPTIONS_GROUP.semi-browser=	w3 w3m
PKG_SUGGESTED_OPTIONS=

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Msemi-bbdb)
DEPENDS+=	bbdb-[0-9]*:../../misc/bbdb
PLIST_SUBST+=	FOR_bbdb=
.else
PLIST_SUBST+=	FOR_bbdb="@comment "
.endif

.if !empty(PKG_OPTIONS:Mw3)
DEPENDS+=	w3-[0-9]*:../../www/w3
PLIST_SUBST+=	FOR_w3=
.else
PLIST_SUBST+=	FOR_w3="@comment "
.endif

.if !empty(PKG_OPTIONS:Mw3m)
DEPENDS+=	w3m-[0-9]*:../../www/emacs-w3m
.endif