git: 91ce3a0df3d8 - main - devel/cl-flexi-streams{,-*}: New ports

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Sat, 28 Dec 2024 23:32:40 UTC
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=91ce3a0df3d843c846668b56eb8bbd257cbbbb9e

commit 91ce3a0df3d843c846668b56eb8bbd257cbbbb9e
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2024-12-26 04:01:37 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-12-28 23:29:17 +0000

    devel/cl-flexi-streams{,-*}: New ports
    
    FLEXI-STREAMS provides "virtual" bivalent streams that can be layered on
    top of real binary or bivalent streams.  These streams enable reading
    and writing of character data in various single- or multi-octet
    encodings, which can be dynamically changed.  The package also includes
    in-memory binary streams, similar to string streams, for efficient
    handling of binary data.
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/Makefile                         |  4 ++
 devel/cl-flexi-streams-ccl/Makefile    | 21 +++++++++
 devel/cl-flexi-streams-ccl/distinfo    |  3 ++
 devel/cl-flexi-streams-ccl/pkg-descr   |  7 +++
 devel/cl-flexi-streams-clisp/Makefile  | 21 +++++++++
 devel/cl-flexi-streams-clisp/distinfo  |  3 ++
 devel/cl-flexi-streams-clisp/pkg-descr |  7 +++
 devel/cl-flexi-streams-sbcl/Makefile   | 21 +++++++++
 devel/cl-flexi-streams-sbcl/distinfo   |  3 ++
 devel/cl-flexi-streams-sbcl/pkg-descr  |  7 +++
 devel/cl-flexi-streams/Makefile        | 36 +++++++++++++++
 devel/cl-flexi-streams/distinfo        |  3 ++
 devel/cl-flexi-streams/pkg-descr       |  5 ++
 devel/cl-flexi-streams/pkg-plist       | 84 ++++++++++++++++++++++++++++++++++
 14 files changed, 225 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index c59d7177c085..4bd6b4846132 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -420,6 +420,10 @@
     SUBDIR += cl-asdf-clisp
     SUBDIR += cl-asdf-sbcl
     SUBDIR += cl-cffi
+    SUBDIR += cl-flexi-streams
+    SUBDIR += cl-flexi-streams-ccl
+    SUBDIR += cl-flexi-streams-clisp
+    SUBDIR += cl-flexi-streams-sbcl
     SUBDIR += cl-freebsd-asdf-init
     SUBDIR += cl-infix
     SUBDIR += cl-infix-ccl
