diff options
Diffstat (limited to 'graphics/pornview/options.mk')
-rw-r--r-- | graphics/pornview/options.mk | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/graphics/pornview/options.mk b/graphics/pornview/options.mk index edc373ffade..513768f1caf 100644 --- a/graphics/pornview/options.mk +++ b/graphics/pornview/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.1.1.1 2006/02/11 13:06:43 rillig Exp $ +# $NetBSD: options.mk,v 1.2 2006/02/13 15:23:03 rillig Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.pornview -PKG_SUPPORTED_OPTIONS= exif +PKG_SUPPORTED_OPTIONS= exif gtk1 PKG_OPTIONS_OPTIONAL_GROUPS= movie PKG_OPTIONS_GROUP.movie= mplayer xine PKG_SUGGESTED_OPTIONS= exif @@ -14,6 +14,17 @@ CONFIGURE_ARGS+= --enable-exif CONFIGURE_ARGS+= --disable-exif .endif +.if !empty(PKG_OPTIONS:Mgtk1) +CONFIGURE_ARGS+= --without-gtk2 +. include "../../graphics/gdk-pixbuf/buildlink3.mk" +. include "../../x11/gtk/buildlink3.mk" +.else +CONFIURE_ARGS+= --with-gtk2 +USE_TOOLS+= pkg-config +. include "../../devel/glib2/buildlink3.mk" +. include "../../x11/gtk2/buildlink3.mk" +.endif + .if !empty(PKG_OPTIONS:Mmplayer) DEPENDS+= mplayer>=1.0rc3:../../multimedia/mplayer CONFIGURE_ARGS+= --enable-mplayer |