summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjaapb <jaapb>2016-06-20 19:06:29 +0000
committerjaapb <jaapb>2016-06-20 19:06:29 +0000
commitf40f235bb30c2f9b032a1a65a919edac946cf919 (patch)
treeb25604fdba327e59864bf2ad2cf7124ceef80f4b /devel
parent8d2071c66f066cc3c2fdec0e16a99180b5ad074d (diff)
downloadpkgsrc-f40f235bb30c2f9b032a1a65a919edac946cf919.tar.gz
Updated package to latest version, 113.03.01. Changes include:
## 113.33.01+4.03 Remove generation of empty value bindings. ## 113.33.00+4.03 Various updates to work with OCaml 4.03.0
Diffstat (limited to 'devel')
-rw-r--r--devel/ocaml-ppx_type_conv/Makefile13
-rw-r--r--devel/ocaml-ppx_type_conv/PLIST30
-rw-r--r--devel/ocaml-ppx_type_conv/distinfo11
-rw-r--r--devel/ocaml-ppx_type_conv/patches/patch-Makefile23
4 files changed, 55 insertions, 22 deletions
diff --git a/devel/ocaml-ppx_type_conv/Makefile b/devel/ocaml-ppx_type_conv/Makefile
index 66caf56a149..0319ed9e78a 100644
--- a/devel/ocaml-ppx_type_conv/Makefile
+++ b/devel/ocaml-ppx_type_conv/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2016/06/09 06:23:39 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2016/06/20 19:06:29 jaapb Exp $
-VERSION= 113.24.00
+VERSION= 113.33.01
GITHUB_PROJECT= ppx_type_conv
+GITHUB_TAG= ${VERSION}+4.03
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
-PKGNAME= ${GITHUB_PROJECT}-${DISTNAME}
-PKGREVISION= 1
PKGNAME= ocaml-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=janestreet/}
@@ -14,12 +13,16 @@ HOMEPAGE= https://github.com/janestreet/ppx_type_conv/
COMMENT= Support library for type-driven code generators
LICENSE= apache-2.0
+WRKSRC= ${WRKDIR}/${DISTNAME}-4.03
HAS_CONFIGURE= yes
USE_LANGUAGES= # none
-OCAML_USE_OASIS_DYNRUN= yes
+OCAML_USE_FINDLIB= yes
.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-oasis/buildlink3.mk"
.include "../../devel/ocaml-ppx_deriving/buildlink3.mk"
.include "../../devel/ocaml-ppx_driver/buildlink3.mk"
.include "../../devel/ocaml-ppx_tools/buildlink3.mk"
+.include "../../devel/ocamlbuild/buildlink3.mk"
+.include "../../misc/ocaml-opam/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ocaml-ppx_type_conv/PLIST b/devel/ocaml-ppx_type_conv/PLIST
index 30c1a2d326e..f1c7338d406 100644
--- a/devel/ocaml-ppx_type_conv/PLIST
+++ b/devel/ocaml-ppx_type_conv/PLIST
@@ -1,19 +1,25 @@
-@comment $NetBSD: PLIST,v 1.1 2016/03/04 15:44:28 jaapb Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/06/20 19:06:29 jaapb Exp $
${OCAML_SITELIB}/ppx_type_conv/META
-${OCAML_SITELIB}/ppx_type_conv/ignore_unused_warning.mli
+${OCAML_SITELIB}/ppx_type_conv/ignore_unused_warning.annot
+${OCAML_SITELIB}/ppx_type_conv/ignore_unused_warning.cmt
+${OCAML_SITELIB}/ppx_type_conv/ignore_unused_warning.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_type_conv/ppx_type_conv.a
${OCAML_SITELIB}/ppx_type_conv/ppx_type_conv.cma
${OCAML_SITELIB}/ppx_type_conv/ppx_type_conv.cmi
+${OCAML_SITELIB}/ppx_type_conv/ppx_type_conv.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_type_conv/ppx_type_conv.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_type_conv/ppx_type_conv.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_type_conv/ppx_type_conv.cmxs
-${OCAML_SITELIB}/ppx_type_conv/std.ml
-${OCAML_SITELIB}/ppx_type_conv/type_conv.mli
-${OCAML_SITELIB}/ppx_type_conv_deriving/META
-${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_type_conv_deriving/ppx_type_conv_deriving.a
-${OCAML_SITELIB}/ppx_type_conv_deriving/ppx_type_conv_deriving.cma
-${OCAML_SITELIB}/ppx_type_conv_deriving/ppx_type_conv_deriving.cmi
-${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_type_conv_deriving/ppx_type_conv_deriving.cmx
-${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_type_conv_deriving/ppx_type_conv_deriving.cmxa
-${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_type_conv_deriving/ppx_type_conv_deriving.cmxs
-${OCAML_SITELIB}/ppx_type_conv_deriving/ppx_type_conv_deriving.ml
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_type_conv/ppx_type_conv_deriving.a
+${OCAML_SITELIB}/ppx_type_conv/ppx_type_conv_deriving.annot
+${OCAML_SITELIB}/ppx_type_conv/ppx_type_conv_deriving.cma
+${OCAML_SITELIB}/ppx_type_conv/ppx_type_conv_deriving.cmi
+${OCAML_SITELIB}/ppx_type_conv/ppx_type_conv_deriving.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_type_conv/ppx_type_conv_deriving.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_type_conv/ppx_type_conv_deriving.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_type_conv/ppx_type_conv_deriving.cmxs
+${OCAML_SITELIB}/ppx_type_conv/std.annot
+${OCAML_SITELIB}/ppx_type_conv/std.cmt
+${OCAML_SITELIB}/ppx_type_conv/type_conv.annot
+${OCAML_SITELIB}/ppx_type_conv/type_conv.cmt
+${OCAML_SITELIB}/ppx_type_conv/type_conv.cmti
diff --git a/devel/ocaml-ppx_type_conv/distinfo b/devel/ocaml-ppx_type_conv/distinfo
index 6cf8a54c880..f5760c665e5 100644
--- a/devel/ocaml-ppx_type_conv/distinfo
+++ b/devel/ocaml-ppx_type_conv/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2016/03/04 15:44:28 jaapb Exp $
+$NetBSD: distinfo,v 1.2 2016/06/20 19:06:29 jaapb Exp $
-SHA1 (ppx_type_conv-113.24.00.tar.gz) = 712df2b98074c9ab2a23ff7f7d97c97b53dd53d6
-RMD160 (ppx_type_conv-113.24.00.tar.gz) = 32820c4ff0b99c2c76b31417aa2fae6c88c74ef1
-SHA512 (ppx_type_conv-113.24.00.tar.gz) = 90b20009dd56a1df84b249c73d758ea6939fdc5b64805b6a9fa4aa9d299f11c6c0a73e13143b522dae1769b2ee3c57910f64475cb67527130947a108c987e22e
-Size (ppx_type_conv-113.24.00.tar.gz) = 16664 bytes
+SHA1 (ppx_type_conv-113.33.01.tar.gz) = 280dbfce2ce20c321c7ab3cad4fdaa39a994ac0f
+RMD160 (ppx_type_conv-113.33.01.tar.gz) = 0e1eb5e739ce11c3eec2059e13f6b1771f724bc4
+SHA512 (ppx_type_conv-113.33.01.tar.gz) = dacc99666a97d9021a83df74b25a8d54f7ed324e9dc76dd8447298944ba9c31e6320598486a260b1461ecf98e32be38d3a26de7b797f4462277ad780f8864f6c
+Size (ppx_type_conv-113.33.01.tar.gz) = 16693 bytes
+SHA1 (patch-Makefile) = 24b01c95d5324652289e903d965db6a1ffc27f0e
diff --git a/devel/ocaml-ppx_type_conv/patches/patch-Makefile b/devel/ocaml-ppx_type_conv/patches/patch-Makefile
new file mode 100644
index 00000000000..4a9965b9813
--- /dev/null
+++ b/devel/ocaml-ppx_type_conv/patches/patch-Makefile
@@ -0,0 +1,23 @@
+$NetBSD: patch-Makefile,v 1.1 2016/06/20 19:06:29 jaapb Exp $
+
+Install into correct location
+--- Makefile.orig 2016-04-18 10:11:00.000000000 +0000
++++ Makefile
+@@ -2,7 +2,7 @@
+
+ SETUP := setup.exe
+ NAME := ppx_type_conv
+-PREFIX = $(shell grep ^prefix= setup.data | cut -d\" -f 2)
++#PREFIX = $(shell grep ^prefix= setup.data | cut -d\" -f 2)
+
+ # Default rule
+ default: build
+@@ -30,7 +30,7 @@ $(NAME).install: js-utils/gen_install.ml
+ ocaml -I js-utils js-utils/gen_install.ml
+
+ install: $(NAME).install
+- opam-installer -i --prefix $(PREFIX) $(NAME).install
++ opam-installer -i --prefix ${DESTDIR}$(PREFIX) --libdir ${OCAML_SITELIBDIR} $(NAME).install
+
+ uninstall: $(NAME).install
+ opam-installer -u --prefix $(PREFIX) $(NAME).install