diff --git a/lang/Makefile b/lang/Makefile index 50b3ac6155a0..89ca060a1de5 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -1,366 +1,367 @@ # $FreeBSD$ # COMMENT = Programming languages SUBDIR += Gofer SUBDIR += STk SUBDIR += Sather SUBDIR += TenDRA SUBDIR += abcl SUBDIR += afnix SUBDIR += alisp SUBDIR += arena SUBDIR += asn1c SUBDIR += atlast SUBDIR += awka SUBDIR += bas2tap SUBDIR += bf2c SUBDIR += bigloo SUBDIR += bsh SUBDIR += bwbasic SUBDIR += caml-light SUBDIR += ccscript SUBDIR += cduce SUBDIR += cfortran SUBDIR += chicken SUBDIR += cim SUBDIR += cint SUBDIR += clips SUBDIR += clisp SUBDIR += clojure SUBDIR += clojure-mode.el SUBDIR += cmucl SUBDIR += cmucl-extra SUBDIR += cocor SUBDIR += compaq-cc SUBDIR += cparser SUBDIR += csharp-mode.el SUBDIR += cu-prolog SUBDIR += cython SUBDIR += dice SUBDIR += diveintopython SUBDIR += dlv SUBDIR += drscheme SUBDIR += dylan SUBDIR += ecl SUBDIR += eiffel SUBDIR += elan SUBDIR += elisp-manual SUBDIR += elk SUBDIR += emacs-lisp-intro SUBDIR += embryo SUBDIR += eperl SUBDIR += erlang SUBDIR += erlang-doc SUBDIR += erlang-lite SUBDIR += etoile-compiler SUBDIR += etoile-io SUBDIR += etoile-languagekit SUBDIR += etoile-lkplugins SUBDIR += etoile-scriptkit SUBDIR += etoile-smalltalkkit SUBDIR += execline SUBDIR += expect SUBDIR += expect-devel SUBDIR += ezm3 SUBDIR += f2c SUBDIR += f77 SUBDIR += fasm SUBDIR += fbbi SUBDIR += ferite SUBDIR += ficl-devel SUBDIR += fpc SUBDIR += fpc-base SUBDIR += fpc-docs SUBDIR += fpc-tcl SUBDIR += fpc-units SUBDIR += fpc-utils SUBDIR += freetxl SUBDIR += g95 SUBDIR += gambas SUBDIR += gambit-c SUBDIR += gauche SUBDIR += gawk SUBDIR += gcc-ooo SUBDIR += gcc295 SUBDIR += gcc34 SUBDIR += gcc42 SUBDIR += gcc42-withgcjawt SUBDIR += gcc43 SUBDIR += gcc44 SUBDIR += gcl SUBDIR += gdc SUBDIR += gforth SUBDIR += ghc SUBDIR += ghc-doc SUBDIR += gnat SUBDIR += gnat-doc-html SUBDIR += gnat-doc-info SUBDIR += gnat-doc-ps SUBDIR += gnat-doc-texi SUBDIR += gnat-doc-txt SUBDIR += gnat-gcc41 SUBDIR += gnat-gcc42 SUBDIR += gnat-gcc43 SUBDIR += gnat-glade SUBDIR += gnustep-base SUBDIR += gnustep-guile SUBDIR += gnustep-objc SUBDIR += gpc SUBDIR += gprolog SUBDIR += groovy SUBDIR += gscheme SUBDIR += guile SUBDIR += harbour SUBDIR += haskell-mode.el SUBDIR += hla SUBDIR += hope SUBDIR += huc SUBDIR += hugs SUBDIR += icc SUBDIR += icc7 SUBDIR += ici SUBDIR += icon SUBDIR += ifc SUBDIR += ifc7 SUBDIR += imp-interpreter SUBDIR += intel2gas SUBDIR += intercal SUBDIR += io SUBDIR += ironpython SUBDIR += itcl SUBDIR += jakarta-commons-jelly SUBDIR += jruby SUBDIR += jython SUBDIR += kawa SUBDIR += klogoturtle SUBDIR += klone SUBDIR += kroc SUBDIR += lafontaine SUBDIR += libjit SUBDIR += librep SUBDIR += libstdc++_stldoc_3.4.0 SUBDIR += libstdc++_stldoc_4.2.2 SUBDIR += libutils SUBDIR += linux-f8-libg2c SUBDIR += linux-j SUBDIR += linux-libg2c SUBDIR += linux-libperl5.8 SUBDIR += llvm-gcc4 SUBDIR += logo SUBDIR += lua SUBDIR += lua-mode.el SUBDIR += lua4 SUBDIR += lua50 SUBDIR += lush SUBDIR += maude SUBDIR += mawk SUBDIR += mdk SUBDIR += metaocaml SUBDIR += mit-scheme SUBDIR += mixal SUBDIR += ml-pnet SUBDIR += mlton SUBDIR += mmix SUBDIR += mono SUBDIR += moscow_ml SUBDIR += mosh SUBDIR += mozart SUBDIR += mpd SUBDIR += mtasc SUBDIR += munger SUBDIR += nawk SUBDIR += nbc SUBDIR += nbfc SUBDIR += neko SUBDIR += nesasm SUBDIR += newlisp SUBDIR += nhc98 SUBDIR += nickle SUBDIR += njs SUBDIR += nml SUBDIR += nqc SUBDIR += nwcc SUBDIR += objc SUBDIR += ocaml SUBDIR += ocaml-camlidl SUBDIR += ocaml-doc SUBDIR += ocaml-examples SUBDIR += ocaml-mode.el SUBDIR += ocaml-nox11 SUBDIR += ocamlduce SUBDIR += ocs SUBDIR += ofc SUBDIR += ohugs SUBDIR += onyx SUBDIR += oo2c SUBDIR += oorexx SUBDIR += open-cobol SUBDIR += opendylan SUBDIR += osb-jscore SUBDIR += otcl SUBDIR += p2c SUBDIR += p5-Data-JavaScript SUBDIR += p5-Error SUBDIR += p5-Expect SUBDIR += p5-F77 SUBDIR += p5-Interpolation SUBDIR += p5-JSAN SUBDIR += p5-JavaScript SUBDIR += p5-JavaScript-SpiderMonkey SUBDIR += p5-JavaScript-Squish SUBDIR += p5-List-MoreUtils SUBDIR += p5-Perl6-Subs SUBDIR += p5-Pugs-Compiler-Rule SUBDIR += p5-Quantum-Superpositions SUBDIR += p5-Scalar-List-Utils SUBDIR += p5-Switch SUBDIR += p5-Tcl SUBDIR += p5-ePerl SUBDIR += p5-v6 SUBDIR += parrot SUBDIR += pbasic SUBDIR += pcc SUBDIR += pecl-perl SUBDIR += perl5.6 SUBDIR += perl5.8 SUBDIR += perl5.10 SUBDIR += pexts SUBDIR += pfe-devel SUBDIR += phc SUBDIR += php-mode.el SUBDIR += php4 SUBDIR += php4-extensions SUBDIR += php4-overload SUBDIR += php5 SUBDIR += php5-extensions SUBDIR += php_doc SUBDIR += pike72 SUBDIR += pike76 SUBDIR += plt-scheme SUBDIR += pm3-base SUBDIR += pm3-forms SUBDIR += pm3-gui SUBDIR += pm3-m3tk SUBDIR += pm3-net SUBDIR += pm3-netobj SUBDIR += pnet SUBDIR += pnet-base SUBDIR += pnetc SUBDIR += pnetlib SUBDIR += polyml SUBDIR += ptoc SUBDIR += pugs SUBDIR += py-mx-base SUBDIR += py-prolog SUBDIR += python SUBDIR += python-doc-html SUBDIR += python-doc-pdf-a4 SUBDIR += python-doc-pdf-letter SUBDIR += python-doc-postscript-a4 SUBDIR += python-doc-postscript-letter SUBDIR += python-mode.el SUBDIR += python23 SUBDIR += python24 SUBDIR += python25 SUBDIR += python26 SUBDIR += python30 SUBDIR += q SUBDIR += qscheme SUBDIR += ratfor SUBDIR += rexx-imc SUBDIR += rexx-regina SUBDIR += rexx-wrapper SUBDIR += rhino SUBDIR += rscheme SUBDIR += ruby-doc-stdlib SUBDIR += ruby-extensions SUBDIR += ruby-js SUBDIR += ruby-lua SUBDIR += ruby-lua4 SUBDIR += ruby-man SUBDIR += ruby-mode.el SUBDIR += ruby-perl SUBDIR += ruby-programmingruby SUBDIR += ruby-reference SUBDIR += ruby-usersguide SUBDIR += ruby18 SUBDIR += ruby19 SUBDIR += s9fes SUBDIR += sather-specification SUBDIR += sather-tutorial SUBDIR += sbcl SUBDIR += scheme48 SUBDIR += schemetoc SUBDIR += scm SUBDIR += scriba SUBDIR += scsh SUBDIR += sdcc SUBDIR += sdcc-devel SUBDIR += see SUBDIR += see-devel SUBDIR += seed7 SUBDIR += siod SUBDIR += sisc SUBDIR += sketchy SUBDIR += slib SUBDIR += slib-gauche SUBDIR += slib-guile SUBDIR += slisp SUBDIR += smalltalk SUBDIR += smarteiffel SUBDIR += sml-mode.el SUBDIR += sml-nj SUBDIR += sml-nj-devel SUBDIR += snobol4 SUBDIR += spidermonkey SUBDIR += spl SUBDIR += squeak SUBDIR += squirrel SUBDIR += sr SUBDIR += starlogo SUBDIR += steptalk SUBDIR += stklos SUBDIR += stldoc SUBDIR += swi-pl SUBDIR += sxm SUBDIR += t3x SUBDIR += tcc SUBDIR += tcl-manual SUBDIR += tcl-modules SUBDIR += tcl-wrapper SUBDIR += tcl80 SUBDIR += tcl82 SUBDIR += tcl83 SUBDIR += tcl84 SUBDIR += tcl84-thread SUBDIR += tcl85 SUBDIR += tcl85-thread SUBDIR += tcl86 SUBDIR += tcl86-thread SUBDIR += tclX SUBDIR += tcltutor SUBDIR += tinycobol + SUBDIR += tinypy SUBDIR += tolua SUBDIR += tolua++ SUBDIR += tolua++50 SUBDIR += tolua4 SUBDIR += tolua50 SUBDIR += treecc SUBDIR += tuareg-mode.el SUBDIR += twelf SUBDIR += ucc SUBDIR += vala SUBDIR += visualworks SUBDIR += whitespace SUBDIR += xds SUBDIR += xds-c SUBDIR += xotcl SUBDIR += xsb SUBDIR += yabasic SUBDIR += yorick SUBDIR += yorick-doc SUBDIR += ypsilon .include diff --git a/lang/tinypy/Makefile b/lang/tinypy/Makefile new file mode 100644 index 000000000000..aa177dff0653 --- /dev/null +++ b/lang/tinypy/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: tinypy +# Date created: 2009-02-26 +# Whom: Marcin Cieslak +# +# $FreeBSD$ +# + +PORTNAME= tinypy +PORTVERSION= 1.1 +CATEGORIES= lang python +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} + +MAINTAINER= saper@SYSTEM.PL +COMMENT= A minimalist implementation of python in 64k of code + +USE_PYTHON_BUILD= yes +USE_PYDISTUTILS= yes + +PYDISTUTILS_BUILD_TARGET= linux +PYDISTUTILS_NOEGGINFO= yes + +PLIST_FILES= bin/tinypy +PORTEXAMPLES= * + +OPTIONS= PYGAME "Enable PyGame support (requires SDL)" off + +.include + +.if defined(WITH_PYGAME) +PYDISTUTILS_BUILD_TARGET+= pygame +USE_SDL= sdl +.endif + +.include + +post-patch: + @${REINPLACE_CMD} -e 's|-O.||; s|gcc $$WFLAGS|${CC} ${CFLAGS} -std=c89 -Wall|' \ + ${WRKSRC}/setup.py + +do-configure: + @${DO_NADA} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/build/tinypy ${PREFIX}/bin +.if !defined(NOPORTEXAMPLES) && defined(WITH_PYGAME) + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/julia.py ${EXAMPLESDIR} +.endif + +.include diff --git a/lang/tinypy/distinfo b/lang/tinypy/distinfo new file mode 100644 index 000000000000..422e9f9867ff --- /dev/null +++ b/lang/tinypy/distinfo @@ -0,0 +1,3 @@ +MD5 (tinypy-1.1.tar.gz) = 1091300b72fcc1f75cafb91bea92772e +SHA256 (tinypy-1.1.tar.gz) = 858d68d3643614e3646776ad99d5e4ad7cbd6428f44c3acd4cf7b11db1c55b39 +SIZE (tinypy-1.1.tar.gz) = 40632 diff --git a/lang/tinypy/pkg-descr b/lang/tinypy/pkg-descr new file mode 100644 index 000000000000..8f4eebe27c5f --- /dev/null +++ b/lang/tinypy/pkg-descr @@ -0,0 +1,19 @@ +tinypy is a minimalist implementation of python in 64k of code + +it includes a whole heap of features: + + * parser and bytecode compiler written in tinypy + * fully bootstrapped + * luaesque virtual machine with garbage collection written in C + it's "stackless" sans any "stackless" features + * cross-platform :) it runs under windows / linux / macosx + * a fairly decent subset of python + o classes and single inheritance + o functions with variable or keyword arguments + o strings, lists, dicts, numbers + o modules, list comprehensions + o exceptions with full traceback + o some builtins + * batteries not included -- yet + +WWW: http://www.tinypy.org/