diff --git a/lang/Makefile b/lang/Makefile index 8a9997372742..10d5d113f040 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -1,402 +1,403 @@ COMMENT = Programming languages SUBDIR += abcl SUBDIR += alchemist.el SUBDIR += algol68g SUBDIR += amber SUBDIR += angelscript SUBDIR += antimony SUBDIR += apache-commons-jelly SUBDIR += asm-lsp SUBDIR += asn1c SUBDIR += atlast SUBDIR += awka SUBDIR += bas2tap SUBDIR += basic256 SUBDIR += bend SUBDIR += bsh SUBDIR += bwbasic SUBDIR += c SUBDIR += cairo SUBDIR += cbmbasic + SUBDIR += cbqn SUBDIR += ccl SUBDIR += ceylon SUBDIR += cfortran SUBDIR += chaiscript SUBDIR += chez-scheme SUBDIR += chibi-scheme SUBDIR += chicken SUBDIR += cim SUBDIR += cjs SUBDIR += cling SUBDIR += clips SUBDIR += clisp SUBDIR += clojure SUBDIR += clojure-mode.el SUBDIR += clover SUBDIR += cocor SUBDIR += coffeescript SUBDIR += colm SUBDIR += cparser SUBDIR += crumb SUBDIR += crystal SUBDIR += csharp-mode.el SUBDIR += cython SUBDIR += cython0 SUBDIR += dhall SUBDIR += dlang-tools SUBDIR += dotnet SUBDIR += dotnet-devel SUBDIR += dotnet-host SUBDIR += dotnet8 SUBDIR += duktape SUBDIR += duktape-lib SUBDIR += ecl SUBDIR += eisl SUBDIR += elixir SUBDIR += elixir-devel SUBDIR += elixir-mode.el SUBDIR += elk SUBDIR += elm SUBDIR += emacs-lisp-intro SUBDIR += emilua SUBDIR += erlang SUBDIR += erlang-doc SUBDIR += erlang-java SUBDIR += erlang-man SUBDIR += erlang-runtime21 SUBDIR += erlang-runtime22 SUBDIR += erlang-runtime23 SUBDIR += erlang-runtime24 SUBDIR += erlang-runtime25 SUBDIR += erlang-runtime26 SUBDIR += erlang-runtime27 SUBDIR += erlang-runtime28 SUBDIR += erlang-wx SUBDIR += execline SUBDIR += expect SUBDIR += f2c SUBDIR += fasm SUBDIR += fennel SUBDIR += ficl SUBDIR += fpc SUBDIR += fpc-devel SUBDIR += fpc-devel-source SUBDIR += fpc-docs SUBDIR += fpc-source SUBDIR += fsharp SUBDIR += fth SUBDIR += gambit-c SUBDIR += gauche SUBDIR += gawk SUBDIR += gcc SUBDIR += gcc12 SUBDIR += gcc12-devel SUBDIR += gcc13 SUBDIR += gcc13-devel SUBDIR += gcc14 SUBDIR += gcc14-devel SUBDIR += gcc15 SUBDIR += gcc15-devel SUBDIR += gcc16-devel SUBDIR += gcc6-aux SUBDIR += gforth SUBDIR += ghc SUBDIR += ghc92 SUBDIR += ghc94 SUBDIR += ghc96 SUBDIR += ghc98 SUBDIR += gir-to-d SUBDIR += gjs SUBDIR += gleam SUBDIR += gluon SUBDIR += gnat12 SUBDIR += gnat13 SUBDIR += gnat14 SUBDIR += gnatcross-binutils-aarch64 SUBDIR += gnatcross-sysroot-aarch64 SUBDIR += gnatdroid-binutils SUBDIR += gnatdroid-binutils-x86 SUBDIR += gnatdroid-sysroot SUBDIR += gnatdroid-sysroot-x86 SUBDIR += gnu-apl SUBDIR += gnu-cobol SUBDIR += gnustep-base SUBDIR += go SUBDIR += go-devel SUBDIR += go124 SUBDIR += go125 SUBDIR += go126 SUBDIR += gomacro SUBDIR += gprolog SUBDIR += gptscript SUBDIR += gravity SUBDIR += groovy SUBDIR += gscheme SUBDIR += guile SUBDIR += guile-aclocal SUBDIR += guile1 SUBDIR += guile2 SUBDIR += guile3 SUBDIR += halide SUBDIR += harec SUBDIR += haskell-mode.el SUBDIR += hermes SUBDIR += hla SUBDIR += hs-brainfuck SUBDIR += hs-futhark SUBDIR += hs-koka SUBDIR += hs-unlambda SUBDIR += huc SUBDIR += inko SUBDIR += intel-compute-runtime SUBDIR += intercal SUBDIR += io SUBDIR += io-devel SUBDIR += itcl SUBDIR += itcl4 SUBDIR += janet SUBDIR += jimtcl SUBDIR += jpm SUBDIR += jruby SUBDIR += julia SUBDIR += jython SUBDIR += kawa SUBDIR += kefir SUBDIR += kf5-kross SUBDIR += kotlin SUBDIR += kotlin22 SUBDIR += kturtle SUBDIR += lafontaine SUBDIR += lci SUBDIR += ldc SUBDIR += lfe SUBDIR += lfortran SUBDIR += libhx SUBDIR += libobjc2 SUBDIR += librep SUBDIR += libstdc++_stldoc_4.2.2 SUBDIR += linux-c7-tcl85 SUBDIR += linux-j SUBDIR += linux-rl9-python3 SUBDIR += linux-rl9-tcl86 SUBDIR += lua51 SUBDIR += lua52 SUBDIR += lua53 SUBDIR += lua54 SUBDIR += luajit SUBDIR += luajit-openresty SUBDIR += malbolge SUBDIR += maude SUBDIR += mawk SUBDIR += mdk SUBDIR += mecrisp-stellaris SUBDIR += micropython SUBDIR += mit-scheme SUBDIR += mixal SUBDIR += mlkit SUBDIR += mlton SUBDIR += mmix SUBDIR += mono SUBDIR += mono-basic SUBDIR += mono5.10 SUBDIR += mono5.20 SUBDIR += mono6.8 SUBDIR += mosh SUBDIR += mosml SUBDIR += mtasc SUBDIR += mujs SUBDIR += munger SUBDIR += myrddin SUBDIR += nawk SUBDIR += nbfc SUBDIR += neocmakelsp SUBDIR += nesasm SUBDIR += newlisp SUBDIR += nickle SUBDIR += nim SUBDIR += njs SUBDIR += nll SUBDIR += nqc SUBDIR += numbat SUBDIR += nwcc SUBDIR += nx SUBDIR += nyan SUBDIR += ocaml SUBDIR += ocaml-autoconf SUBDIR += ocaml-camlidl SUBDIR += odin SUBDIR += oo2c SUBDIR += opencoarrays SUBDIR += opensycl SUBDIR += ott SUBDIR += owl-lisp SUBDIR += p5-Data-JavaScript SUBDIR += p5-Error SUBDIR += p5-Expect SUBDIR += p5-ExtUtils-F77 SUBDIR += p5-Interpolation SUBDIR += p5-JSAN SUBDIR += p5-JavaScript-QuickJS SUBDIR += p5-JavaScript-Squish SUBDIR += p5-JavaScript-Value-Escape SUBDIR += p5-List-MoreUtils SUBDIR += p5-List-MoreUtils-XS SUBDIR += p5-Marpa SUBDIR += p5-Marpa-PP SUBDIR += p5-Marpa-XS SUBDIR += p5-Modern-Perl SUBDIR += p5-Perl6-Subs SUBDIR += p5-Promises SUBDIR += p5-Pugs-Compiler-Rule SUBDIR += p5-Quantum-Superpositions SUBDIR += p5-Scalar-List-Utils SUBDIR += p5-Switch SUBDIR += p5-Tcl SUBDIR += p5-Test-XPath SUBDIR += p5-Try-Catch SUBDIR += p5-Try-Tiny SUBDIR += p5-Try-Tiny-Retry SUBDIR += p5-TryCatch SUBDIR += p5-ePerl SUBDIR += p5-signatures SUBDIR += p5-v6 SUBDIR += pbasic SUBDIR += pcc SUBDIR += perl5-devel SUBDIR += perl5.38 SUBDIR += perl5.40 SUBDIR += perl5.42 SUBDIR += petite-chez SUBDIR += pfe SUBDIR += pharo SUBDIR += php-mode.el SUBDIR += php82 SUBDIR += php82-extensions SUBDIR += php83 SUBDIR += php83-extensions SUBDIR += php84 SUBDIR += php84-extensions SUBDIR += php85 SUBDIR += php85-extensions SUBDIR += picoc SUBDIR += picolisp SUBDIR += pkl SUBDIR += plexil SUBDIR += pocl SUBDIR += polyml SUBDIR += pomsky SUBDIR += prql SUBDIR += ptoc SUBDIR += purescript SUBDIR += py-dhall SUBDIR += py-gherkin-official SUBDIR += py-hy SUBDIR += py-lupa SUBDIR += py-sly SUBDIR += py-textX SUBDIR += python SUBDIR += python-doc-html SUBDIR += python-doc-text SUBDIR += python-mode.el SUBDIR += python-tools SUBDIR += python2 SUBDIR += python27 SUBDIR += python3 SUBDIR += python310 SUBDIR += python311 SUBDIR += python312 SUBDIR += python313 SUBDIR += python313t SUBDIR += python314 SUBDIR += qmasm SUBDIR += quickjs SUBDIR += quickjs-ng SUBDIR += quilc SUBDIR += racket SUBDIR += racket-minimal SUBDIR += ratfor SUBDIR += referenceassemblies-pcl SUBDIR += retro12 SUBDIR += rexx-imc SUBDIR += rexx-regina SUBDIR += rexx-regutil SUBDIR += rexx-wrapper SUBDIR += rhino SUBDIR += rizin SUBDIR += rizin-cutter SUBDIR += ruby32 SUBDIR += ruby33 SUBDIR += ruby34 SUBDIR += ruby40 SUBDIR += rubygem-rb_sys SUBDIR += rubygem-ruby_language_server SUBDIR += runawk SUBDIR += rust SUBDIR += rust-bootstrap SUBDIR += rust-nightly SUBDIR += rust188 SUBDIR += rustpython SUBDIR += s7 SUBDIR += s7-nrepl SUBDIR += sagittarius-scheme SUBDIR += sather-specification SUBDIR += sather-tutorial SUBDIR += sbcl SUBDIR += scala SUBDIR += scheme48 SUBDIR += scm SUBDIR += scratch SUBDIR += scryer-prolog SUBDIR += sdcc SUBDIR += see SUBDIR += seed7 SUBDIR += silq SUBDIR += siod SUBDIR += sisc SUBDIR += sketchy SUBDIR += slib SUBDIR += slib-guile SUBDIR += slisp SUBDIR += smalltalk SUBDIR += smlnj SUBDIR += snobol4 SUBDIR += solidity SUBDIR += spidermonkey115 SUBDIR += spidermonkey128 SUBDIR += spidermonkey140 SUBDIR += squeak SUBDIR += squirrel SUBDIR += starlark-rust SUBDIR += swift510 SUBDIR += swipl SUBDIR += tauthon SUBDIR += tcbasic SUBDIR += tcc SUBDIR += tcl-manual SUBDIR += tcl-wrapper SUBDIR += tcl86 SUBDIR += tcl90 SUBDIR += tclX SUBDIR += tolua SUBDIR += tolua++ SUBDIR += trealla-prolog SUBDIR += tuareg-mode.el SUBDIR += typescript-go SUBDIR += typstyle SUBDIR += ucc SUBDIR += urweb SUBDIR += v SUBDIR += v8 SUBDIR += v8-beta SUBDIR += vala SUBDIR += voc SUBDIR += yabasic SUBDIR += yap SUBDIR += yorick SUBDIR += ypsilon SUBDIR += zephir SUBDIR += zig SUBDIR += zig014 .include diff --git a/lang/cbqn/Makefile b/lang/cbqn/Makefile new file mode 100644 index 000000000000..92d2d4d220e2 --- /dev/null +++ b/lang/cbqn/Makefile @@ -0,0 +1,50 @@ +PORTNAME= cbqn +DISTVERSIONPREFIX= v +DISTVERSION= 0.11.0 +CATEGORIES= lang + +MAINTAINER= siva@FreeBSD.org +COMMENT= BQN implementation in C +WWW= https://github.com/dzaima/CBQN + +LICENSE= APACHE20 BSL GPLv3 LGPL3 MIT MPL20 +LICENSE_COMB= multi +LICENSE_FILE_APACHE20= ${WRKSRC}/licenses/LICENSE-Apache2 +LICENSE_FILE_BSL= ${WRKSRC}/licenses/LICENSE-Boost +LICENSE_FILE_GPLv3= ${WRKSRC}/licenses/LICENSE-GPLv3 +LICENSE_FILE_LGPL3= ${WRKSRC}/licenses/LICENSE-LGPLv3 +LICENSE_FILE_MIT= ${WRKSRC}/licenses/LICENSE-MIT-sort +LICENSE_FILE_MPL20= ${WRKSRC}/licenses/LICENSE-MPL2 + +USES= gmake pkgconfig + +USE_GITHUB= yes +GH_ACCOUNT= dzaima +GH_PROJECT= CBQN +GH_TUPLE= dzaima:replxx:5e3bd870699007b9536d29f60e3a2b0a68ce0a7a:replxx/build/replxxLocal \ + dzaima:cbqnBytecode:156b47caf895f6706811c5c34bbbbaf192b8018b:cbqnBytecode/build/bytecodeLocal \ + mlochbaum:Singeli:2936c66b061b9df61cafc1f8d07a7ed53bf10bee:Singeli/build/singeliLocal \ + mlochbaum:BQN:0ffb828ca19fe6f53463068fd92a0eb3776d62a4:mlochbaumBQN/test/mlochbaumBQN \ + +MAKEFILE= makefile +ALL_TARGET= default +MAKE_ARGS= notui=1 nogit=1 version=${DISTVERSION} + +OPTIONS_DEFINE= FFI +OPTIONS_DEFAULT= FFI + +FFI_DESC= FFI support +FFI_MAKE_ARGS_OFF= FFI=0 +FFI_LIB_DEPENDS= libffi.so:devel/libffi + +PLIST_FILES= bin/bqn \ + include/bqnffi.h + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bqn + +do-test: + (cd ${WRKSRC} && bqn -M 1000 test/mlochbaumBQN/test/this.bqn) + (cd ${WRKSRC}/test/cases && ${FIND} . -type f -name '*.bqn' | ${XARGS} bqn ../run.bqn) + +.include diff --git a/lang/cbqn/distinfo b/lang/cbqn/distinfo new file mode 100644 index 000000000000..1ada68e5a652 --- /dev/null +++ b/lang/cbqn/distinfo @@ -0,0 +1,11 @@ +TIMESTAMP = 1771001320 +SHA256 (dzaima-CBQN-v0.11.0_GH0.tar.gz) = b8b680b9c4a26f67a3949f28f58604ae1c52ef8d5d5d97d521393c528c36b178 +SIZE (dzaima-CBQN-v0.11.0_GH0.tar.gz) = 616036 +SHA256 (dzaima-replxx-5e3bd870699007b9536d29f60e3a2b0a68ce0a7a_GH0.tar.gz) = 7c5bee7bdd241a7050d3cc172c2bd119deeda8b2f4fd9f1a0e9f2eaa355d14d8 +SIZE (dzaima-replxx-5e3bd870699007b9536d29f60e3a2b0a68ce0a7a_GH0.tar.gz) = 100179 +SHA256 (dzaima-cbqnBytecode-156b47caf895f6706811c5c34bbbbaf192b8018b_GH0.tar.gz) = 050acbe9a8d0a104c1739addeaa23a4b9b0bef9bb4dcd48ca613790fb30048d7 +SIZE (dzaima-cbqnBytecode-156b47caf895f6706811c5c34bbbbaf192b8018b_GH0.tar.gz) = 70656 +SHA256 (mlochbaum-Singeli-2936c66b061b9df61cafc1f8d07a7ed53bf10bee_GH0.tar.gz) = feda6ea0c30c47984f2d2705201a044af9ca319b50f7125722f2c2395da561f5 +SIZE (mlochbaum-Singeli-2936c66b061b9df61cafc1f8d07a7ed53bf10bee_GH0.tar.gz) = 143621 +SHA256 (mlochbaum-BQN-0ffb828ca19fe6f53463068fd92a0eb3776d62a4_GH0.tar.gz) = 89757bef1f7a5208b88db280c54ecb5028047a217f6661e3a427eec522ebfcb3 +SIZE (mlochbaum-BQN-0ffb828ca19fe6f53463068fd92a0eb3776d62a4_GH0.tar.gz) = 3369569 diff --git a/lang/cbqn/pkg-descr b/lang/cbqn/pkg-descr new file mode 100644 index 000000000000..b941addee78c --- /dev/null +++ b/lang/cbqn/pkg-descr @@ -0,0 +1 @@ +A BQN implementation in C