diff options
author | jaapb <jaapb@pkgsrc.org> | 2018-06-05 16:17:10 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2018-06-05 16:17:10 +0000 |
commit | a685d5e85c58216cad90799c0b21751df778c210 (patch) | |
tree | 63c298a8d6b1131eaec0042705f8d2125e510a6c /www | |
parent | 2ace05b0f838b81056d6d8b1b98fb1066369c318 (diff) | |
download | pkgsrc-a685d5e85c58216cad90799c0b21751df778c210.tar.gz |
New package www/ocsigen-start, a basic application for ocsigen/eliom.
Diffstat (limited to 'www')
-rw-r--r-- | www/ocsigen-start/DESCR | 7 | ||||
-rw-r--r-- | www/ocsigen-start/Makefile | 37 | ||||
-rw-r--r-- | www/ocsigen-start/PLIST | 182 | ||||
-rw-r--r-- | www/ocsigen-start/distinfo | 7 | ||||
-rw-r--r-- | www/ocsigen-start/patches/patch-Makefile.options | 23 |
5 files changed, 256 insertions, 0 deletions
diff --git a/www/ocsigen-start/DESCR b/www/ocsigen-start/DESCR new file mode 100644 index 00000000000..0a242a51ae6 --- /dev/null +++ b/www/ocsigen-start/DESCR @@ -0,0 +1,7 @@ +Ocsigen Start is a set of higher-level libraries for building client-server +web applications with Ocsigen (Js_of_ocaml and Eliom). It provides modules for + +- user management (session management, registration, activation keys, ...), +- managing groups of users, +- displaying tips, and +- easily sending notifications to the users. diff --git a/www/ocsigen-start/Makefile b/www/ocsigen-start/Makefile new file mode 100644 index 00000000000..fa9034844d9 --- /dev/null +++ b/www/ocsigen-start/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1 2018/06/05 16:17:10 jaapb Exp $ + +GITHUB_PROJECT= ocsigen-start +DISTNAME= ${GITHUB_PROJECT}-1.1.0 +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_GITHUB:=ocsigen/} + +MAINTAINER= jaapb@NetBSD.org +HOMEPAGE= https://github.com/ocsigen/ocsigen-start/ +COMMENT= Application skeleton for Eliom +LICENSE= gnu-lgpl-v2.1 + +USE_LANGUAGES= # none +USE_TOOLS= gmake + +OCAML_USE_FINDLIB= yes + +.include "../../mk/ocaml.mk" + +.if ${OCAML_USE_OPT_COMPILER} == "yes" +MAKE_ENV+= NATIVE=yes +.else +MAKE_ENV+= NATIVE=no +.endif + +DEPENDS+= eliom>=6.3:../../www/eliom + +MAKE_JOBS_SAFE= no # for debugging, remove before flight + +.include "../../databases/ocaml-macaque/buildlink3.mk" +.include "../../devel/ocaml-lwt_camlp4/buildlink3.mk" +.include "../../devel/ocaml-lwt_log/buildlink3.mk" +.include "../../devel/ocaml-yojson/buildlink3.mk" +.include "../../security/ocaml-safepass/buildlink3.mk" +.include "../../www/ocsigen-i18n/buildlink3.mk" +.include "../../www/ocsigen-toolkit/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/ocsigen-start/PLIST b/www/ocsigen-start/PLIST new file mode 100644 index 00000000000..91369b83f67 --- /dev/null +++ b/www/ocsigen-start/PLIST @@ -0,0 +1,182 @@ +@comment $NetBSD: PLIST,v 1.1 2018/06/05 16:17:10 jaapb Exp $ +${OCAML_SITELIB}/eliom/templates/os.pgocaml/.eliomignore +${OCAML_SITELIB}/eliom/templates/os.pgocaml/.eliomreserve +${OCAML_SITELIB}/eliom/templates/os.pgocaml/.eliomverbatim +${OCAML_SITELIB}/eliom/templates/os.pgocaml/.gitignore +${OCAML_SITELIB}/eliom/templates/os.pgocaml/.ocp-indent +${OCAML_SITELIB}/eliom/templates/os.pgocaml/Makefile +${OCAML_SITELIB}/eliom/templates/os.pgocaml/Makefile.PROJECT_NAME +${OCAML_SITELIB}/eliom/templates/os.pgocaml/Makefile.db +${OCAML_SITELIB}/eliom/templates/os.pgocaml/Makefile.i18n +${OCAML_SITELIB}/eliom/templates/os.pgocaml/Makefile.local.example +${OCAML_SITELIB}/eliom/templates/os.pgocaml/Makefile.mobile +${OCAML_SITELIB}/eliom/templates/os.pgocaml/Makefile.options +${OCAML_SITELIB}/eliom/templates/os.pgocaml/Makefile.os +${OCAML_SITELIB}/eliom/templates/os.pgocaml/Makefile.style +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME.conf.in +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME.sql +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_base.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_config.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_config.eliomi +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_container.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_container.eliomi +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_drawer.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_handlers.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_handlers.eliomi +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_icons.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_language.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_language.eliomi +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_mobile.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_mobile.eliomi +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_page.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_page.eliomi +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_phone_connect.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_services.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_services.eliomi +${OCAML_SITELIB}/eliom/templates/os.pgocaml/PROJECT_NAME_settings.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/README.md +${OCAML_SITELIB}/eliom/templates/os.pgocaml/assets!PROJECT_NAME_i18n.tsv +${OCAML_SITELIB}/eliom/templates/os.pgocaml/assets!images!icon.png +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_cache.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_calendar.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_carousel1.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_carousel2.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_carousel3.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_i18n.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_links.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_notif.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_pagetransition.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_pgocaml.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_pgocaml_db.ml +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_popup.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_react.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_ref.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_rpc.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_spinner.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_timepicker.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_tips.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_tools.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/demo_users.eliom +${OCAML_SITELIB}/eliom/templates/os.pgocaml/mobile!.chcpignore +${OCAML_SITELIB}/eliom/templates/os.pgocaml/mobile!chcp.json.in +${OCAML_SITELIB}/eliom/templates/os.pgocaml/mobile!config.xml.in +${OCAML_SITELIB}/eliom/templates/os.pgocaml/mobile!eliom.html.in +${OCAML_SITELIB}/eliom/templates/os.pgocaml/mobile!eliom_loader.ml +${OCAML_SITELIB}/eliom/templates/os.pgocaml/mobile!index.html.in +${OCAML_SITELIB}/eliom/templates/os.pgocaml/mobile!res!.gitignore +${OCAML_SITELIB}/eliom/templates/os.pgocaml/mobile!www!css!index.css +${OCAML_SITELIB}/eliom/templates/os.pgocaml/mobile!www!img!logo.png +${OCAML_SITELIB}/eliom/templates/os.pgocaml/sass!PROJECT_NAME.scss +${OCAML_SITELIB}/eliom/templates/os.pgocaml/sass!demo.scss +${OCAML_SITELIB}/eliom/templates/os.pgocaml/sass!os.scss +${OCAML_SITELIB}/eliom/templates/os.pgocaml/static!css!font-awesome.min.css +${OCAML_SITELIB}/eliom/templates/os.pgocaml/static!defaultcss!demo.css +${OCAML_SITELIB}/eliom/templates/os.pgocaml/static!defaultcss!os.css +${OCAML_SITELIB}/eliom/templates/os.pgocaml/static!fonts!FontAwesome.otf +${OCAML_SITELIB}/eliom/templates/os.pgocaml/static!fonts!fontawesome-webfont.eot +${OCAML_SITELIB}/eliom/templates/os.pgocaml/static!fonts!fontawesome-webfont.svg +${OCAML_SITELIB}/eliom/templates/os.pgocaml/static!fonts!fontawesome-webfont.ttf +${OCAML_SITELIB}/eliom/templates/os.pgocaml/static!fonts!fontawesome-webfont.woff +${OCAML_SITELIB}/eliom/templates/os.pgocaml/static!fonts!fontawesome-webfont.woff2 +${OCAML_SITELIB}/eliom/templates/os.pgocaml/static!images!ocsigen.png +${OCAML_SITELIB}/eliom/templates/os.pgocaml/tools!sort_deps.ml +${OCAML_SITELIB}/eliom/templates/os.pgocaml/upgrade.sql +${OCAML_SITELIB}/ocsigen-start/META +${OCAML_SITELIB}/ocsigen-start/client/ocsigen-start.client.cma +${OCAML_SITELIB}/ocsigen-start/client/os_comet.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_comet.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_connect_phone.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_connect_phone.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_current_user.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_current_user.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_date.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_date.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_email.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_email.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_fcm_notif.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_fcm_notif.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_handlers.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_handlers.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_icons.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_icons.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_lib.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_lib.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_msg.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_msg.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_notif.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_notif.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_page.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_page.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_platform.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_platform.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_request_cache.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_request_cache.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_services.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_services.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_session.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_session.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_tips.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_tips.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_types.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_types.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_uploader.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_uploader.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_user.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_user.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_user_proxy.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_user_proxy.cmo +${OCAML_SITELIB}/ocsigen-start/client/os_user_view.cmi +${OCAML_SITELIB}/ocsigen-start/client/os_user_view.cmo +${OCAML_SITELIB}/ocsigen-start/server/ocsigen-start.server.cma +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/ocsigen-start.server.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/ocsigen-start.server.cmxs +${OCAML_SITELIB}/ocsigen-start/server/os_comet.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_comet.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_connect_phone.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_connect_phone.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_current_user.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_current_user.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_date.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_date.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_db.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_db.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_email.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_email.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_fcm_notif.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_fcm_notif.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_group.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_group.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_handlers.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_handlers.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_icons.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_icons.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_lib.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_lib.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_msg.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_msg.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_notif.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_notif.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_page.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_page.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_platform.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_platform.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_request_cache.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_request_cache.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_services.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_services.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_session.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_session.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_tips.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_tips.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_types.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_types.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_uploader.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_uploader.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_user.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_user.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_user_proxy.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_user_proxy.cmx +${OCAML_SITELIB}/ocsigen-start/server/os_user_view.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-start/server/os_user_view.cmx diff --git a/www/ocsigen-start/distinfo b/www/ocsigen-start/distinfo new file mode 100644 index 00000000000..6a703b4ea55 --- /dev/null +++ b/www/ocsigen-start/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2018/06/05 16:17:10 jaapb Exp $ + +SHA1 (ocsigen-start-1.1.0.tar.gz) = 17227ab765b6a7a794938353415d226cbfcfc885 +RMD160 (ocsigen-start-1.1.0.tar.gz) = bc5a6814054a4abf6d40a5c70c6b26293a81668e +SHA512 (ocsigen-start-1.1.0.tar.gz) = 0e55c602dac8e24df03b462d9c4924fab0a0151a8877aafe44ad3ef0f17338ee758b5803dbebc911ed9818cba97751d6cea2623ffb3dd3887a1d79f1dd8d6f0a +Size (ocsigen-start-1.1.0.tar.gz) = 1034520 bytes +SHA1 (patch-Makefile.options) = 0291679dc7250c0abac1f2cd7a960c77202fd96e diff --git a/www/ocsigen-start/patches/patch-Makefile.options b/www/ocsigen-start/patches/patch-Makefile.options new file mode 100644 index 00000000000..fc727c26b3c --- /dev/null +++ b/www/ocsigen-start/patches/patch-Makefile.options @@ -0,0 +1,23 @@ +$NetBSD: patch-Makefile.options,v 1.1 2018/06/05 16:17:10 jaapb Exp $ + +Some required package names (or structure) have changed +--- Makefile.options.orig 2018-03-09 16:47:43.000000000 +0000 ++++ Makefile.options +@@ -54,13 +54,13 @@ SASS_TEMPORARY_PROJECT_NAME := os_tempor + ##---------------------------------------------------------------------- + + # OCamlfind packages for the server +-SERVER_PACKAGES := lwt.ppx js_of_ocaml-ppx.deriving calendar safepass \ +- ocsigen-toolkit.server yojson re.str ++SERVER_PACKAGES := lwt_ppx js_of_ocaml-ppx.deriving calendar safepass \ ++ ocsigen-toolkit.server yojson re.str lwt_log + +-SERVER_DB_PACKAGES := pgocaml pgocaml.syntax macaque.syntax calendar safepass ++SERVER_DB_PACKAGES := pgocaml pgocaml.syntax macaque.syntax calendar safepass lwt_log + + # OCamlfind packages for the client +-CLIENT_PACKAGES := lwt.ppx js_of_ocaml-ppx.deriving js_of_ocaml-ppx \ ++CLIENT_PACKAGES := lwt_ppx js_of_ocaml-ppx.deriving js_of_ocaml-ppx \ + calendar ocsigen-toolkit.client re.str + + # Debug package (yes/no): Debugging info in compilation |