Updated www/ocsigen-i18n to version 3.5.0.

This adds a dependency on ppx_tools.
This commit is contained in:
jaapb 2020-04-21 13:02:02 +00:00
parent 5e5525c716
commit af8c4fb522
4 changed files with 18 additions and 16 deletions

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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