summaryrefslogtreecommitdiff
path: root/audio/rhythmbox/options.mk
diff options
context:
space:
mode:
authorwiz <wiz>2009-05-26 20:26:58 +0000
committerwiz <wiz>2009-05-26 20:26:58 +0000
commitb6ee7da4af3cb13fb0e56e26fa6135690d98d1f0 (patch)
tree883156c09486aed5c7aa8403f6203790453b1c0e /audio/rhythmbox/options.mk
parenta77125997aa6e1a6af1215ef31231ef1f167ac5f (diff)
downloadpkgsrc-b6ee7da4af3cb13fb0e56e26fa6135690d98d1f0.tar.gz
Split off options into options.mk file.
Use standard name for option variable.
Diffstat (limited to 'audio/rhythmbox/options.mk')
-rw-r--r--audio/rhythmbox/options.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/audio/rhythmbox/options.mk b/audio/rhythmbox/options.mk
new file mode 100644
index 00000000000..f1a34537dab
--- /dev/null
+++ b/audio/rhythmbox/options.mk
@@ -0,0 +1,21 @@
+# $NetBSD: options.mk,v 1.1 2009/05/26 20:26:58 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.rhythmbox
+PKG_SUPPORTED_OPTIONS= hal
+PKG_SUGGESTED_OPTIONS= hal
+PLIST_VARS+= hal
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mhal)
+CONFIGURE_ARGS+= --with-ipod
+.include "../../audio/libgpod/buildlink3.mk"
+# needs a newer libmtp
+#CONFIGURE_ARGS+= --with-mtp
+#.include "../../devel/libmtp/buildlink3.mk"
+CONFIGURE_ARGS+= --with-hal
+PLIST.hal= yes
+.include "../../sysutils/hal/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-hal
+.endif