Updated devel/ocaml-reactiveData to version 0.3. This adds support for the upcoming OCaml 5.0 and switches to dune for building.diff -r1.15 -r1.16 pkgsrc/devel/ocaml-reactiveData/Makefile
(jaapb)
@@ -1,40 +1,18 @@ | @@ -1,40 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.15 2021/03/08 08:12:59 jaapb Exp $ | 1 | # $NetBSD: Makefile,v 1.16 2022/05/10 08:14:02 jaapb Exp $ | |
2 | 2 | |||
3 | GITHUB_PROJECT= reactiveData | 3 | DISTNAME= ${GITHUB_PROJECT}-0.3 | |
4 | DISTNAME= ${GITHUB_PROJECT}-0.2.2 | |||
5 | PKGNAME= ocaml-${DISTNAME} | 4 | PKGNAME= ocaml-${DISTNAME} | |
6 | PKGREVISION= 1 | |||
7 | CATEGORIES= devel | 5 | CATEGORIES= devel | |
8 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ocsigen/} | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ocsigen/} | |
7 | GITHUB_PROJECT= reactiveData | |||
9 | 8 | |||
10 | MAINTAINER= jaapb@NetBSD.org | 9 | MAINTAINER= jaapb@NetBSD.org | |
11 | HOMEPAGE= https://github.com/ocsigen/reactiveData | 10 | HOMEPAGE= https://github.com/ocsigen/reactiveData | |
12 | COMMENT= Functional reactive programming library | 11 | COMMENT= Functional reactive programming library | |
13 | LICENSE= gnu-lgpl-v2.1 | 12 | LICENSE= gnu-lgpl-v2.1 | |
14 | 13 | |||
15 | OCAML_USE_FINDLIB= yes | 14 | OCAML_USE_DUNE= yes | |
16 | 15 | |||
17 | .include "../../mk/ocaml.mk" | 16 | .include "../../mk/ocaml.mk" | |
18 | ||||
19 | INSTALL_FILES= cma cmi mli | |||
20 | .if ${OCAML_USE_OPT_COMPILER} == "yes" | |||
21 | MAKE_ENV+= NATIVE=true | |||
22 | INSTALL_FILES+= a cmx cmxa cmxs | |||
23 | .else | |||
24 | MAKE_ENV+= NATIVE=false | |||
25 | .endif | |||
26 | BUILD_TARGET= build | |||
27 | ||||
28 | INSTALLATION_DIRS+= ${OCAML_SITELIBDIR}/reactiveData | |||
29 | ||||
30 | do-install: | |||
31 | ${INSTALL_DATA} ${WRKSRC}/_build/pkg/META \ | |||
32 | ${DESTDIR}/${PREFIX}/${OCAML_SITELIBDIR}/reactiveData | |||
33 | for i in ${INSTALL_FILES}; do \ | |||
34 | ${INSTALL_DATA} ${WRKSRC}/_build/src/reactiveData.$$i \ | |||
35 | ${DESTDIR}/${PREFIX}/${OCAML_SITELIBDIR}/reactiveData; \ | |||
36 | done | |||
37 | ||||
38 | .include "../../devel/ocaml-react/buildlink3.mk" | 17 | .include "../../devel/ocaml-react/buildlink3.mk" | |
39 | .include "../../devel/ocamlbuild/buildlink3.mk" | |||
40 | .include "../../mk/bsd.pkg.mk" | 18 | .include "../../mk/bsd.pkg.mk" |
@@ -1,9 +1,17 @@ | @@ -1,9 +1,17 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2015/01/20 15:19:54 jaapb Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2022/05/10 08:14:02 jaapb Exp $ | |
2 | ${OCAML_SITELIB}/reactiveData/META | 2 | ${OCAML_SITELIB}/reactiveData/META | |
3 | ${OCAML_SITELIB}/reactiveData/dune-package | |||
4 | ${OCAML_SITELIB}/reactiveData/opam | |||
3 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/reactiveData/reactiveData.a | 5 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/reactiveData/reactiveData.a | |
4 | ${OCAML_SITELIB}/reactiveData/reactiveData.cma | 6 | ${OCAML_SITELIB}/reactiveData/reactiveData.cma | |
5 | ${OCAML_SITELIB}/reactiveData/reactiveData.cmi | 7 | ${OCAML_SITELIB}/reactiveData/reactiveData.cmi | |
8 | ${OCAML_SITELIB}/reactiveData/reactiveData.cmt | |||
9 | ${OCAML_SITELIB}/reactiveData/reactiveData.cmti | |||
6 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/reactiveData/reactiveData.cmx | 10 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/reactiveData/reactiveData.cmx | |
7 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/reactiveData/reactiveData.cmxa | 11 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/reactiveData/reactiveData.cmxa | |
8 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/reactiveData/reactiveData.cmxs | 12 | ${PLIST.ocaml-opt}${OCAML_SITELIB}/reactiveData/reactiveData.cmxs | |
13 | ${OCAML_SITELIB}/reactiveData/reactiveData.ml | |||
9 | ${OCAML_SITELIB}/reactiveData/reactiveData.mli | 14 | ${OCAML_SITELIB}/reactiveData/reactiveData.mli | |
15 | share/doc/reactiveData/CHANGES.md | |||
16 | share/doc/reactiveData/LICENSE | |||
17 | share/doc/reactiveData/README.md |
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.5 2019/03/05 17:14:52 jaapb Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.6 2022/05/10 08:14:02 jaapb Exp $ | |
2 | 2 | |||
3 | BUILDLINK_TREE+= ocaml-reactiveData | 3 | BUILDLINK_TREE+= ocaml-reactiveData | |
4 | 4 | |||
5 | .if !defined(OCAML_REACTIVEDATA_BUILDLINK3_MK) | 5 | .if !defined(OCAML_REACTIVEDATA_BUILDLINK3_MK) | |
6 | OCAML_REACTIVEDATA_BUILDLINK3_MK:= | 6 | OCAML_REACTIVEDATA_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.ocaml-reactiveData+= ocaml-reactiveData>=0.2.1 | 8 | BUILDLINK_API_DEPENDS.ocaml-reactiveData+= ocaml-reactiveData>=0.2.1 | |
9 | BUILDLINK_ABI_DEPENDS.ocaml-reactiveData+= ocaml-reactiveData>=0.2.2 | 9 | BUILDLINK_ABI_DEPENDS.ocaml-reactiveData+= ocaml-reactiveData>=0.3 | |
10 | BUILDLINK_PKGSRCDIR.ocaml-reactiveData?= ../../devel/ocaml-reactiveData | 10 | BUILDLINK_PKGSRCDIR.ocaml-reactiveData?= ../../devel/ocaml-reactiveData | |
11 | 11 | |||
12 | .include "../../devel/ocaml-react/buildlink3.mk" | 12 | .include "../../devel/ocaml-react/buildlink3.mk" | |
13 | .endif # OCAML_REACTIVEDATA_BUILDLINK3_MK | 13 | .endif # OCAML_REACTIVEDATA_BUILDLINK3_MK | |
14 | 14 | |||
15 | BUILDLINK_TREE+= -ocaml-reactiveData | 15 | BUILDLINK_TREE+= -ocaml-reactiveData |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.7 2021/10/26 10:15:55 nia Exp $ | 1 | $NetBSD: distinfo,v 1.8 2022/05/10 08:14:02 jaapb Exp $ | |
2 | 2 | |||
3 | BLAKE2s (reactiveData-0.2.2.tar.gz) = 3b2fa789ec2b2eaa9c7e396b8424d1f1ac51b5b07e57bfb87587922719d41297 | 3 | BLAKE2s (reactiveData-0.3.tar.gz) = 0334fe430e1c0b4b7efc83f9f64a6cc05c990ef4b2004d4a282594219250dd90 | |
4 | SHA512 (reactiveData-0.2.2.tar.gz) = 56c03d528feec769718c92075c49759dac287b93fe97d816da5cfadb26836d3855176cd81d4cec4441591dd9314e881045912a37edf584ad149ebd048016a4bf | 4 | SHA512 (reactiveData-0.3.tar.gz) = ed3e1057f457b4c76060a7f6aad2a555b5a2baebe3d2b8938f2e6f5acad448d09a20b7b82fe8bb3ebb97e5c5946d70214d5bd062311af564752e40b880f75603 | |
5 | Size (reactiveData-0.2.2.tar.gz) = 23512 bytes | 5 | Size (reactiveData-0.3.tar.gz) = 12559 bytes |