summaryrefslogtreecommitdiff
path: root/www/ocsigen/options.mk
diff options
context:
space:
mode:
authortonio <tonio>2007-04-10 20:24:43 +0000
committertonio <tonio>2007-04-10 20:24:43 +0000
commit826e28b7f7f3c0e06aa9aa7fd79ebd2269116c81 (patch)
tree4b33b4892cf7c0274dd345b5fb4a3f94f6293019 /www/ocsigen/options.mk
parent928138d0a24c1022c693046a3dfede5019f9f531 (diff)
downloadpkgsrc-826e28b7f7f3c0e06aa9aa7fd79ebd2269116c81.tar.gz
Added www/ocsigen from PR 36103 by Jaap Boender
Ocsigen is a web programming framework for OCaml. It can be used as a web server, serving static pages, but it is also possible to implement entire web sites as OCaml modules. WWW: http://www.ocsigen.org/
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