diff options
author | Yan Ka Chiu <nyan@myuji.xyz> | 2024-06-26 17:35:29 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2024-06-26 17:58:26 +0000 |
commit | bbb58d3bb4b5e320f664ad2293d287a21e479a42 (patch) | |
tree | 53a0399711d6ed7b754a9cefed6e038fbef644de | |
parent | 17f150ca5c848e06bb7bad4e6ef3742b00b0669d (diff) |
Add lang/pkl, Apple's Open Source Configuration as Code language
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/pkl/Makefile | 27 | ||||
-rw-r--r-- | lang/pkl/distinfo | 3 | ||||
-rw-r--r-- | lang/pkl/pkg-descr | 6 |
4 files changed, 37 insertions, 0 deletions
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. |