pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/ocsigen-toolkit



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Tue Jun  5 16:10:43 UTC 2018

Added Files:
        pkgsrc/www/ocsigen-toolkit: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/www/ocsigen-toolkit/patches: patch-Makefile
            patch-Makefile.options

Log Message:
New package www/ocsigen-toolkit, a set of widgets for ocsigen/eliom


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/ocsigen-toolkit/DESCR \
    pkgsrc/www/ocsigen-toolkit/Makefile pkgsrc/www/ocsigen-toolkit/PLIST \
    pkgsrc/www/ocsigen-toolkit/buildlink3.mk \
    pkgsrc/www/ocsigen-toolkit/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/ocsigen-toolkit/patches/patch-Makefile \
    pkgsrc/www/ocsigen-toolkit/patches/patch-Makefile.options

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/ocsigen-toolkit/DESCR
diff -u /dev/null pkgsrc/www/ocsigen-toolkit/DESCR:1.1
--- /dev/null   Tue Jun  5 16:10:43 2018
+++ pkgsrc/www/ocsigen-toolkit/DESCR    Tue Jun  5 16:10:43 2018
@@ -0,0 +1,2 @@
+Ocsigen Toolkit is a set of user interface widgets that facilitate the
+development of Eliom applications.
Index: pkgsrc/www/ocsigen-toolkit/Makefile
diff -u /dev/null pkgsrc/www/ocsigen-toolkit/Makefile:1.1
--- /dev/null   Tue Jun  5 16:10:43 2018
+++ pkgsrc/www/ocsigen-toolkit/Makefile Tue Jun  5 16:10:43 2018
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2018/06/05 16:10:43 jaapb Exp $
+
+GITHUB_PROJECT=        ocsigen-toolkit
+DISTNAME=      ${GITHUB_PROJECT}-1.1.0
+CATEGORIES=    www
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ocsigen/}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ocsigen/ocsigen-toolkit/
+COMMENT=       User interface widgets for Ocsigen applications
+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
+
+post-install:
+       ${RUN} cd ${WRKSRC} && opaline -install-cmd "${INSTALL_DATA}" \
+               -destdir ${DESTDIR} \
+               -prefix ${PREFIX} \
+               ocsigen-toolkit.install
+
+.include "../../misc/ocaml-opaline/buildlink3.mk"
+.include "../../time/ocaml-calendar/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/ocsigen-toolkit/PLIST
diff -u /dev/null pkgsrc/www/ocsigen-toolkit/PLIST:1.1
--- /dev/null   Tue Jun  5 16:10:43 2018
+++ pkgsrc/www/ocsigen-toolkit/PLIST    Tue Jun  5 16:10:43 2018
@@ -0,0 +1,99 @@
+@comment $NetBSD: PLIST,v 1.1 2018/06/05 16:10:43 jaapb Exp $
+${OCAML_SITELIB}/ocsigen-toolkit/META
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_buttons.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_buttons.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_calendar.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_calendar.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_carousel.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_carousel.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_drawer.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_drawer.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_form.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_form.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_icons.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_icons.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_lib.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_lib.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_nodeready.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_nodeready.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_noderesize.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_noderesize.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_page_transition.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_page_transition.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_picture_uploader.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_picture_uploader.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_popup.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_popup.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_range.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_range.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_size.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_size.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_social_meta.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_social_meta.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_spinner.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_spinner.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_sticky.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_sticky.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_style.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_style.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_swipe.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_swipe.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_time_picker.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_time_picker.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_toggle.cmi
+${OCAML_SITELIB}/ocsigen-toolkit/client/ot_toggle.cmo
+${OCAML_SITELIB}/ocsigen-toolkit/server/ocsigen-toolkit.server.cma
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ocsigen-toolkit.server.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ocsigen-toolkit.server.cmxs
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_buttons.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_buttons.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_calendar.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_calendar.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_carousel.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_carousel.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_drawer.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_drawer.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_form.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_form.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_icons.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_icons.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_lib.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_lib.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_nodeready.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_nodeready.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_noderesize.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_noderesize.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_page_transition.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_page_transition.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_picture_uploader.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_picture_uploader.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_popup.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_popup.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_range.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_range.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_size.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_size.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_social_meta.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_social_meta.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_spinner.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_spinner.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_sticky.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_sticky.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_style.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_style.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_swipe.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_swipe.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_time_picker.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_time_picker.cmx
+${OCAML_SITELIB}/ocsigen-toolkit/server/ot_toggle.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsigen-toolkit/server/ot_toggle.cmx
+share/ocsigen-toolkit/css/ot_buttons.css
+share/ocsigen-toolkit/css/ot_carousel.css
+share/ocsigen-toolkit/css/ot_datetime.css
+share/ocsigen-toolkit/css/ot_drawer.css
+share/ocsigen-toolkit/css/ot_icons.css
+share/ocsigen-toolkit/css/ot_page_transition.css
+share/ocsigen-toolkit/css/ot_picture_uploader.css
+share/ocsigen-toolkit/css/ot_popup.css
+share/ocsigen-toolkit/css/ot_spinner.css
+share/ocsigen-toolkit/css/ot_sticky.css
Index: pkgsrc/www/ocsigen-toolkit/buildlink3.mk
diff -u /dev/null pkgsrc/www/ocsigen-toolkit/buildlink3.mk:1.1
--- /dev/null   Tue Jun  5 16:10:43 2018
+++ pkgsrc/www/ocsigen-toolkit/buildlink3.mk    Tue Jun  5 16:10:43 2018
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/06/05 16:10:43 jaapb Exp $
+
+BUILDLINK_TREE+=       ocsigen-toolkit
+
+.if !defined(OCSIGEN_TOOLKIT_BUILDLINK3_MK)
+OCSIGEN_TOOLKIT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocsigen-toolkit+=        ocsigen-toolkit>=1.1.0
+BUILDLINK_PKGSRCDIR.ocsigen-toolkit?=  ../../www/ocsigen-toolkit
+
+.endif # OCSIGEN_TOOLKIT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocsigen-toolkit
Index: pkgsrc/www/ocsigen-toolkit/distinfo
diff -u /dev/null pkgsrc/www/ocsigen-toolkit/distinfo:1.1
--- /dev/null   Tue Jun  5 16:10:43 2018
+++ pkgsrc/www/ocsigen-toolkit/distinfo Tue Jun  5 16:10:43 2018
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2018/06/05 16:10:43 jaapb Exp $
+
+SHA1 (ocsigen-toolkit-1.1.0.tar.gz) = 8bc1fcad3ff361a74f05c4fcb6ac5119fd424f7a
+RMD160 (ocsigen-toolkit-1.1.0.tar.gz) = c1b58eeba72eb693364c6795250a6533ea88126c
+SHA512 (ocsigen-toolkit-1.1.0.tar.gz) = 61a40f5c83bbac5e562069304a7f857ff5abfe9958437303f02b45ccd08ef34677b6bf952a2ead747d4fbbf0c6b9ab4335e68145fe9ae237ee93b6d45c810709
+Size (ocsigen-toolkit-1.1.0.tar.gz) = 72369 bytes
+SHA1 (patch-Makefile) = 239086c7d6fe88665e1512e050457d673c44130f
+SHA1 (patch-Makefile.options) = 3f59b90b3e2f6d46e8a9e22b785c9b9c6e477551

