summaryrefslogtreecommitdiff
path: root/www/ocsigen/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'www/ocsigen/options.mk')
-rw-r--r--www/ocsigen/options.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/www/ocsigen/options.mk b/www/ocsigen/options.mk
new file mode 100644
index 00000000000..3645899ca0d
--- /dev/null
+++ b/www/ocsigen/options.mk
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1.1.1 2007/04/10 20:24:43 tonio Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.ocsigen
+PKG_SUPPORTED_OPTIONS= ocamlduce
+
+.include "../../mk/bsd.prefs.mk"
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mocamlduce)
+DEPENDS+= ocamlduce>=3.09.3:../../lang/ocamlduce
+CONFIGURE_ARGS+= --enable-ocamlduce
+PLIST_SRC+= PLIST.ocamlduce
+.else
+CONFIGURE_ARGS+= --disable-ocamlduce
+.endif
+PLIST_SRC+= PLIST