pkgsrc/wm/fvwm/options.mk
jlam b5a8d62c8c + 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.
2008-04-10 21:30:44 +00:00

21 lines
498 B
Makefile

# $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