Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / audio / timidity / options.mk
blob5113f42e3650dd5c6188e47c102b0bfdb7c8dca8
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"
9 PLIST_VARS+= x11
11 .if !empty(PKG_OPTIONS:Mx11)
12 CONFIGURE_ARGS+= --enable-spectrogram
13 CONFIGURE_ARGS+= --enable-wrd
14 # For wrd
15 .include "../../graphics/png/buildlink3.mk"
17 PLIST.x11= yes
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
31 .endif
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
38 # font used by Xaw
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"
47 .endif
49 .else
50 CONFIGURE_ARGS+= --without-x
51 .endif