git: bbb58d3bb4b5 - main - Add lang/pkl, Apple's Open Source Configuration as Code language
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jun 2024 17:59:24 UTC
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=bbb58d3bb4b5e320f664ad2293d287a21e479a42 commit bbb58d3bb4b5e320f664ad2293d287a21e479a42 Author: Yan Ka Chiu <nyan@myuji.xyz> AuthorDate: 2024-06-26 17:35:29 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2024-06-26 17:58:26 +0000 Add lang/pkl, Apple's Open Source Configuration as Code language --- lang/Makefile | 1 + lang/pkl/Makefile | 27 +++++++++++++++++++++++++++ lang/pkl/distinfo | 3 +++ lang/pkl/pkg-descr | 6 ++++++ 4 files changed, 37 insertions(+) diff --git a/lang/Makefile b/lang/Makefile index 6a29ebafe9dc..e1a6f03b1f54 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -285,6 +285,7 @@ SUBDIR += php83-extensions SUBDIR += picoc SUBDIR += picolisp + SUBDIR += pkl SUBDIR += plexil SUBDIR += pocl SUBDIR += polyml diff --git a/lang/pkl/Makefile b/lang/pkl/Makefile new file mode 100644 index 000000000000..ad759b3845a4 --- /dev/null +++ b/lang/pkl/Makefile @@ -0,0 +1,27 @@ +PORTNAME= pkl +DISTVERSION= 0.26.0 +CATEGORIES= lang java +MASTER_SITES= https://github.com/apple/pkl/releases/download/${PORTVERSION}/ +DISTNAME= jpkl +EXTRACT_SUFX= +DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} +EXTRACT_ONLY= # empty + +MAINTAINER= nyan@myuji.xyz +COMMENT= Apple's Open Source Configuration as Code language +WWW= https://pkl-lang.org + +LICENSE= APACHE20 + +USE_JAVA= yes +JAVA_VERSION= 17+ + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= bin/pkl + +do-install: + ${INSTALL_SCRIPT} ${DISTDIR}/${DIST_SUBDIR}/jpkl ${STAGEDIR}${PREFIX}/bin/pkl + +.include <bsd.port.mk> diff --git a/lang/pkl/distinfo b/lang/pkl/distinfo new file mode 100644 index 000000000000..7bef5a5457ce --- /dev/null +++ b/lang/pkl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1719362009 +SHA256 (pkl-0.26.0/jpkl) = dc00252bf14ec13decf869e5061052e4b7300db20f4797d6434cc26aa8bfe77d +SIZE (pkl-0.26.0/jpkl) = 14762791 diff --git a/lang/pkl/pkg-descr b/lang/pkl/pkg-descr new file mode 100644 index 000000000000..2aa358ee581a --- /dev/null +++ b/lang/pkl/pkg-descr @@ -0,0 +1,6 @@ +Pkl - pronounced Pickle - is an embeddable configuration language which +provides rich support for data templating and validation. It can be used from +the command line, integrated in a build pipeline, or embedded in a program. + +Pkl scales from small to large, simple to complex, ad-hoc to repetitive +configuration tasks.