summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-08-12 17:47:42 +0000
committerwiz <wiz@pkgsrc.org>2012-08-12 17:47:42 +0000
commitb8011b9e080fcdb52ce77ed31b02d81bae0d9191 (patch)
tree004706b58ea25a7d7fa925f2f60748c57c37afcc /www
parente6fd82037cf9956b14aa07e0e132402e870e37cd (diff)
downloadpkgsrc-b8011b9e080fcdb52ce77ed31b02d81bae0d9191.tar.gz
Import eliom-2.2.2 as www/eliom, packaged by Jaap Boender.
Eliom is an OCaml library for the webserver Ocsigen that allows for the creation of dynamic webpages. In this way, a website is not written as a separate set of pages, but as one integral OCaml module.
Diffstat (limited to 'www')
-rw-r--r--www/eliom/DESCR4
-rw-r--r--www/eliom/Makefile45
-rw-r--r--www/eliom/PLIST111
-rw-r--r--www/eliom/distinfo8
-rw-r--r--www/eliom/patches/patch-src_Makefile14
-rw-r--r--www/eliom/patches/patch-src_client_Makefile15
-rw-r--r--www/eliom/patches/patch-src_client_Makefile.filelist17
7 files changed, 214 insertions, 0 deletions
diff --git a/www/eliom/DESCR b/www/eliom/DESCR
new file mode 100644
index 00000000000..a62d4d40963
--- /dev/null
+++ b/www/eliom/DESCR
@@ -0,0 +1,4 @@
+Eliom is an OCaml library for the webserver Ocsigen that allows
+for the creation of dynamic webpages. In this way, a website is
+not written as a separate set of pages, but as one integral OCaml
+module.
diff --git a/www/eliom/Makefile b/www/eliom/Makefile
new file mode 100644
index 00000000000..7bb4b9dd6d4
--- /dev/null
+++ b/www/eliom/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1 2012/08/12 17:47:43 wiz Exp $
+#
+
+DISTNAME= eliom-2.2.2
+CATEGORIES= www
+MASTER_SITES= http://ocsigen.org/download/
+
+MAINTAINER= jaapb@kerguelen.org
+HOMEPAGE= http://ocsigen.org/download/
+COMMENT= Dynamic webpage generation library
+LICENSE= gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= c
+USE_TOOLS= gmake
+HAS_CONFIGURE= yes
+
+DEPENDS+= js_of_ocaml>=1.2:../../devel/js_of_ocaml
+DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
+DEPENDS+= ocsigen>=2.1:../../www/ocsigen
+DEPENDS+= ocaml-tyxml>=2.1:../../textproc/ocaml-tyxml
+DEPENDS+= ocaml-react>=0.9.2:../../devel/ocaml-react
+DEPENDS+= ocaml-ssl>=0.4.4:../../security/ocaml-ssl
+DEPENDS+= ocaml-calendar>=2.01.1:../../time/ocaml-calendar
+DEPENDS+= ocaml-deriving-ocsigen>=0.3:../../devel/ocaml-deriving-ocsigen
+
+CONFIGURE_ARGS+= --temproot ${DESTDIR} --prefix ${PREFIX} \
+ --libdir ${PREFIX}/lib/ocaml/site-lib --without-ocamlduce
+
+PLIST_VARS= opt
+.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
+ (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
+PLIST.opt= yes
+CONFIGURE_ARGS+= --enable-natdynlink
+.else
+CONFIGURE_ARGS== --disable-natdynlink
+.endif
+
+pre-install:
+ ${MKDIR} ${DESTDIR}${PREFIX}/lib/ocaml/site-lib
+
+.include "../../net/ocamlnet/buildlink3.mk"
+.include "../../lang/ocaml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/eliom/PLIST b/www/eliom/PLIST
new file mode 100644
index 00000000000..423f13da0a7
--- /dev/null
+++ b/www/eliom/PLIST
@@ -0,0 +1,111 @@
+@comment $NetBSD: PLIST,v 1.1 2012/08/12 17:47:43 wiz Exp $
+bin/eliomc
+bin/eliomcp
+bin/eliomdep
+${PLIST.opt}bin/eliomopt
+bin/js_of_eliom
+lib/ocaml/site-lib/eliom/META
+lib/ocaml/site-lib/eliom/client/dlleliom_client.so
+lib/ocaml/site-lib/eliom/client/eliom_bus.cmi
+lib/ocaml/site-lib/eliom/client/eliom_bus.mli
+lib/ocaml/site-lib/eliom/client/eliom_client.cma
+lib/ocaml/site-lib/eliom/client/eliom_client.cmi
+lib/ocaml/site-lib/eliom/client/eliom_client.js
+lib/ocaml/site-lib/eliom/client/eliom_client.mli
+lib/ocaml/site-lib/eliom/client/eliom_client_main.cmo
+lib/ocaml/site-lib/eliom/client/eliom_comet.cmi
+lib/ocaml/site-lib/eliom/client/eliom_comet.mli
+lib/ocaml/site-lib/eliom/client/eliom_comet_base.mli
+lib/ocaml/site-lib/eliom/client/eliom_compatibility_2_1.cmi
+lib/ocaml/site-lib/eliom/client/eliom_content.cmi
+lib/ocaml/site-lib/eliom/client/eliom_content.mli
+lib/ocaml/site-lib/eliom/client/eliom_content_core.cmi
+lib/ocaml/site-lib/eliom/client/eliom_content_core.mli
+lib/ocaml/site-lib/eliom/client/eliom_lazy.cmi
+lib/ocaml/site-lib/eliom/client/eliom_lazy.mli
+lib/ocaml/site-lib/eliom/client/eliom_lib.cmi
+lib/ocaml/site-lib/eliom/client/eliom_lib.mli
+lib/ocaml/site-lib/eliom/client/eliom_mkforms.cmi
+lib/ocaml/site-lib/eliom/client/eliom_mkforms.mli
+lib/ocaml/site-lib/eliom/client/eliom_parameter.cmi
+lib/ocaml/site-lib/eliom/client/eliom_parameter.mli
+lib/ocaml/site-lib/eliom/client/eliom_react.cmi
+lib/ocaml/site-lib/eliom/client/eliom_react.mli
+lib/ocaml/site-lib/eliom/client/eliom_registration.cmi
+lib/ocaml/site-lib/eliom/client/eliom_registration.mli
+lib/ocaml/site-lib/eliom/client/eliom_service.cmi
+lib/ocaml/site-lib/eliom/client/eliom_service.mli
+lib/ocaml/site-lib/eliom/client/eliom_types_base.mli
+lib/ocaml/site-lib/eliom/client/eliom_unwrap.cmi
+lib/ocaml/site-lib/eliom/client/eliom_unwrap.mli
+lib/ocaml/site-lib/eliom/client/eliom_uri.cmi
+lib/ocaml/site-lib/eliom/client/eliom_uri.mli
+lib/ocaml/site-lib/eliom/client/libeliom_client.a
+lib/ocaml/site-lib/eliom/server/atom_feed.cmi
+lib/ocaml/site-lib/eliom/server/atom_feed.mli
+lib/ocaml/site-lib/eliom/server/eliom.a
+lib/ocaml/site-lib/eliom/server/eliom.cma
+lib/ocaml/site-lib/eliom/server/eliom.cmxa
+lib/ocaml/site-lib/eliom/server/eliom.cmxs
+lib/ocaml/site-lib/eliom/server/eliom_atom.cmi
+lib/ocaml/site-lib/eliom/server/eliom_atom.mli
+lib/ocaml/site-lib/eliom/server/eliom_bus.cmi
+lib/ocaml/site-lib/eliom/server/eliom_bus.mli
+lib/ocaml/site-lib/eliom/server/eliom_comet.cmi
+lib/ocaml/site-lib/eliom/server/eliom_comet.mli
+lib/ocaml/site-lib/eliom/server/eliom_common.cmi
+lib/ocaml/site-lib/eliom/server/eliom_common.mli
+lib/ocaml/site-lib/eliom/server/eliom_config.cmi
+lib/ocaml/site-lib/eliom/server/eliom_config.mli
+lib/ocaml/site-lib/eliom/server/eliom_content.cmi
+lib/ocaml/site-lib/eliom/server/eliom_content.mli
+lib/ocaml/site-lib/eliom/server/eliom_content_core.cmi
+lib/ocaml/site-lib/eliom/server/eliom_content_core.mli
+lib/ocaml/site-lib/eliom/server/eliom_cookie.cmi
+lib/ocaml/site-lib/eliom/server/eliom_cookie.mli
+lib/ocaml/site-lib/eliom/server/eliom_extension.cmi
+lib/ocaml/site-lib/eliom/server/eliom_extension.mli
+lib/ocaml/site-lib/eliom/server/eliom_lib.cmi
+lib/ocaml/site-lib/eliom/server/eliom_lib.mli
+lib/ocaml/site-lib/eliom/server/eliom_mkforms.cmi
+lib/ocaml/site-lib/eliom/server/eliom_mkforms.mli
+lib/ocaml/site-lib/eliom/server/eliom_mkreg.cmi
+lib/ocaml/site-lib/eliom/server/eliom_mkreg.mli
+lib/ocaml/site-lib/eliom/server/eliom_openid.cmi
+lib/ocaml/site-lib/eliom/server/eliom_openid.mli
+lib/ocaml/site-lib/eliom/server/eliom_parameter.cmi
+lib/ocaml/site-lib/eliom/server/eliom_parameter.mli
+lib/ocaml/site-lib/eliom/server/eliom_react.cmi
+lib/ocaml/site-lib/eliom/server/eliom_react.mli
+lib/ocaml/site-lib/eliom/server/eliom_reference.cmi
+lib/ocaml/site-lib/eliom/server/eliom_reference.mli
+lib/ocaml/site-lib/eliom/server/eliom_registration.cmi
+lib/ocaml/site-lib/eliom/server/eliom_registration.mli
+lib/ocaml/site-lib/eliom/server/eliom_request_info.cmi
+lib/ocaml/site-lib/eliom/server/eliom_request_info.mli
+lib/ocaml/site-lib/eliom/server/eliom_s2s.cmi
+lib/ocaml/site-lib/eliom/server/eliom_s2s.mli
+lib/ocaml/site-lib/eliom/server/eliom_service.cmi
+lib/ocaml/site-lib/eliom/server/eliom_service.mli
+lib/ocaml/site-lib/eliom/server/eliom_state.cmi
+lib/ocaml/site-lib/eliom/server/eliom_state.mli
+lib/ocaml/site-lib/eliom/server/eliom_tools.cmi
+lib/ocaml/site-lib/eliom/server/eliom_tools.mli
+lib/ocaml/site-lib/eliom/server/eliom_tools_common.cmi
+lib/ocaml/site-lib/eliom/server/eliom_tools_common.mli
+lib/ocaml/site-lib/eliom/server/eliom_types.cmi
+lib/ocaml/site-lib/eliom/server/eliom_types.mli
+lib/ocaml/site-lib/eliom/server/eliom_uri.cmi
+lib/ocaml/site-lib/eliom/server/eliom_uri.mli
+lib/ocaml/site-lib/eliom/server/eliom_wrap.cmi
+lib/ocaml/site-lib/eliom/server/eliom_wrap.mli
+lib/ocaml/site-lib/eliom/syntax/pa_eliom_client_client.cmo
+lib/ocaml/site-lib/eliom/syntax/pa_eliom_client_server.cmo
+lib/ocaml/site-lib/eliom/syntax/pa_eliom_seed.cmo
+lib/ocaml/site-lib/eliom/syntax/pa_eliom_type_filter.cmo
+lib/ocaml/site-lib/eliom/syntax/pa_include.cmo
+man/man1/eliomc.1
+man/man1/eliomcp.1
+man/man1/eliomdep.1
+man/man1/eliomopt.1
+man/man1/js_of_eliom.1
diff --git a/www/eliom/distinfo b/www/eliom/distinfo
new file mode 100644
index 00000000000..844650cc5b4
--- /dev/null
+++ b/www/eliom/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2012/08/12 17:47:43 wiz Exp $
+
+SHA1 (eliom-2.2.2.tar.gz) = f0b6bd1824ee59a124d6bae3d10b4a3d891e1ec5
+RMD160 (eliom-2.2.2.tar.gz) = b8e32940187d03b6dac2c0bcc98d0c27f45c6a52
+Size (eliom-2.2.2.tar.gz) = 689737 bytes
+SHA1 (patch-src_Makefile) = 6112c1641804bbe4c98c29e70330ed01a65b8186
+SHA1 (patch-src_client_Makefile) = 85bd44e3fcd035652a16d5d9aeeeb237a6f06692
+SHA1 (patch-src_client_Makefile.filelist) = 76baa0cd13b029a01d4ec04f6b8486b0d9cee334
diff --git a/www/eliom/patches/patch-src_Makefile b/www/eliom/patches/patch-src_Makefile
new file mode 100644
index 00000000000..e9d25a1f2d8
--- /dev/null
+++ b/www/eliom/patches/patch-src_Makefile
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_Makefile,v 1.1 2012/08/12 17:47:43 wiz Exp $
+
+install manpage with proper permissions
+--- src/Makefile.orig 2012-06-11 12:46:54.000000000 +0000
++++ src/Makefile
+@@ -61,7 +61,7 @@ install: install.META install.man
+
+ install.man: install.META
+ $(INSTALL) -m 755 -d $(TEMPROOT)$(MANDIR)/man1
+- $(INSTALL) -m 755 files/eliomc.1 $(TEMPROOT)$(MANDIR)/man1
++ $(INSTALL) -m 644 files/eliomc.1 $(TEMPROOT)$(MANDIR)/man1
+ ln -sf eliomc.1 $(TEMPROOT)$(MANDIR)/man1/js_of_eliom.1
+ ln -sf eliomc.1 $(TEMPROOT)$(MANDIR)/man1/eliomopt.1
+ ln -sf eliomc.1 $(TEMPROOT)$(MANDIR)/man1/eliomcp.1
diff --git a/www/eliom/patches/patch-src_client_Makefile b/www/eliom/patches/patch-src_client_Makefile
new file mode 100644
index 00000000000..89f1cf4e1dd
--- /dev/null
+++ b/www/eliom/patches/patch-src_client_Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_client_Makefile,v 1.1 2012/08/12 17:47:43 wiz Exp $
+
+install library stub with proper permissions
+--- src/client/Makefile.orig 2012-06-11 12:46:54.000000000 +0000
++++ src/client/Makefile
+@@ -97,7 +97,8 @@ odoc: ${DOC:.mli=.odoc}
+
+ install: ${PREDEP}
+ ${INSTALL} -m 755 -d ${CLIENTDIR}
+- ${INSTALL} -m 644 ${INTF} ${IMPL} ${STUBS} ${DOC} ${CLIENTDIR}
++ ${INSTALL} -m 644 ${INTF} ${IMPL} ${DOC} ${STUBS} ${CLIENTDIR}
++ ${BSD_INSTALL_LIB} ${EXEC_STUBS} ${CLIENTDIR}
+
+ uninstall:
+ -rm -fr ${CLIENTDIR}
diff --git a/www/eliom/patches/patch-src_client_Makefile.filelist b/www/eliom/patches/patch-src_client_Makefile.filelist
new file mode 100644
index 00000000000..a37813ca004
--- /dev/null
+++ b/www/eliom/patches/patch-src_client_Makefile.filelist
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_client_Makefile.filelist,v 1.1 2012/08/12 17:47:43 wiz Exp $
+
+install library stub with proper permissions
+--- src/client/Makefile.filelist.orig 2012-06-11 12:46:54.000000000 +0000
++++ src/client/Makefile.filelist
+@@ -21,8 +21,9 @@ NO_MLI := eliom_compatibility_2_1.cmi
+ IMPL := ${PROJECTNAME}_client.cma \
+ ${PROJECTNAME}_client_main.cmo \
+
+-STUBS := dlleliom_client.so \
+- libeliom_client.a \
++EXEC_STUBS := dlleliom_client.so
++
++STUBS := libeliom_client.a \
+ eliom_client.js \
+
+ NOP4 := eliom_lib.mli