summaryrefslogtreecommitdiff
path: root/multimedia/smpeg/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/smpeg/options.mk')
-rw-r--r--multimedia/smpeg/options.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/multimedia/smpeg/options.mk b/multimedia/smpeg/options.mk
index 0809af00571..68bd85bb2e5 100644
--- a/multimedia/smpeg/options.mk
+++ b/multimedia/smpeg/options.mk
@@ -1,24 +1,24 @@
-# $NetBSD: options.mk,v 1.2 2005/11/04 17:22:08 rillig Exp $
+# $NetBSD: options.mk,v 1.3 2008/04/12 22:43:07 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.smpeg
PKG_SUPPORTED_OPTIONS= gtk-player opengl-player
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= gtk opengl
+
.if !empty(PKG_OPTIONS:Mgtk-player)
-PLIST_SUBST+= GTK_PLAYER=
+PLIST.gtk= yes
CONFIGURE_ARGS+= --enable-gtk-player
. include "../../x11/gtk/buildlink3.mk"
.else
-PLIST_SUBST+= GTK_PLAYER="@comment "
CONFIGURE_ARGS+= --disable-gtk-player --disable-gtk-test
.endif
.if !empty(PKG_OPTIONS:Mopengl-player)
-PLIST_SUBST+= OPENGL_PLAYER=
+PLIST.opengl= yes
CONFIGURE_ARGS+= --enable-opengl-player
. include "../../graphics/glu/buildlink3.mk"
.else
-PLIST_SUBST+= OPENGL_PLAYER="@comment "
CONFIGURE_ARGS+= --disable-opengl-player
.endif