diff options
author | wiz <wiz@pkgsrc.org> | 2012-07-08 09:52:05 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-07-08 09:52:05 +0000 |
commit | ec818b26a6c9abfbf31a4af180a1f50f59190315 (patch) | |
tree | 4cfaf1cfd76a366714ebb01a1d12d6316dc75060 /audio/timidity/options.mk | |
parent | 07fcf2945b8f76257f36472897066fe4c4da3a6b (diff) | |
download | pkgsrc-ec818b26a6c9abfbf31a4af180a1f50f59190315.tar.gz |
Another missing file for 2.14.0 update.
Diffstat (limited to 'audio/timidity/options.mk')
-rw-r--r-- | audio/timidity/options.mk | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/audio/timidity/options.mk b/audio/timidity/options.mk new file mode 100644 index 00000000000..ce061fb3f8e --- /dev/null +++ b/audio/timidity/options.mk @@ -0,0 +1,46 @@ +# $NetBSD: options.mk,v 1.1 2012/07/08 09:52:05 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.timidity +PKG_SUPPORTED_OPTIONS= x11 gtk +PKG_SUGGESTED_OPTIONS= x11 gtk + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= x11 + +.if !empty(PKG_OPTIONS:Mx11) +CONFIGURE_ARGS+= --enable-spectrogram +CONFIGURE_ARGS+= --enable-wrd +# For wrd +.include "../../graphics/png/buildlink3.mk" + +PLIST.x11= yes + +.include "../../mk/bsd.prefs.mk" + +.if !defined(XAW_TYPE) +WITH_XAWLIB=--with-xawlib=xaw,xaw3d,neXtaw +.elif ${XAW_TYPE} == "standard" +WITH_XAWLIB=--with-xawlib=xaw,xaw3d,neXtaw +.elif ${XAW_TYPE} == "3d" +WITH_XAWLIB=--with-xawlib=xaw3d +.elif ${XAW_TYPE} == "xpm" +WITH_XAWLIB=--with-xawlib=xaw3d +.elif ${XAW_TYPE} == "neXtaw" +WITH_XAWLIB=--with-xawlib=neXtaw +.endif + +CONFIGURE_ARGS+= --enable-xaw --enable-xdnd --with-xaw-resource-prefix="${PREFIX}/lib/X11/" ${WITH_XAWLIB} +#CONFIGURE_ARGS+= --enable-xft + +.include "../../mk/xaw.buildlink3.mk" +#.include "../../x11/libXft/buildlink3.mk" + +.if !empty(PKG_OPTIONS:Mgtk) +CONFIGURE_ARGS+= --enable-gtk +.include "../../x11/gtk2/buildlink3.mk" +.endif + +.else +CONFIGURE_ARGS+= --without-x +.endif |