summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2008-04-11 14:41:27 +0000
committeragc <agc@pkgsrc.org>2008-04-11 14:41:27 +0000
commitccd66c6df99acde07a37839c0a3254169254e891 (patch)
treef82b2c73171b2192bec750337160ecc82ed42aa8 /multimedia
parent96baf186d888c1f1b42f52c3e4e6afaf613c7e94 (diff)
downloadpkgsrc-ccd66c6df99acde07a37839c0a3254169254e891.tar.gz
Add a javascript option to mediatomb (via pkgsrc/lang/spidermonkey).
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mediatomb/Makefile4
-rw-r--r--multimedia/mediatomb/options.mk14
2 files changed, 17 insertions, 1 deletions
diff --git a/multimedia/mediatomb/Makefile b/multimedia/mediatomb/Makefile
index 1124d2e8a1d..84ec88880a1 100644
--- a/multimedia/mediatomb/Makefile
+++ b/multimedia/mediatomb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/04/11 09:29:19 agc Exp $
+# $NetBSD: Makefile,v 1.3 2008/04/11 14:41:27 agc Exp $
DISTNAME= mediatomb-0.11.0
CATEGORIES= multimedia
@@ -15,6 +15,8 @@ USE_TOOLS+= pkg-config
PREFER.bind= pkgsrc # we need the package for the lwres lib
+.include "options.mk"
+
.include "../../audio/taglib/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
diff --git a/multimedia/mediatomb/options.mk b/multimedia/mediatomb/options.mk
new file mode 100644
index 00000000000..d89e9bd021a
--- /dev/null
+++ b/multimedia/mediatomb/options.mk
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2008/04/11 14:41:27 agc Exp $
+#
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.mediatomb
+
+PKG_SUPPORTED_OPTIONS= javascript
+
+PKG_SUGGESTED_OPTIONS= javascript
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mjavascript)
+.include "../../lang/spidermonkey/buildlink3.mk"
+.endif