summaryrefslogtreecommitdiff
path: root/graphics/pornview/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pornview/options.mk')
-rw-r--r--graphics/pornview/options.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/pornview/options.mk b/graphics/pornview/options.mk
new file mode 100644
index 00000000000..edc373ffade
--- /dev/null
+++ b/graphics/pornview/options.mk
@@ -0,0 +1,23 @@
+# $NetBSD: options.mk,v 1.1.1.1 2006/02/11 13:06:43 rillig Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.pornview
+PKG_SUPPORTED_OPTIONS= exif
+PKG_OPTIONS_OPTIONAL_GROUPS= movie
+PKG_OPTIONS_GROUP.movie= mplayer xine
+PKG_SUGGESTED_OPTIONS= exif
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mexif)
+CONFIGURE_ARGS+= --enable-exif
+.else
+CONFIGURE_ARGS+= --disable-exif
+.endif
+
+.if !empty(PKG_OPTIONS:Mmplayer)
+DEPENDS+= mplayer>=1.0rc3:../../multimedia/mplayer
+CONFIGURE_ARGS+= --enable-mplayer
+.elif !empty(PKG_OPTIONS:Mxine)
+. include "../../multimedia/xine-lib/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-xine
+.endif