pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ocsigen Added www/ocsigen from PR 36103 by Jaap Bo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/deae427e0c7b
branches: trunk
changeset: 527578:deae427e0c7b
user: tonio <tonio%pkgsrc.org@localhost>
date: Tue Apr 10 20:24:43 2007 +0000
description:
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:
www/ocsigen/DESCR | 5 +
www/ocsigen/Makefile | 57 ++++++++++++++++
www/ocsigen/PLIST | 146 +++++++++++++++++++++++++++++++++++++++++++
www/ocsigen/PLIST.ocamlduce | 5 +
www/ocsigen/distinfo | 7 ++
www/ocsigen/options.mk | 17 +++++
www/ocsigen/patches/patch-aa | 111 ++++++++++++++++++++++++++++++++
www/ocsigen/patches/patch-ab | 75 ++++++++++++++++++++++
8 files changed, 423 insertions(+), 0 deletions(-)
diffs (truncated from 455 to 300 lines):
diff -r 5583ed7c20ab -r deae427e0c7b www/ocsigen/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ocsigen/DESCR Tue Apr 10 20:24:43 2007 +0000
@@ -0,0 +1,5 @@
+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
diff -r 5583ed7c20ab -r deae427e0c7b www/ocsigen/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ocsigen/Makefile Tue Apr 10 20:24:43 2007 +0000
@@ -0,0 +1,57 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/04/10 20:24:43 tonio Exp $
+#
+
+DISTNAME= ocsigen-0.6.0
+CATEGORIES= www
+MASTER_SITES= http://www.ocsigen.org/download/
+
+MAINTAINER= jaapb%kerguelen.org@localhost
+HOMEPAGE= http://www.ocsigen.org/
+COMMENT= Web programming framework for OCaml
+
+DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
+DEPENDS+= ocamlnet-[0-9]*:../../net/ocamlnet
+
+BUILD_DEFS+= VARBASE
+
+HAS_CONFIGURE= yes
+USE_LANGUAGES= c
+CONFIGURE_ARGS= --enable-bytecode \
+ --disable-newocamlnet \
+ --disable-debug \
+ --prefix ${PREFIX} \
+ --bindir bin \
+ --libdir share/examples \
+ --mandir ${PKGMANDIR}/man1 \
+ --docdir share/doc \
+ --sysconfdir ${PKG_SYSCONFDIR}/ocsigen \
+ --logdir ${VARBASE}/ocsigen \
+ --staticpagesdir share/ocsigen/www \
+ --uploaddir /tmp \
+ --ocsigen-user www \
+ --ocsigen-group www
+CONF_FILES+= ${PREFIX}/share/examples/ocsigen/ocsigen.conf \
+ ${PKG_SYSCONFDIR}/ocsigen/ocsigen.conf
+USE_TOOLS+= gmake
+BUILD_TARGET= all
+BUILDLINK_API_DEPENDS.ocaml+= ocaml>=3.09
+INSTALL_TARGET= fullinstall
+MAKE_ENV= EGDIR=${PREFIX}/share/examples/ocsigen
+
+PKG_USERS+= www
+PKG_GROUPS+= www
+OWN_DIRS+= ${VARBASE}/ocsigen
+OWN_DIRS_PERMS+= ${VARBASE}/ocsigen www www 0755
+
+post-extract:
+ rm ${WRKSRC}/baselib/ocsiconfig.ml
+
+pre-install:
+ mkdir -p ${PKG_SYSCONFDIR}/ocsigen
+
+.include "options.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../lang/ocaml/buildlink3.mk"
+.include "../../devel/pcre-ocaml/buildlink3.mk"
+.include "../../security/ocaml-ssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5583ed7c20ab -r deae427e0c7b www/ocsigen/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ocsigen/PLIST Tue Apr 10 20:24:43 2007 +0000
@@ -0,0 +1,146 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/04/10 20:24:43 tonio Exp $
+@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/ocsigen
+bin/ocsigen
+lib/ocaml/site-lib/ocsigen/META
+lib/ocaml/site-lib/ocsigen/lwt.cmi
+lib/ocaml/site-lib/ocsigen/lwt_unix.cmi
+lib/ocaml/site-lib/ocsigen/messages.cmi
+lib/ocaml/site-lib/ocsigen/monitoring.cmo
+lib/ocaml/site-lib/ocsigen/ocsigen.cmi
+lib/ocaml/site-lib/ocsigen/ocsigenboxes.cmi
+lib/ocaml/site-lib/ocsigen/ocsigenmod.cma
+lib/ocaml/site-lib/ocsigen/parseconfig.cmi
+lib/ocaml/site-lib/ocsigen/predefined_senders.cmi
+lib/ocaml/site-lib/ocsigen/preemptive.cmi
+lib/ocaml/site-lib/ocsigen/simplexmlparser.cmi
+lib/ocaml/site-lib/ocsigen/staticmod.cmi
+lib/ocaml/site-lib/ocsigen/staticmod.cmo
+lib/ocaml/site-lib/ocsigen/tutorial.cmi
+lib/ocaml/site-lib/ocsigen/tutorial.cmo
+lib/ocaml/site-lib/ocsigen/xHTML.cmi
+lib/ocaml/site-lib/ocsigen/xML.cmi
+lib/ocaml/site-lib/ocsigen/xhtml.cma
+lib/ocaml/site-lib/ocsigen/xhtmlsyntax.cma
+lib/ocaml/site-lib/ocsigen/xhtmltypes.cmi
+man/man1/ocsigen.1
+share/doc/ocsigen/lwt/Lwt.html
+share/doc/ocsigen/lwt/Lwt_unix.html
+share/doc/ocsigen/lwt/index.html
+share/doc/ocsigen/lwt/index_attributes.html
+share/doc/ocsigen/lwt/index_class_types.html
+share/doc/ocsigen/lwt/index_classes.html
+share/doc/ocsigen/lwt/index_exceptions.html
+share/doc/ocsigen/lwt/index_methods.html
+share/doc/ocsigen/lwt/index_module_types.html
+share/doc/ocsigen/lwt/index_modules.html
+share/doc/ocsigen/lwt/index_types.html
+share/doc/ocsigen/lwt/index_values.html
+share/doc/ocsigen/lwt/style.css
+share/doc/ocsigen/lwt/type_Lwt.html
+share/doc/ocsigen/lwt/type_Lwt_unix.html
+share/doc/ocsigen/oc/Extensions.html
+share/doc/ocsigen/oc/Messages.html
+share/doc/ocsigen/oc/Ocsigen.Make.html
+share/doc/ocsigen/oc/Ocsigen.OCSIGENSIG.html
+share/doc/ocsigen/oc/Ocsigen.PAGES.html
+share/doc/ocsigen/oc/Ocsigen.Text.html
+share/doc/ocsigen/oc/Ocsigen.Xhtml.html
+share/doc/ocsigen/oc/Ocsigen.html
+share/doc/ocsigen/oc/Ocsigenboxes.html
+share/doc/ocsigen/oc/Parseconfig.html
+share/doc/ocsigen/oc/Predefined_senders.html
+share/doc/ocsigen/oc/Simplexmlparser.ExprOrPatt.html
+share/doc/ocsigen/oc/Simplexmlparser.html
+share/doc/ocsigen/oc/XHTML.M.html
+share/doc/ocsigen/oc/XHTML.M_01_00.html
+share/doc/ocsigen/oc/XHTML.M_01_01.html
+share/doc/ocsigen/oc/XHTML.T.BASE.html
+share/doc/ocsigen/oc/XHTML.T.Basic_Forms.html
+share/doc/ocsigen/oc/XHTML.T.Basic_Tables.html
+share/doc/ocsigen/oc/XHTML.T.FORMS.html
+share/doc/ocsigen/oc/XHTML.T.HYPERTEXT.html
+share/doc/ocsigen/oc/XHTML.T.IMAGE.html
+share/doc/ocsigen/oc/XHTML.T.LINK.html
+share/doc/ocsigen/oc/XHTML.T.LIST.html
+share/doc/ocsigen/oc/XHTML.T.METAINFORMATION.html
+share/doc/ocsigen/oc/XHTML.T.PRESENTATION.html
+share/doc/ocsigen/oc/XHTML.T.SPECIAL.html
+share/doc/ocsigen/oc/XHTML.T.STRUCTURE.html
+share/doc/ocsigen/oc/XHTML.T.STYLE_SHEET.html
+share/doc/ocsigen/oc/XHTML.T.TABLES.html
+share/doc/ocsigen/oc/XHTML.T.TEXT.html
+share/doc/ocsigen/oc/XHTML.T.html
+share/doc/ocsigen/oc/XHTML.T_01_00.html
+share/doc/ocsigen/oc/XHTML.T_01_01.html
+share/doc/ocsigen/oc/XHTML.html
+share/doc/ocsigen/oc/code_VALMessages.access.html
+share/doc/ocsigen/oc/code_VALMessages.accesslog.html
+share/doc/ocsigen/oc/code_VALMessages.bip.html
+share/doc/ocsigen/oc/code_VALMessages.console.html
+share/doc/ocsigen/oc/code_VALMessages.debug.html
+share/doc/ocsigen/oc/code_VALMessages.debug_noel.html
+share/doc/ocsigen/oc/code_VALMessages.errlog.html
+share/doc/ocsigen/oc/code_VALMessages.error.html
+share/doc/ocsigen/oc/code_VALMessages.log_aux.html
+share/doc/ocsigen/oc/code_VALMessages.lwtbip.html
+share/doc/ocsigen/oc/code_VALMessages.open_files.html
+share/doc/ocsigen/oc/code_VALMessages.warning.html
+share/doc/ocsigen/oc/index.html
+share/doc/ocsigen/oc/index_attributes.html
+share/doc/ocsigen/oc/index_class_types.html
+share/doc/ocsigen/oc/index_classes.html
+share/doc/ocsigen/oc/index_exceptions.html
+share/doc/ocsigen/oc/index_methods.html
+share/doc/ocsigen/oc/index_module_types.html
+share/doc/ocsigen/oc/index_modules.html
+share/doc/ocsigen/oc/index_types.html
+share/doc/ocsigen/oc/index_values.html
+share/doc/ocsigen/oc/style.css
+share/doc/ocsigen/oc/type_Extensions.html
+share/doc/ocsigen/oc/type_Messages.html
+share/doc/ocsigen/oc/type_Ocsigen.Make.html
+share/doc/ocsigen/oc/type_Ocsigen.OCSIGENSIG.html
+share/doc/ocsigen/oc/type_Ocsigen.PAGES.html
+share/doc/ocsigen/oc/type_Ocsigen.Text.html
+share/doc/ocsigen/oc/type_Ocsigen.Xhtml.html
+share/doc/ocsigen/oc/type_Ocsigen.html
+share/doc/ocsigen/oc/type_Ocsigenboxes.html
+share/doc/ocsigen/oc/type_Parseconfig.html
+share/doc/ocsigen/oc/type_Predefined_senders.html
+share/doc/ocsigen/oc/type_Simplexmlparser.ExprOrPatt.html
+share/doc/ocsigen/oc/type_Simplexmlparser.html
+share/doc/ocsigen/oc/type_XHTML.M.html
+share/doc/ocsigen/oc/type_XHTML.M_01_00.html
+share/doc/ocsigen/oc/type_XHTML.M_01_01.html
+share/doc/ocsigen/oc/type_XHTML.T.BASE.html
+share/doc/ocsigen/oc/type_XHTML.T.Basic_Forms.html
+share/doc/ocsigen/oc/type_XHTML.T.Basic_Tables.html
+share/doc/ocsigen/oc/type_XHTML.T.FORMS.html
+share/doc/ocsigen/oc/type_XHTML.T.HYPERTEXT.html
+share/doc/ocsigen/oc/type_XHTML.T.IMAGE.html
+share/doc/ocsigen/oc/type_XHTML.T.LINK.html
+share/doc/ocsigen/oc/type_XHTML.T.LIST.html
+share/doc/ocsigen/oc/type_XHTML.T.METAINFORMATION.html
+share/doc/ocsigen/oc/type_XHTML.T.PRESENTATION.html
+share/doc/ocsigen/oc/type_XHTML.T.SPECIAL.html
+share/doc/ocsigen/oc/type_XHTML.T.STRUCTURE.html
+share/doc/ocsigen/oc/type_XHTML.T.STYLE_SHEET.html
+share/doc/ocsigen/oc/type_XHTML.T.TABLES.html
+share/doc/ocsigen/oc/type_XHTML.T.TEXT.html
+share/doc/ocsigen/oc/type_XHTML.T.html
+share/doc/ocsigen/oc/type_XHTML.T_01_00.html
+share/doc/ocsigen/oc/type_XHTML.T_01_01.html
+share/doc/ocsigen/oc/type_XHTML.html
+share/examples/ocsigen/mime.types
+share/examples/ocsigen/monitoring.cmo
+share/examples/ocsigen/ocsigen.conf
+share/examples/ocsigen/tutorial.cmi
+share/examples/ocsigen/tutorial.cmo
+@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/ocsigen
+@dirrm lib/ocaml/site-lib/ocsigen
+@dirrm share/doc/ocsigen/lwt
+@dirrm share/doc/ocsigen/oc
+@dirrm share/doc/ocsigen
+@dirrm share/examples/ocsigen
+@dirrm share/ocsigen/www
+@dirrm share/ocsigen
diff -r 5583ed7c20ab -r deae427e0c7b www/ocsigen/PLIST.ocamlduce
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ocsigen/PLIST.ocamlduce Tue Apr 10 20:24:43 2007 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST.ocamlduce,v 1.1.1.1 2007/04/10 20:24:43 tonio Exp $
+lib/ocaml/site-lib/ocsigen/ocsigenduce.cma
+lib/ocaml/site-lib/ocsigen/ocsigenduce.cmi
+lib/ocaml/site-lib/ocsigen/xhtml1_strict.cmi
+share/examples/ocsigen/exampleduce.cmo
diff -r 5583ed7c20ab -r deae427e0c7b www/ocsigen/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ocsigen/distinfo Tue Apr 10 20:24:43 2007 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/04/10 20:24:43 tonio Exp $
+
+SHA1 (ocsigen-0.6.0.tar.gz) = f1be751468325dc322d11454e92b0cdc1165a0aa
+RMD160 (ocsigen-0.6.0.tar.gz) = 2b6b9d4dbcebfc2fa2f160a0cf5d246f3cc02635
+Size (ocsigen-0.6.0.tar.gz) = 984754 bytes
+SHA1 (patch-aa) = a6bc20b5d27b77261c7d08101a50a244c6ec88a8
+SHA1 (patch-ab) = 34afdaa574df350254c2685e9d198cce9b599f24
diff -r 5583ed7c20ab -r deae427e0c7b www/ocsigen/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ocsigen/options.mk Tue Apr 10 20:24:43 2007 +0000
@@ -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
diff -r 5583ed7c20ab -r deae427e0c7b www/ocsigen/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ocsigen/patches/patch-aa Tue Apr 10 20:24:43 2007 +0000
@@ -0,0 +1,111 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/04/10 20:24:43 tonio Exp $
+
+--- configure.orig 2007-03-15 12:27:54.000000000 +0100
++++ configure
+@@ -51,10 +51,14 @@ set_defaults () {
+ libdir="/usr/local/lib"
+ mandir="/usr/local/share/man/man1/"
+ docdir="/usr/share/doc"
++ sysconfdir="/etc"
++ logdir=/var/log/ocsigen
+ name="ocsigen"
+ prefix="/"
+ ocsigen_user="www-data"
+ ocsigen_group="www-data"
++ staticpagesdir="/var/www/$name"
++ uploaddir="/tmp"
+ }
+
+ set_defaults
+@@ -132,6 +136,10 @@ print_options () {
+ echo " --libdir $libdir"
+ echo " --mandir $mandir"
+ echo " --docdir $docdir"
++ echo " --sysconfdir $sysconfdir"
++ echo " --logdir $logdir"
++ echo " --staticpagesdir $staticpagesdir"
++ echo " --uploaddir $uploaddir"
+ echo " --name $name"
+ }
+
+@@ -174,6 +182,18 @@ _EOF_
+ --docdir dir
+ Install documentation in this directory
+
++--sysconfdir dir
Home |
Main Index |
Thread Index |
Old Index