diff --git a/devel/cl-flexi-streams-ccl/Makefile b/devel/cl-flexi-streams-ccl/Makefile
new file mode 100644
index 000000000000..1dcc95856d5b
--- /dev/null
+++ b/devel/cl-flexi-streams-ccl/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	flexi-streams
+DISTVERSION=	1.0.20
+CATEGORIES=	devel lisp
+PKGNAMEPREFIX=	cl-
+DISTFILES=	# none
+
+MAINTAINER=	jrm@FreeBSD.org
+COMMENT=	Flexible bivalent streams for Common Lisp
+WWW=		http://edicl.github.io/flexi-streams/
+
+LICENSE=	BSD2CLAUSE
+
+BUILD_DEPENDS=	${LOCALBASE}/${CL_LIBDIR_REL}/flexi-streams/flexi-streams.asd:devel/cl-flexi-streams \
+		${LOCALBASE}/${CL_LIBDIR_REL}/trivial-gray-streams/cclfasl/package.fx64fsl:devel/cl-trivial-gray-streams-ccl
+RUN_DEPENDS=	${LOCALBASE}/${CL_LIBDIR_REL}/flexi-streams/flexi-streams.asd:devel/cl-flexi-streams \
+		${LOCALBASE}/${CL_LIBDIR_REL}/trivial-gray-streams/cclfasl/package.fx64fsl:devel/cl-trivial-gray-streams-ccl
+
+USES=		cl
+FASL_TARGET=	ccl
+
+.include <bsd.port.mk>
diff --git a/devel/cl-flexi-streams-ccl/distinfo b/devel/cl-flexi-streams-ccl/distinfo
new file mode 100644
index 000000000000..25c2b2d7739a
--- /dev/null
+++ b/devel/cl-flexi-streams-ccl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1735176168
+SHA256 (edicl-flexi-streams-v1.0.20_GH0.tar.gz) = 8ebb0226e3748529564bc564e4012912b7dc2326d73c06eb41b5d0d07a60b538
+SIZE (edicl-flexi-streams-v1.0.20_GH0.tar.gz) = 394939
diff --git a/devel/cl-flexi-streams-ccl/pkg-descr b/devel/cl-flexi-streams-ccl/pkg-descr
new file mode 100644
index 000000000000..d8db00dd3b3d
--- /dev/null
+++ b/devel/cl-flexi-streams-ccl/pkg-descr
@@ -0,0 +1,7 @@
+FLEXI-STREAMS provides "virtual" bivalent streams that can be layered on top
+of real binary or bivalent streams.  These streams enable reading and writing
+of character data in various single- or multi-octet encodings, which can be
+dynamically changed.  The package also includes in-memory binary streams,
+similar to string streams, for efficient handling of binary data.
+
+This package is compiled with CCL.
diff --git a/devel/cl-flexi-streams-clisp/Makefile b/devel/cl-flexi-streams-clisp/Makefile
new file mode 100644
index 000000000000..f594885397e3
--- /dev/null
+++ b/devel/cl-flexi-streams-clisp/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	flexi-streams
+DISTVERSION=	1.0.20
+CATEGORIES=	devel lisp
+PKGNAMEPREFIX=	cl-
+DISTFILES=	# none
+
+MAINTAINER=	jrm@FreeBSD.org
+COMMENT=	Flexible bivalent streams for Common Lisp
+WWW=		http://edicl.github.io/flexi-streams/
+
+LICENSE=	BSD2CLAUSE
+
+BUILD_DEPENDS=	${LOCALBASE}/${CL_LIBDIR_REL}/flexi-streams/flexi-streams.asd:devel/cl-flexi-streams \
+		${LOCALBASE}/${CL_LIBDIR_REL}/trivial-gray-streams/clispfasl/package.fas:devel/cl-trivial-gray-streams-clisp
+RUN_DEPENDS=	${LOCALBASE}/${CL_LIBDIR_REL}/flexi-streams/flexi-streams.asd:devel/cl-flexi-streams \
+		${LOCALBASE}/${CL_LIBDIR_REL}/trivial-gray-streams/clispfasl/package.fas:devel/cl-trivial-gray-streams-clisp
+
+USES=		cl
+FASL_TARGET=	clisp
+
+.include <bsd.port.mk>
diff --git a/devel/cl-flexi-streams-clisp/distinfo b/devel/cl-flexi-streams-clisp/distinfo
new file mode 100644
index 000000000000..25c2b2d7739a
--- /dev/null
+++ b/devel/cl-flexi-streams-clisp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1735176168
+SHA256 (edicl-flexi-streams-v1.0.20_GH0.tar.gz) = 8ebb0226e3748529564bc564e4012912b7dc2326d73c06eb41b5d0d07a60b538
+SIZE (edicl-flexi-streams-v1.0.20_GH0.tar.gz) = 394939
diff --git a/devel/cl-flexi-streams-clisp/pkg-descr b/devel/cl-flexi-streams-clisp/pkg-descr
new file mode 100644
index 000000000000..0d4821392c04
--- /dev/null
+++ b/devel/cl-flexi-streams-clisp/pkg-descr
@@ -0,0 +1,7 @@
+FLEXI-STREAMS provides "virtual" bivalent streams that can be layered on top
+of real binary or bivalent streams.  These streams enable reading and writing
+of character data in various single- or multi-octet encodings, which can be
+dynamically changed.  The package also includes in-memory binary streams,
+similar to string streams, for efficient handling of binary data.
+
+This package is compiled with CLISP.
diff --git a/devel/cl-flexi-streams-sbcl/Makefile b/devel/cl-flexi-streams-sbcl/Makefile
new file mode 100644
index 000000000000..e460d2fb8dff
--- /dev/null
+++ b/devel/cl-flexi-streams-sbcl/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	flexi-streams
+DISTVERSION=	1.0.20
+CATEGORIES=	devel lisp
+PKGNAMEPREFIX=	cl-
+DISTFILES=	# none
+
+MAINTAINER=	jrm@FreeBSD.org
+COMMENT=	Flexible bivalent streams for Common Lisp
+WWW=		http://edicl.github.io/flexi-streams/
+
+LICENSE=	BSD2CLAUSE
+
+BUILD_DEPENDS=	${LOCALBASE}/${CL_LIBDIR_REL}/flexi-streams/flexi-streams.asd:devel/cl-flexi-streams \
+		${LOCALBASE}/${CL_LIBDIR_REL}/trivial-gray-streams/sbclfasl/package.fasl:devel/cl-trivial-gray-streams-sbcl
+RUN_DEPENDS=	${LOCALBASE}/${CL_LIBDIR_REL}/flexi-streams/flexi-streams.asd:devel/cl-flexi-streams \
+		${LOCALBASE}/${CL_LIBDIR_REL}/trivial-gray-streams/sbclfasl/package.fasl:devel/cl-trivial-gray-streams-sbcl
+
+USES=		cl
+FASL_TARGET=	sbcl
+
+.include <bsd.port.mk>
diff --git a/devel/cl-flexi-streams-sbcl/distinfo b/devel/cl-flexi-streams-sbcl/distinfo
new file mode 100644
index 000000000000..25c2b2d7739a
--- /dev/null
+++ b/devel/cl-flexi-streams-sbcl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1735176168
+SHA256 (edicl-flexi-streams-v1.0.20_GH0.tar.gz) = 8ebb0226e3748529564bc564e4012912b7dc2326d73c06eb41b5d0d07a60b538
+SIZE (edicl-flexi-streams-v1.0.20_GH0.tar.gz) = 394939
diff --git a/devel/cl-flexi-streams-sbcl/pkg-descr b/devel/cl-flexi-streams-sbcl/pkg-descr
new file mode 100644
index 000000000000..a78f82ced317
--- /dev/null
+++ b/devel/cl-flexi-streams-sbcl/pkg-descr
@@ -0,0 +1,7 @@
+FLEXI-STREAMS provides "virtual" bivalent streams that can be layered on top
+of real binary or bivalent streams.  These streams enable reading and writing
+of character data in various single- or multi-octet encodings, which can be
+dynamically changed.  The package also includes in-memory binary streams,
+similar to string streams, for efficient handling of binary data.
+
+This package is compiled with SBCL.
diff --git a/devel/cl-flexi-streams/Makefile b/devel/cl-flexi-streams/Makefile
new file mode 100644
index 000000000000..d19c2c0e7ed7
--- /dev/null
+++ b/devel/cl-flexi-streams/Makefile
@@ -0,0 +1,36 @@
+PORTNAME=	flexi-streams
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.0.20
+CATEGORIES=	devel lisp
+PKGNAMEPREFIX=	cl-
+
+MAINTAINER=	jrm@FreeBSD.org
+COMMENT=	Flexible bivalent streams for Common Lisp 
+WWW=		http://edicl.github.io/flexi-streams/
+
+LICENSE=	BSD2CLAUSE
+
+RUN_DEPENDS=	${LOCALBASE}/${CL_LIBDIR_REL}/trivial-gray-streams/trivial-gray-streams.asd:devel/cl-trivial-gray-streams
+
+USES=		cl
+USE_GITHUB=	yes
+GH_ACCOUNT=	edicl
+
+NO_BUILD=	yes
+
+OPTIONS_DEFINE=	DOCS
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${ASDF_PATHNAME} ${STAGEDIR}${ASDF_PATHNAME}/test \
+		${STAGEDIR}${ASDF_REGISTRY}
+	${INSTALL_DATA} ${WRKSRC}/*.lisp ${STAGEDIR}${ASDF_PATHNAME}
+	${INSTALL_DATA} ${WRKSRC}/test/* ${STAGEDIR}${ASDF_PATHNAME}/test
+	${INSTALL_DATA} ${WRKSRC}/*.asd ${STAGEDIR}${ASDF_PATHNAME}
+	${RLN} ${STAGEDIR}${ASDF_PATHNAME}/*.asd ${STAGEDIR}${ASDF_REGISTRY}
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/CHANGELOG \
+		${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/devel/cl-flexi-streams/distinfo b/devel/cl-flexi-streams/distinfo
new file mode 100644
index 000000000000..25c2b2d7739a
--- /dev/null
+++ b/devel/cl-flexi-streams/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1735176168
+SHA256 (edicl-flexi-streams-v1.0.20_GH0.tar.gz) = 8ebb0226e3748529564bc564e4012912b7dc2326d73c06eb41b5d0d07a60b538
+SIZE (edicl-flexi-streams-v1.0.20_GH0.tar.gz) = 394939
diff --git a/devel/cl-flexi-streams/pkg-descr b/devel/cl-flexi-streams/pkg-descr
new file mode 100644
index 000000000000..67f5e2f12e0d
--- /dev/null
+++ b/devel/cl-flexi-streams/pkg-descr
@@ -0,0 +1,5 @@
+FLEXI-STREAMS provides "virtual" bivalent streams that can be layered on top
+of real binary or bivalent streams. These streams enable reading and writing
+of character data in various single- or multi-octet encodings, which can be
+dynamically changed.  The package also includes in-memory binary streams,
+similar to string streams, for efficient handling of binary data.
diff --git a/devel/cl-flexi-streams/pkg-plist b/devel/cl-flexi-streams/pkg-plist
new file mode 100644
index 000000000000..3ef3d1b8f61c
--- /dev/null
+++ b/devel/cl-flexi-streams/pkg-plist
@@ -0,0 +1,84 @@
+lib/common-lisp/flexi-streams/ascii.lisp
+lib/common-lisp/flexi-streams/code-pages.lisp
+lib/common-lisp/flexi-streams/conditions.lisp
+lib/common-lisp/flexi-streams/decode.lisp
+lib/common-lisp/flexi-streams/enc-cn-tbl.lisp
+lib/common-lisp/flexi-streams/encode.lisp
+lib/common-lisp/flexi-streams/external-format.lisp
+lib/common-lisp/flexi-streams/flexi-streams-test.asd
+lib/common-lisp/flexi-streams/flexi-streams.asd
+lib/common-lisp/flexi-streams/in-memory.lisp
+lib/common-lisp/flexi-streams/input.lisp
+lib/common-lisp/flexi-streams/io.lisp
+lib/common-lisp/flexi-streams/iso-8859.lisp
+lib/common-lisp/flexi-streams/koi8-r.lisp
+lib/common-lisp/flexi-streams/length.lisp
+lib/common-lisp/flexi-streams/lw-char-stream.lisp
+lib/common-lisp/flexi-streams/mac.lisp
+lib/common-lisp/flexi-streams/mapping.lisp
+lib/common-lisp/flexi-streams/output.lisp
+lib/common-lisp/flexi-streams/packages.lisp
+lib/common-lisp/flexi-streams/specials.lisp
+lib/common-lisp/flexi-streams/stream.lisp
+lib/common-lisp/flexi-streams/strings.lisp
+lib/common-lisp/flexi-streams/test/README
+lib/common-lisp/flexi-streams/test/hebrew_latin8_cr.txt
+lib/common-lisp/flexi-streams/test/hebrew_latin8_crlf.txt
+lib/common-lisp/flexi-streams/test/hebrew_latin8_lf.txt
+lib/common-lisp/flexi-streams/test/hebrew_utf8_cr.txt
+lib/common-lisp/flexi-streams/test/hebrew_utf8_crlf.txt
+lib/common-lisp/flexi-streams/test/hebrew_utf8_lf.txt
+lib/common-lisp/flexi-streams/test/kafka_cp1252_cr.txt
+lib/common-lisp/flexi-streams/test/kafka_cp1252_crlf.txt
+lib/common-lisp/flexi-streams/test/kafka_cp1252_lf.txt
+lib/common-lisp/flexi-streams/test/kafka_latin1_cr.txt
+lib/common-lisp/flexi-streams/test/kafka_latin1_crlf.txt
+lib/common-lisp/flexi-streams/test/kafka_latin1_lf.txt
+lib/common-lisp/flexi-streams/test/kafka_utf8_cr.txt
+lib/common-lisp/flexi-streams/test/kafka_utf8_crlf.txt
+lib/common-lisp/flexi-streams/test/kafka_utf8_lf.txt
+lib/common-lisp/flexi-streams/test/mac_chars_mac_cr.txt
+lib/common-lisp/flexi-streams/test/mac_chars_mac_crlf.txt
+lib/common-lisp/flexi-streams/test/mac_chars_mac_lf.txt
+lib/common-lisp/flexi-streams/test/mac_chars_utf8_cr.txt
+lib/common-lisp/flexi-streams/test/mac_chars_utf8_crlf.txt
+lib/common-lisp/flexi-streams/test/mac_chars_utf8_lf.txt
+lib/common-lisp/flexi-streams/test/packages.lisp
+lib/common-lisp/flexi-streams/test/russian_koi8r_cr.txt
+lib/common-lisp/flexi-streams/test/russian_koi8r_crlf.txt
+lib/common-lisp/flexi-streams/test/russian_koi8r_lf.txt
+lib/common-lisp/flexi-streams/test/russian_utf8_cr.txt
+lib/common-lisp/flexi-streams/test/russian_utf8_crlf.txt
+lib/common-lisp/flexi-streams/test/russian_utf8_lf.txt
+lib/common-lisp/flexi-streams/test/test.lisp
+lib/common-lisp/flexi-streams/test/tilton_ascii_cr.txt
+lib/common-lisp/flexi-streams/test/tilton_ascii_crlf.txt
+lib/common-lisp/flexi-streams/test/tilton_ascii_lf.txt
+lib/common-lisp/flexi-streams/test/tilton_utf8_cr.txt
+lib/common-lisp/flexi-streams/test/tilton_utf8_crlf.txt
+lib/common-lisp/flexi-streams/test/tilton_utf8_lf.txt
+lib/common-lisp/flexi-streams/test/unicode_demo_ucs2_cr_be.txt
+lib/common-lisp/flexi-streams/test/unicode_demo_ucs2_cr_le.txt
+lib/common-lisp/flexi-streams/test/unicode_demo_ucs2_crlf_be.txt
+lib/common-lisp/flexi-streams/test/unicode_demo_ucs2_crlf_le.txt
+lib/common-lisp/flexi-streams/test/unicode_demo_ucs2_lf_be.txt
+lib/common-lisp/flexi-streams/test/unicode_demo_ucs2_lf_le.txt
+lib/common-lisp/flexi-streams/test/unicode_demo_ucs4_cr_be.txt
+lib/common-lisp/flexi-streams/test/unicode_demo_ucs4_cr_le.txt
+lib/common-lisp/flexi-streams/test/unicode_demo_ucs4_crlf_be.txt
+lib/common-lisp/flexi-streams/test/unicode_demo_ucs4_crlf_le.txt
+lib/common-lisp/flexi-streams/test/unicode_demo_ucs4_lf_be.txt
+lib/common-lisp/flexi-streams/test/unicode_demo_ucs4_lf_le.txt
+lib/common-lisp/flexi-streams/test/unicode_demo_utf8_cr.txt
+lib/common-lisp/flexi-streams/test/unicode_demo_utf8_crlf.txt
+lib/common-lisp/flexi-streams/test/unicode_demo_utf8_lf.txt
+lib/common-lisp/flexi-streams/test/xjt_gbk_cr.txt
+lib/common-lisp/flexi-streams/test/xjt_gbk_crlf.txt
+lib/common-lisp/flexi-streams/test/xjt_gbk_lf.txt
+lib/common-lisp/flexi-streams/util.lisp
+lib/common-lisp/system-registry/flexi-streams-test.asd
+lib/common-lisp/system-registry/flexi-streams.asd
+%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+%%PORTDOCS%%%%DOCSDIR%%/foo.txt
+%%PORTDOCS%%%%DOCSDIR%%/index.html