summaryrefslogtreecommitdiff
path: root/audio/libopus/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-01-05 19:56:50 +0000
committerwiz <wiz@pkgsrc.org>2014-01-05 19:56:50 +0000
commit067ec4201ff069e95c5ff9d64b84bc3fa89c06d3 (patch)
tree0feeff7707651332de0664d36ad858e8c69d6384 /audio/libopus/options.mk
parentffb05f764f8ed54357dfe05849bfcf0fbcf305ed (diff)
downloadpkgsrc-067ec4201ff069e95c5ff9d64b84bc3fa89c06d3.tar.gz
Add gmake build dependency.
Add doc option to enable building documentation, defaulting to off. Bump PKGREVISION, even though package didn't package before except if you had doxygen installed.
Diffstat (limited to 'audio/libopus/options.mk')
-rw-r--r--audio/libopus/options.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/libopus/options.mk b/audio/libopus/options.mk
new file mode 100644
index 00000000000..5e87417b504
--- /dev/null
+++ b/audio/libopus/options.mk
@@ -0,0 +1,15 @@
+# $NetBSD: options.mk,v 1.1 2014/01/05 19:56:50 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.opus
+PKG_SUPPORTED_OPTIONS= doc
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= doc
+
+.if !empty(PKG_OPTIONS:Mdoc)
+BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
+PLIST.doc= yes
+.else
+CONFIGURE_ARGS+= --disable-doc
+.endif