Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / lang / elk / options.mk
blobf2bfa89d23e10b66d952214756ea3be3ac916160
1 # $NetBSD: options.mk,v 1.2 2007/08/17 22:27:15 joerg Exp $
3 # Global and legacy options
5 PKG_OPTIONS_VAR= PKG_OPTIONS.elk
6 PKG_SUPPORTED_OPTIONS= xaw motif
7 PKG_SUGGESTED_OPTIONS=
9 .include "../../mk/bsd.options.mk"
11 PLIST_VARS+= x11 xaw motif
13 ###
14 ### x11 support
15 ###
16 .if !empty(PKG_OPTIONS:Mxaw) || !empty(PKG_OPTIONS:Mmotif)
17 PLIST.x11= yes
18 . if !empty(PKG_OPTIONS:Mxaw)
19 PLIST.xaw= yes
20 CONFIGURE_ENV+= WITH_XAW="yes"
21 . include "../../mk/xaw.buildlink3.mk"
22 . else
23 CONFIGURE_ENV+= WITH_XAW="no"
24 . endif
25 . if !empty(PKG_OPTIONS:Mmotif)
26 . include "../../mk/motif.buildlink3.mk"
27 PLIST.motif= yes
28 . endif
29 .else
30 CONFIGURE_ARGS+= --without-x
31 .endif