1 # $NetBSD: options.mk,v 1.1 2012/07/08 09:52:05 wiz Exp $
3 PKG_OPTIONS_VAR
= PKG_OPTIONS.timidity
4 PKG_SUPPORTED_OPTIONS
= x11 gtk
5 PKG_SUGGESTED_OPTIONS
= x11 gtk
7 .
include "../../mk/bsd.options.mk"
11 .if
!empty
(PKG_OPTIONS
:Mx11
)
12 CONFIGURE_ARGS
+= --enable-spectrogram
13 CONFIGURE_ARGS
+= --enable-wrd
15 .
include "../../graphics/png/buildlink3.mk"
19 .
include "../../mk/bsd.prefs.mk"
21 .if
!defined
(XAW_TYPE
)
22 WITH_XAWLIB
=--with-xawlib
=xaw
,xaw3d
,neXtaw
23 .elif
${XAW_TYPE} == "standard"
24 WITH_XAWLIB
=--with-xawlib
=xaw
,xaw3d
,neXtaw
25 .elif
${XAW_TYPE} == "3d"
26 WITH_XAWLIB
=--with-xawlib
=xaw3d
27 .elif
${XAW_TYPE} == "xpm"
28 WITH_XAWLIB
=--with-xawlib
=xaw3d
29 .elif
${XAW_TYPE} == "neXtaw"
30 WITH_XAWLIB
=--with-xawlib
=neXtaw
33 CONFIGURE_ARGS
+= --enable-xaw
--enable-xdnd
34 CONFIGURE_ARGS
+= --with-xaw-resource-prefix
="${PREFIX}/lib/X11/"
35 CONFIGURE_ARGS
+= ${WITH_XAWLIB}
37 # This lets the trace use non-core fonts, but this wouldn't match the core
39 #CONFIGURE_ARGS+= --enable-xft
41 .
include "../../mk/xaw.buildlink3.mk"
42 #.include "../../x11/libXft/buildlink3.mk"
44 .if
!empty
(PKG_OPTIONS
:Mgtk
)
45 CONFIGURE_ARGS
+= --enable-gtk
46 .
include "../../x11/gtk2/buildlink3.mk"
50 CONFIGURE_ARGS
+= --without-x