diff --git a/lang/Makefile b/lang/Makefile index 53ceb0f5ba9a..8583715f1acc 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -1,388 +1,389 @@ COMMENT = Programming languages SUBDIR += abcl SUBDIR += alchemist.el SUBDIR += algol68g SUBDIR += angelscript SUBDIR += antimony SUBDIR += apache-commons-jelly SUBDIR += asn1c SUBDIR += atlast SUBDIR += awka SUBDIR += bas2tap SUBDIR += basic256 SUBDIR += bsh SUBDIR += bwbasic SUBDIR += c SUBDIR += cairo SUBDIR += cbmbasic 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 += crystal SUBDIR += csharp-mode.el SUBDIR += cython SUBDIR += cython-devel SUBDIR += cython3 SUBDIR += dhall SUBDIR += dlang-tools 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 += 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-wx SUBDIR += execline SUBDIR += expect SUBDIR += f2c SUBDIR += fasm SUBDIR += fennel SUBDIR += ferite SUBDIR += ficl SUBDIR += fpc SUBDIR += fpc-base SUBDIR += fpc-docs SUBDIR += fpc-lua SUBDIR += fpc-pastojs SUBDIR += fpc-rexx SUBDIR += fpc-rtl-console SUBDIR += fpc-rtl-extra SUBDIR += fpc-rtl-generics SUBDIR += fpc-rtl-objpas SUBDIR += fpc-rtl-unicode SUBDIR += fpc-source SUBDIR += fpc-units SUBDIR += fpc-utils SUBDIR += frawk SUBDIR += fsharp SUBDIR += fth SUBDIR += gambit-c SUBDIR += gauche SUBDIR += gawk SUBDIR += gcc SUBDIR += gcc10 SUBDIR += gcc11 SUBDIR += gcc11-devel SUBDIR += gcc12 SUBDIR += gcc12-devel SUBDIR += gcc13 SUBDIR += gcc13-devel SUBDIR += gcc14-devel SUBDIR += gcc48 SUBDIR += gcc6-aux SUBDIR += gcc8 SUBDIR += gcc9 SUBDIR += gforth SUBDIR += ghc SUBDIR += ghc810 SUBDIR += ghc92 SUBDIR += gir-to-d SUBDIR += gjs SUBDIR += gleam SUBDIR += gnat12 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 += go119 SUBDIR += go120 SUBDIR += go121 SUBDIR += gomacro SUBDIR += gprolog 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-unlambda SUBDIR += huc SUBDIR += icc 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 += kf5-kross SUBDIR += kotlin SUBDIR += kross-interpreters 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-dotnet-cli SUBDIR += linux-dotnet-runtime SUBDIR += linux-dotnet-sdk SUBDIR += linux-dotnet10-runtime SUBDIR += linux-dotnet11-runtime SUBDIR += linux-dotnet11-sdk SUBDIR += linux-j SUBDIR += lua51 SUBDIR += lua52 SUBDIR += lua53 SUBDIR += lua54 SUBDIR += luajit SUBDIR += luajit-devel 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 += neko SUBDIR += nesasm SUBDIR += newlisp SUBDIR += nhc98 SUBDIR += nickle SUBDIR += nim SUBDIR += njs + SUBDIR += nll SUBDIR += nqc SUBDIR += nwcc SUBDIR += nx SUBDIR += nyan SUBDIR += ocaml SUBDIR += ocaml-autoconf SUBDIR += ocaml-camlidl SUBDIR += ocaml-nox11 SUBDIR += onyx 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-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 += parrot SUBDIR += pbasic SUBDIR += pcc SUBDIR += perl5-devel SUBDIR += perl5.32 SUBDIR += perl5.34 SUBDIR += perl5.36 SUBDIR += perl5.38 SUBDIR += petite-chez SUBDIR += pfe SUBDIR += pharo SUBDIR += php-mode.el SUBDIR += php80 SUBDIR += php80-extensions SUBDIR += php81 SUBDIR += php81-extensions SUBDIR += php82 SUBDIR += php82-extensions SUBDIR += php83 SUBDIR += php83-extensions SUBDIR += picoc SUBDIR += plexil SUBDIR += pocl SUBDIR += polyml SUBDIR += pomsky SUBDIR += prql SUBDIR += ptoc SUBDIR += purescript SUBDIR += py-hy SUBDIR += py-lupa SUBDIR += py-textX SUBDIR += python SUBDIR += python-doc-html SUBDIR += python-doc-pdf-a4 SUBDIR += python-doc-pdf-letter SUBDIR += python-doc-text SUBDIR += python-mode.el SUBDIR += python-tools SUBDIR += python2 SUBDIR += python27 SUBDIR += python3 SUBDIR += python310 SUBDIR += python311 SUBDIR += python38 SUBDIR += python39 SUBDIR += qmasm SUBDIR += qscheme SUBDIR += quickjs 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 += ruby30 SUBDIR += ruby31 SUBDIR += ruby32 SUBDIR += ruby33 SUBDIR += rubygem-rb_sys SUBDIR += rubygem-ruby_language_server SUBDIR += runawk SUBDIR += rust SUBDIR += rust-bootstrap SUBDIR += rust-nightly SUBDIR += sagittarius-scheme SUBDIR += sather-specification SUBDIR += sather-tutorial SUBDIR += sbcl SUBDIR += scala SUBDIR += scheme48 SUBDIR += scm SUBDIR += scratch 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 += spidermonkey102 SUBDIR += spidermonkey78 SUBDIR += spidermonkey91 SUBDIR += spl SUBDIR += squeak SUBDIR += squirrel SUBDIR += swi-pl SUBDIR += tauthon SUBDIR += tcbasic SUBDIR += tcc SUBDIR += tcl-manual SUBDIR += tcl-wrapper SUBDIR += tcl85 SUBDIR += tcl86 SUBDIR += tcl87 SUBDIR += tclX SUBDIR += tolua SUBDIR += tolua++ SUBDIR += tuareg-mode.el SUBDIR += twelf 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 .include diff --git a/lang/nll/Makefile b/lang/nll/Makefile new file mode 100644 index 000000000000..2c8cebfc1541 --- /dev/null +++ b/lang/nll/Makefile @@ -0,0 +1,107 @@ +PORTNAME= nll +PORTVERSION= 20230909a +CATEGORIES= lang +MASTER_SITES= https://kozos.jp/nlux/archive/ +DISTNAME= nlux-alpha-20230909 + +MAINTAINER= kozos@kozos.jp +COMMENT= Simple language for programming learning +WWW= https://kozos.jp/nll/ + +LICENSE= ZLIB +LICENSE_FILE= ${WRKSRC}/LICENSE + +FLAVORS= default nosdl +FLAVOR?= ${FLAVORS:[1]} +nosdl_PKGNAMESUFFIX= -nosdl + +USES= zip +WRKSRC= ${WRKDIR}/nlux/${PORTNAME} +MAKE_ARGS= BUILD= ARCH= CCOMPILER=${CC} + +PORTDOCS= README.txt AUDIO.txt +PORTEXAMPLES= *.nll + +PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz + +OPTIONS_DEFINE= DOCS EXAMPLES NCURSES SYSTEM SYSCALL NETWORK +OPTIONS_DEFAULT?= NCURSES SYSTEM LIBEDIT SDL2 + +OPTIONS_RADIO= LINEEDIT +OPTIONS_RADIO_LINEEDIT= LIBEDIT READLINE NLLINE GETLINE FGETS + +LINEEDIT_DESC= Line editor +NLLINE_DESC= Internal readline compatible library +GETLINE_DESC= Use getline +FGETS_DESC= Use fgets() + +NCURSES_USES= ncurses + +SYSTEM_DESC= System function support +SYSCALL_DESC= System call function support +NETWORK_DESC= Network support + +LIBEDIT_USES= libedit +READLINE_USES= readline + +NCURSES_MAKE_ARGS= +NCURSES_MAKE_ARGS_OFF= USE_CURSES= + +SYSTEM_MAKE_ARGS= USE_SYSTEM_FUNCTION=yes +SYSTEM_MAKE_ARGS_OFF= USE_SYSTEM_FUNCTION= +SYSCALL_MAKE_ARGS= USE_SYSCALL_FUNCTION=yes +SYSCALL_MAKE_ARGS_OFF= USE_SYSCALL_FUNCTION= +NETWORK_MAKE_ARGS= USE_NETWORK_FUNCTION=yes +NETWORK_MAKE_ARGS_OFF= USE_NETWORK_FUNCTION= + +LIBEDIT_MAKE_ARGS= READLINE=libedit READLINEDIR=${LOCALBASE} +READLINE_MAKE_ARGS= READLINE=readline READLINEDIR=${LOCALBASE} +NLLINE_MAKE_ARGS= READLINE=nlline +GETLINE_MAKE_ARGS= READLINE=getline +FGETS_MAKE_ARGS= READLINE=fgets + +.if ${FLAVOR} == default +OPTIONS_RADIO+= SDLVER +OPTIONS_RADIO_SDLVER= NOSDL SDL1 SDL2 + +SDLVER_DESC= SDL version +NOSDL_DESC= Disable SDL (limited graphic and audio function) +SDL1_DESC= Use SDL 1.2 +SDL2_DESC= Use SDL 2.0 + +SDL1_USES= sdl xorg +SDL1_USE= XORG=x11 SDL=sdl +SDL2_USES= sdl xorg +SDL2_USE= XORG=x11 SDL=sdl2 + +NOSDL_MAKE_ARGS= USE_SDL1= USE_SDL2= +NOSDL_MAKE_ARGS_OFF= +SDL1_MAKE_ARGS= USE_SDL1=yes SDLDIR=${LOCALBASE} +SDL1_MAKE_ARGS_OFF= USE_SDL1= +SDL2_MAKE_ARGS= USE_SDL2=yes SDLDIR=${LOCALBASE} +SDL2_MAKE_ARGS_OFF= USE_SDL2= +.endif + +.if ${FLAVOR} == nosdl +COMMENT+= (limited graphic and audio function) +MAKE_ARGS= USE_SDL1= USE_SDL2= +.endif + +post-install: + ${INSTALL_PROGRAM} ${WRKDIR}/nlux/bin/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKDIR}/nlux/man/man1/${PORTNAME}.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1 + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S/^/${WRKSRC}\//} ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${PORTEXAMPLES:S/^/${WRKSRC}\/samples\//} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${PORTEXAMPLES:S/^/${WRKSRC}\/samples\/graphic\//} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${PORTEXAMPLES:S/^/${WRKSRC}\/samples\/audio\//} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${PORTEXAMPLES:S/^/${WRKSRC}\/samples\/network\//} ${STAGEDIR}${EXAMPLESDIR} + +.include diff --git a/lang/nll/distinfo b/lang/nll/distinfo new file mode 100644 index 000000000000..5ce1a431307a --- /dev/null +++ b/lang/nll/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1694231096 +SHA256 (nlux-alpha-20230909.zip) = 95de3cff019d852872f1870b4838fc939c6394a407659e582f3afc8735a47671 +SIZE (nlux-alpha-20230909.zip) = 998690 diff --git a/lang/nll/pkg-descr b/lang/nll/pkg-descr new file mode 100644 index 000000000000..4286badd2308 --- /dev/null +++ b/lang/nll/pkg-descr @@ -0,0 +1,11 @@ +NLL is a simple language for programming learning + +Simple script language for beginners for programming learning. + +Complicated sentence structures are abolished and It is designed to understand +if you can go on reading it by a line unit. +Integer arithmetic, character string processing, a floating decimal operation +are possible. +This has text drawing, graphic and sound function and can make simple games. + +NLL is one implementation in NLUX of programming language HOBBY.