summaryrefslogtreecommitdiff
path: root/www/ocsigen-i18n
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2020-04-21 13:02:02 +0000
committerjaapb <jaapb@pkgsrc.org>2020-04-21 13:02:02 +0000
commit5d0c74193f02aa1ab95e7223dc50af0c0accc734 (patch)
tree78f5182928d647ec6dc061ecc69b0707dce657d1 /www/ocsigen-i18n
parentb2c2b3b12209b2c84c429cf933d8ec4b06316f2e (diff)
downloadpkgsrc-5d0c74193f02aa1ab95e7223dc50af0c0accc734.tar.gz
Updated www/ocsigen-i18n to version 3.5.0.
This adds a dependency on ppx_tools.
Diffstat (limited to 'www/ocsigen-i18n')
-rw-r--r--www/ocsigen-i18n/Makefile7
-rw-r--r--www/ocsigen-i18n/buildlink3.mk4
-rw-r--r--www/ocsigen-i18n/distinfo12
-rw-r--r--www/ocsigen-i18n/patches/patch-Makefile11
4 files changed, 18 insertions, 16 deletions
diff --git a/www/ocsigen-i18n/Makefile b/www/ocsigen-i18n/Makefile
index 62fb57eacba..468f48da81b 100644
--- a/www/ocsigen-i18n/Makefile
+++ b/www/ocsigen-i18n/Makefile
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.5 2019/11/04 22:09:58 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2020/04/21 13:02:02 jaapb Exp $
GITHUB_PROJECT= ocsigen-i18n
-DISTNAME= ${GITHUB_PROJECT}-3.4.0
+DISTNAME= ${GITHUB_PROJECT}-3.5.0
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=besport/}
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= https://github.com/besport/ocsigen-i18n/
-COMMENT= i18n package for Ocsigen
+COMMENT= I18n package for Ocsigen
LICENSE= gnu-lgpl-v2.1
USE_LANGUAGES= # none
@@ -27,4 +27,5 @@ MAKE_ENV+= OPTNESS=native
MAKE_ENV+= OPTNESS=byte
.endif
+.include "../../devel/ocaml-ppx_tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/ocsigen-i18n/buildlink3.mk b/www/ocsigen-i18n/buildlink3.mk
index 901dec299d6..522beca8603 100644
--- a/www/ocsigen-i18n/buildlink3.mk
+++ b/www/ocsigen-i18n/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2019/05/13 17:18:43 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2020/04/21 13:02:02 jaapb Exp $
BUILDLINK_TREE+= ocsigen-i18n
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= ocsigen-i18n
OCSIGEN_I18N_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ocsigen-i18n+= ocsigen-i18n>=3.1.0
-BUILDLINK_ABI_DEPENDS.ocsigen-i18n+= ocsigen-i18n>=3.4.0
+BUILDLINK_ABI_DEPENDS.ocsigen-i18n+= ocsigen-i18n>=3.5.0
BUILDLINK_PKGSRCDIR.ocsigen-i18n?= ../../www/ocsigen-i18n
.endif # OCSIGEN_I18N_BUILDLINK3_MK
diff --git a/www/ocsigen-i18n/distinfo b/www/ocsigen-i18n/distinfo
index fa9276c16cf..dede25ab682 100644
--- a/www/ocsigen-i18n/distinfo
+++ b/www/ocsigen-i18n/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2019/05/13 17:18:43 jaapb Exp $
+$NetBSD: distinfo,v 1.3 2020/04/21 13:02:02 jaapb Exp $
-SHA1 (ocsigen-i18n-3.4.0.tar.gz) = 52b259fb61b87ca975ac72550e62b6dba0e7e8d1
-RMD160 (ocsigen-i18n-3.4.0.tar.gz) = fdef1a2de97b3b3db26d3c76ad841aeb812ccb17
-SHA512 (ocsigen-i18n-3.4.0.tar.gz) = 04294b1c957a4dc4676f8e27d4b129b50c7a6f9ac3b1b1752792f55d981d24cebbed2da832e3d63c44cc139c698c8be3a50b69cca27c4f897bf8a2db39470ccb
-Size (ocsigen-i18n-3.4.0.tar.gz) = 6526 bytes
-SHA1 (patch-Makefile) = a3b5ac9c4572c37339813f017a079f39d3c47954
+SHA1 (ocsigen-i18n-3.5.0.tar.gz) = 1a3f03e09d0a824080f5db9ff350cb3d05059c7c
+RMD160 (ocsigen-i18n-3.5.0.tar.gz) = bb22149760e410d8cc893029b3a53ee2592fab90
+SHA512 (ocsigen-i18n-3.5.0.tar.gz) = 39d6a88fa5068d3c090696c757e43255b094da56fc49966ef2c89d4e1b9bcc1e2115d929f609a43a63402a2e6ab71866d1bb642d89655ba4ba5775004219dac9
+Size (ocsigen-i18n-3.5.0.tar.gz) = 6501 bytes
+SHA1 (patch-Makefile) = 8bce216858ae0d8a6c43c7b958b63db6aea30038
diff --git a/www/ocsigen-i18n/patches/patch-Makefile b/www/ocsigen-i18n/patches/patch-Makefile
index d00c8824312..dbcc1def30b 100644
--- a/www/ocsigen-i18n/patches/patch-Makefile
+++ b/www/ocsigen-i18n/patches/patch-Makefile
@@ -1,13 +1,14 @@
-$NetBSD: patch-Makefile,v 1.1 2018/06/05 16:02:40 jaapb Exp $
+$NetBSD: patch-Makefile,v 1.2 2020/04/21 13:02:02 jaapb Exp $
-Use proper installation programs and native compilation
---- Makefile.orig 2017-01-16 16:05:43.000000000 +0000
+Allow for bytecode or native compilation
+
+--- Makefile.orig 2019-11-15 16:18:31.000000000 +0000
+++ Makefile
@@ -1,4 +1,8 @@
+ifeq (${OPTNESS},native)
-+OCAMLC=ocamlfind ocamlopt
+ OCAMLOPT=ocamlfind ocamlopt
+else
- OCAMLC=ocamlfind ocamlc
++OCAMLOPT=ocamlfind ocamlc
+endif
CHECKER=ocsigen-i18n-checker
REWRITER=ocsigen-i18n-rewriter