pkgsrc-WIP-changes archive

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

ocaml-uunf: Add 16.0.0



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Sat Feb 15 08:06:14 2025 -0500
Changeset:	214915a2541467d004fd1aed04532a7d5da9e685

Modified Files:
	Makefile
Added Files:
	ocaml-uunf/DESCR
	ocaml-uunf/Makefile
	ocaml-uunf/PLIST
	ocaml-uunf/TODO
	ocaml-uunf/distinfo

Log Message:
ocaml-uunf: Add 16.0.0

Does not build yet.  (needed for geneweb)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=214915a2541467d004fd1aed04532a7d5da9e685

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

diffstat:
 Makefile            |  1 +
 ocaml-uunf/DESCR    |  4 ++++
 ocaml-uunf/Makefile | 27 +++++++++++++++++++++++++++
 ocaml-uunf/PLIST    |  4 ++++
 ocaml-uunf/TODO     |  8 ++++++++
 ocaml-uunf/distinfo |  5 +++++
 6 files changed, 49 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 03e79fb697..0df4b28bb1 100644
--- a/Makefile
+++ b/Makefile
@@ -2666,6 +2666,7 @@ SUBDIR+=	ocaml-ounit
 SUBDIR+=	ocaml-ptmap
 SUBDIR+=	ocaml-sedlex
 SUBDIR+=	ocaml-sha
+SUBDIR+=	ocaml-uunf
 SUBDIR+=	ocamlweb
 SUBDIR+=	occt
 SUBDIR+=	ocserv
diff --git a/ocaml-uunf/DESCR b/ocaml-uunf/DESCR
new file mode 100644
index 0000000000..6fc5a78a33
--- /dev/null
+++ b/ocaml-uunf/DESCR
@@ -0,0 +1,4 @@
+Uunf is an OCaml library for normalizing Unicode text.  It supports
+all Unicode normalization formsx.  The library is independent from any
+IO mechanism or Unicode text data structure and it can process text
+without a complete in-memory representation.
diff --git a/ocaml-uunf/Makefile b/ocaml-uunf/Makefile
new file mode 100644
index 0000000000..f29ea1b20a
--- /dev/null
+++ b/ocaml-uunf/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME=	uunf-16.0.0
+CATEGORIES=	textproc
+MASTER_SITES=	${MASTER_SITE_GITHUB:=dbuenzli/}
+GITHUB_TAG=	refs/tags/v${PKGVERSION_NOREV}
+
+MAINTAINER=	gdt%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/dbuenzli/uunf/
+COMMENT=	OCaml library for normalizing Unicode text
+LICENSE=	isc
+
+# Consider hoisting this to github.mk?
+WRKSRC=	${WRKDIR}/${DISTNAME}
+
+USE_LANGUAGES=
+
+.include "../../lang/ocaml/ocaml.mk"
+OCAML_USE_DUNE=	yes
+OCAML_USE_OPAM=	yes
+
+do-build:
+	cd ${WRKSRC} && ocaml pkg/pkg.ml build
+
+# Earliier, it seemed to demand uutf, despite documenting no dependencies.
+#.include "../../textproc/ocaml-uutf/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ocaml-uunf/PLIST b/ocaml-uunf/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/ocaml-uunf/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/ocaml-uunf/TODO b/ocaml-uunf/TODO
new file mode 100644
index 0000000000..a4ed9c5255
--- /dev/null
+++ b/ocaml-uunf/TODO
@@ -0,0 +1,8 @@
+  - Fix ocaml crash during build.
+
+  - See if OPAM should be overriding do-build, or if the override in
+    Makefile is ok.
+
+  - Figure out USE_LANGUAGES.
+
+  - Resolve use of uutf or not.
diff --git a/ocaml-uunf/distinfo b/ocaml-uunf/distinfo
new file mode 100644
index 0000000000..bf02b2ecbe
--- /dev/null
+++ b/ocaml-uunf/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (uunf-16.0.0.tar.gz) = 8db037e4254186dcca7493e553ab97f293e5710fb077582de61d253cfd9c1a52
+SHA512 (uunf-16.0.0.tar.gz) = 65fdc69fd1fa6f1dc9a8cf4f176e440ac9e5905989ffabf719d35d63a681f08b19748fd239c1d8c6c01e8feeca250322c321f69a889d50018900c53d011bac36
+Size (uunf-16.0.0.tar.gz) = 54558 bytes


Home | Main Index | Thread Index | Old Index