Index: pkgsrc/www/ocsigen-toolkit/patches/patch-Makefile
diff -u /dev/null pkgsrc/www/ocsigen-toolkit/patches/patch-Makefile:1.1
--- /dev/null   Tue Jun  5 16:10:43 2018
+++ pkgsrc/www/ocsigen-toolkit/patches/patch-Makefile   Tue Jun  5 16:10:43 2018
@@ -0,0 +1,26 @@
+$NetBSD: patch-Makefile,v 1.1 2018/06/05 16:10:43 jaapb Exp $
+
+Don't use ocamlfind to query for install directories
+--- Makefile.orig      2018-02-08 17:52:50.000000000 +0000
++++ Makefile
+@@ -154,13 +154,13 @@ META: META.in
+ 
+ install: all META
+       $(OCAMLFIND) install $(PKG_NAME) META
+-      mkdir -p `$(OCAMLFIND) query $(PKG_NAME)`/client
+-      mkdir -p `$(OCAMLFIND) query $(PKG_NAME)`/server
+-      cp $(CLIENT_CMI) `$(OCAMLFIND) query $(PKG_NAME)`/client
+-      cp $(CLIENT_CMO) `$(OCAMLFIND) query $(PKG_NAME)`/client
+-      cp $(SERVER_CMI) `$(OCAMLFIND) query $(PKG_NAME)`/server
+-      cp $(SERVER_CMX) `$(OCAMLFIND) query $(PKG_NAME)`/server
+-      cp $(LIBDIR)/$(PKG_NAME).server.cm* `$(OCAMLFIND) query $(PKG_NAME)`/server
++      mkdir -p $(DESTDIR)$(PREFIX)/$(OCAML_SITELIBDIR)/$(PKG_NAME)/client
++      mkdir -p $(DESTDIR)$(PREFIX)/$(OCAML_SITELIBDIR)/$(PKG_NAME)/server
++      cp $(CLIENT_CMI) $(DESTDIR)$(PREFIX)/$(OCAML_SITELIBDIR)/$(PKG_NAME)/client
++      cp $(CLIENT_CMO) $(DESTDIR)$(PREFIX)/$(OCAML_SITELIBDIR)/$(PKG_NAME)/client
++      cp $(SERVER_CMI) $(DESTDIR)$(PREFIX)/$(OCAML_SITELIBDIR)/$(PKG_NAME)/server
++      cp $(SERVER_CMX) $(DESTDIR)$(PREFIX)/$(OCAML_SITELIBDIR)/$(PKG_NAME)/server
++      cp $(LIBDIR)/$(PKG_NAME).server.cm* $(DESTDIR)$(PREFIX)/$(OCAML_SITELIBDIR)/$(PKG_NAME)/server
+ 
+ uninstall:
+       rm -rf `$(OCAMLFIND) query $(PKG_NAME)`/client
Index: pkgsrc/www/ocsigen-toolkit/patches/patch-Makefile.options
diff -u /dev/null pkgsrc/www/ocsigen-toolkit/patches/patch-Makefile.options:1.1
--- /dev/null   Tue Jun  5 16:10:43 2018
+++ pkgsrc/www/ocsigen-toolkit/patches/patch-Makefile.options   Tue Jun  5 16:10:43 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile.options,v 1.1 2018/06/05 16:10:43 jaapb Exp $
+
+Names of some required packages have changed
+--- Makefile.options.orig      2018-02-08 17:52:50.000000000 +0000
++++ Makefile.options
+@@ -40,9 +40,9 @@ TEMPLATE_DIR := template.distillery
+ TEMPLATE_NAME := none.pgocaml
+ 
+ # OCamlfind packages for the server
+-SERVER_PACKAGES := calendar lwt.ppx js_of_ocaml-ppx.deriving
++SERVER_PACKAGES := calendar lwt_ppx js_of_ocaml-ppx.deriving
+ # OCamlfind packages for the client
+-CLIENT_PACKAGES := calendar js_of_ocaml js_of_ocaml-ppx lwt.ppx js_of_ocaml-ppx.deriving
++CLIENT_PACKAGES := calendar js_of_ocaml js_of_ocaml-ppx lwt_ppx js_of_ocaml-ppx.deriving
+ 
+ # Debug package (yes/no): Debugging info in compilation
+ DEBUG := yes



Home | Main Index | Thread Index | Old Index