summaryrefslogtreecommitdiff
path: root/devel/semi/options.mk
blob: 84d22ded6baddec12f6eadbc3445a32c24e38d02 (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
# $NetBSD: options.mk,v 1.4 2007/10/29 13:01:37 uebayasi 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)
.include "../../misc/bbdb/buildlink3.mk"
PLIST_SUBST+=	FOR_bbdb=
.else
PLIST_SUBST+=	FOR_bbdb="@comment "
.endif

.if !empty(PKG_OPTIONS:Mw3)
.include "../../www/w3/buildlink3.mk"
PLIST_SUBST+=	FOR_w3=
.else
PLIST_SUBST+=	FOR_w3="@comment "
.endif

# XXX inter-dependency!?!?!?
#.if !empty(PKG_OPTIONS:Mw3m)
#.include "../../www/emacs-w3m/buildlink3.mk"
#.endif