diff --git a/lang/Makefile b/lang/Makefile index d3bf6b3b4f04..02a50538b9ee 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -1,411 +1,412 @@ COMMENT = Programming languages SUBDIR += abcl SUBDIR += alchemist.el SUBDIR += algol68g SUBDIR += amber SUBDIR += angelscript SUBDIR += antimony SUBDIR += apache-commons-jelly SUBDIR += asm-lsp SUBDIR += asmc SUBDIR += asn1c SUBDIR += atlast SUBDIR += awka SUBDIR += babashka SUBDIR += bas2tap SUBDIR += basic256 SUBDIR += bend SUBDIR += bsh SUBDIR += bun SUBDIR += bun-linux SUBDIR += bwbasic SUBDIR += c SUBDIR += c3c SUBDIR += cairo SUBDIR += cairo-language-server 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 += clx SUBDIR += cocor SUBDIR += coffeescript SUBDIR += colm SUBDIR += cparser SUBDIR += crumb SUBDIR += crystal 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 += emacs-lisp-intro SUBDIR += emilua SUBDIR += erlang SUBDIR += erlang-doc SUBDIR += erlang-java SUBDIR += erlang-man SUBDIR += erlang-runtime27 SUBDIR += erlang-runtime28 SUBDIR += erlang-runtime29 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 SUBDIR += gcc16-devel SUBDIR += gcc17-devel SUBDIR += gcc6-aux SUBDIR += gforth SUBDIR += ghc SUBDIR += ghc910 SUBDIR += ghc96 SUBDIR += ghc98 SUBDIR += gir-to-d SUBDIR += gjs SUBDIR += gleam SUBDIR += gluon SUBDIR += gnat12 SUBDIR += gnat13 SUBDIR += gnat14 SUBDIR += gnat15 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 += go125 SUBDIR += go126 SUBDIR += go127 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 += lua55 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 += nickel 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 += perl-lsp SUBDIR += perl5-devel SUBDIR += perl5.40 SUBDIR += perl5.42 SUBDIR += perl5.44 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 += php86 SUBDIR += php86-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 += python314t SUBDIR += python315 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 += 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 += smallbasic SUBDIR += smalltalk SUBDIR += smlnj SUBDIR += snobol4 SUBDIR += solidity SUBDIR += spidermonkey128 SUBDIR += spidermonkey140 SUBDIR += spidermonkey153 SUBDIR += squeak SUBDIR += squirrel SUBDIR += starlark-rust SUBDIR += swift510 SUBDIR += swift6 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 SUBDIR += zig015 .include diff --git a/lang/smallbasic/Makefile b/lang/smallbasic/Makefile new file mode 100644 index 000000000000..02cacb670fc8 --- /dev/null +++ b/lang/smallbasic/Makefile @@ -0,0 +1,31 @@ +PORTNAME= SmallBASIC +DISTVERSIONPREFIX= v +DISTVERSION= 12_33 +DISTVERSIONSUFFIX= _FreeBSD +CATEGORIES= lang + +MAINTAINER= mehul.sanghvi@gmail.com +COMMENT= Interpreter for the BASIC programming language +WWW= https://smallbasic.github.io/ + +LICENSE= GPLv3 + +USES= autoreconf pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= smallbasic +GH_TUPLE= zserge:jsmn:25647e692c7906b96ffd2b05ca54c097948e879c:jsmn/src/lib/jsmn \ + dr-soft:miniaudio:0.11.22:miniaudio/src/lib/miniaudio \ + nothings:stb:f58f558c120e9b32c217290b80bad1a0729fbb2c:stb/src/lib/stb \ + lvandeve:lodepng:17d08dd26cac4d63f43af217ebd70318bfb8189c:lodepng/src/lib/lodepng + +GNU_CONFIGURE= yes + +PORTEXAMPLES= * + +OPTIONS_DEFINE= EXAMPLES + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) + +.include diff --git a/lang/smallbasic/distinfo b/lang/smallbasic/distinfo new file mode 100644 index 000000000000..3169efc043be --- /dev/null +++ b/lang/smallbasic/distinfo @@ -0,0 +1,11 @@ +TIMESTAMP = 1788017885 +SHA256 (smallbasic-SmallBASIC-v12_33_FreeBSD_GH0.tar.gz) = 3374a4299e40e65b2b9445a6fef8e15dafb1e9b6c71b7b9d678a32f1a5f0c845 +SIZE (smallbasic-SmallBASIC-v12_33_FreeBSD_GH0.tar.gz) = 1689583 +SHA256 (zserge-jsmn-25647e692c7906b96ffd2b05ca54c097948e879c_GH0.tar.gz) = 02ac62537ea34ee33b55efa41a832b78086548715298a454b6f304e29a7c9d43 +SIZE (zserge-jsmn-25647e692c7906b96ffd2b05ca54c097948e879c_GH0.tar.gz) = 12631 +SHA256 (dr-soft-miniaudio-0.11.22_GH0.tar.gz) = bcb07bfb27e6fa94d34da73ba2d5642d4940b208ec2a660dbf4e52e6b7cd492f +SIZE (dr-soft-miniaudio-0.11.22_GH0.tar.gz) = 4485197 +SHA256 (nothings-stb-f58f558c120e9b32c217290b80bad1a0729fbb2c_GH0.tar.gz) = be1a5dad9ac38f42ef8abf00bd7db776101661b77603f832fcc0bae843d82846 +SIZE (nothings-stb-f58f558c120e9b32c217290b80bad1a0729fbb2c_GH0.tar.gz) = 1513418 +SHA256 (lvandeve-lodepng-17d08dd26cac4d63f43af217ebd70318bfb8189c_GH0.tar.gz) = 83d828c5478ffe7bad0e8ed80678ef826206becbd8cf70097b6cc4d29549389b +SIZE (lvandeve-lodepng-17d08dd26cac4d63f43af217ebd70318bfb8189c_GH0.tar.gz) = 261776 diff --git a/lang/smallbasic/pkg-descr b/lang/smallbasic/pkg-descr new file mode 100644 index 000000000000..59b6f74c0a75 --- /dev/null +++ b/lang/smallbasic/pkg-descr @@ -0,0 +1,5 @@ +SmallBASIC is a fast and easy to learn BASIC language interpreter ideal for +everyday calculations, scripts and prototypes. SmallBASIC includes +trigonometric, matrices and algebra functions, a built in IDE, a powerful +string library, system, sound, and graphic commands along with structured +programming syntax. diff --git a/lang/smallbasic/pkg-plist b/lang/smallbasic/pkg-plist new file mode 100644 index 000000000000..e5653d767d73 --- /dev/null +++ b/lang/smallbasic/pkg-plist @@ -0,0 +1,3 @@ +bin/sbasic +share/applications/io.github.smallbasic.desktop +share/icons/hicolor/128x128/apps/sb-desktop-128x128.png