diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-10 21:30:44 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-10 21:30:44 +0000 |
commit | b5a8d62c8c2873210e45adde9ae3eace67ad3ff5 (patch) | |
tree | 09e0c331a9b9a1f5999279c3b2ff5acad4dd1b89 /wm/fvwm/options.mk | |
parent | 2ef6f9a883a9c2fa44045b5fdfa13dfe143ced4e (diff) | |
download | pkgsrc-b5a8d62c8c2873210e45adde9ae3eace67ad3ff5.tar.gz |
+ Use the options framework instead of using FVWM_USE_* variables.
+ Convert to use PLIST_VARS instead of manually passing "@comment "
to the plist module.
Bump the PKGREVISION to 2 due to the options changes.
Diffstat (limited to 'wm/fvwm/options.mk')
-rw-r--r-- | wm/fvwm/options.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/wm/fvwm/options.mk b/wm/fvwm/options.mk new file mode 100644 index 00000000000..2cdef51a61f --- /dev/null +++ b/wm/fvwm/options.mk @@ -0,0 +1,21 @@ +# $NetBSD: options.mk,v 1.1 2008/04/10 21:30:44 jlam Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.fvwm +PKG_SUPPORTED_OPTIONS= gtk rplay +PKG_OPTIONS_LEGACY_VARS+= FVWM2_USE_GTK:gtk +PKG_OPTIONS_LEGACY_VARS+= FVWM2_USE_RPLAY:rplay + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= gtk + +.if !empty(PKG_OPTIONS:Mgtk) +. include "../../x11/gtk/buildlink3.mk" +PLIST.gtk= yes +.else +CONFIGURE_ARGS+= --without-gtk-prefix +.endif + +.if !empty(PKG_OPTIONS:Mrplay) +. include "../../audio/rplay/buildlink3.mk" +.endif |