aboutsummaryrefslogtreecommitdiffstats
path: root/lang/basic256
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2011-10-11 14:50:56 +0800
committerwen <wen@FreeBSD.org>2011-10-11 14:50:56 +0800
commitd4c88718d4d014a3768402a83e393e95e998949b (patch)
treeaa0c51ab68b92e5b825dd08086235fce1552ea06 /lang/basic256
parent5c4728055634fe75b16bcb4a67404426a8117d01 (diff)
downloadfreebsd-ports-gnome-d4c88718d4d014a3768402a83e393e95e998949b.tar.gz
freebsd-ports-gnome-d4c88718d4d014a3768402a83e393e95e998949b.tar.zst
freebsd-ports-gnome-d4c88718d4d014a3768402a83e393e95e998949b.zip
BASIC-256 is an easy to use version of BASIC designed to teach anybody
(especially middle and high-school students) the basics of computer programming. It uses traditional control structures like gosub, for/next, and goto, which helps kids easily see how program flow-control works. It has a built-in graphics mode which lets them draw pictures on screen in minutes, and a set of detailed, easy-to-follow tutorials that introduce programming concepts through fun exercises. WWW: http://http://www.basic256.org PR: ports/160367 Submitted by: Fernando <fernando.apesteguia@gmail.com>
Diffstat (limited to 'lang/basic256')
-rw-r--r--lang/basic256/Makefile37
-rw-r--r--lang/basic256/distinfo2
-rw-r--r--lang/basic256/files/patch-BASIC256.pro89
-rw-r--r--lang/basic256/files/patch-RunController.cpp11
-rw-r--r--lang/basic256/pkg-descr11
-rw-r--r--lang/basic256/pkg-plist148
6 files changed, 298 insertions, 0 deletions
diff --git a/lang/basic256/Makefile b/lang/basic256/Makefile
new file mode 100644
index 000000000000..835ebdcb221d
--- /dev/null
+++ b/lang/basic256/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: BASIC256
+# Date created: Aug 17 2011
+# Whom: Fernando Apesteguia <fernando.apesteguia@gmail.com>
+#
+# $FreeBSD$
+
+PORTNAME= basic256
+PORTVERSION= 0.9.6.66
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= kidbasic/basic256
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= fernando.apesteguia@gmail.com
+COMMENT= An easy to use BASIC language and IDE for education
+
+BUILD_DEPENDS= espeak:${PORTSDIR}/audio/espeak
+BUILD_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
+BUILD_DEPENDS+= qmake-qt4:${PORTSDIR}/devel/qmake4
+
+WRKSRC= ${WRKDIR}
+
+USE_SDL= sdl mixer
+
+USE_QT_VER= 4
+QT_COMPONENTS= corelib gui network xml webkit moc_build qmake_build rcc_build uic_build
+
+USE_DOS2UNIX= yes
+
+HAS_CONFIGURE= yes
+
+do-configure:
+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
+ ${QMAKE} "PREFIX=${PREFIX}" BASIC256.pro
+
+.include <bsd.port.mk>
diff --git a/lang/basic256/distinfo b/lang/basic256/distinfo
new file mode 100644
index 000000000000..34f7ad46c096
--- /dev/null
+++ b/lang/basic256/distinfo
@@ -0,0 +1,2 @@
+SHA256 (basic256_0.9.6.66.tgz) = db847261c1505ee3814d256cbbd2b37ffb60752cb5cdc4852a395d540c9d8aa9
+SIZE (basic256_0.9.6.66.tgz) = 7644597
diff --git a/lang/basic256/files/patch-BASIC256.pro b/lang/basic256/files/patch-BASIC256.pro
new file mode 100644
index 000000000000..caf2be351114
--- /dev/null
+++ b/lang/basic256/files/patch-BASIC256.pro
@@ -0,0 +1,89 @@
+--- BASIC256.pro.orig 2011-08-26 19:37:38.000000000 +0200
++++ BASIC256.pro 2011-09-03 13:07:27.000000000 +0200
+@@ -62,72 +62,72 @@
+ ## rules for make install
+ examplesDiceFiles.files = ./Examples/dice/*.kbs \
+ ./Examples/dice/*.wav
+- examplesDiceFiles.path = /usr/share/basic256/Examples/dice
++ examplesDiceFiles.path = $$PREFIX/share/basic256/Examples/dice
+ INSTALLS += examplesDiceFiles
+ examplesImgloadFiles.files = ./Examples/imgload/*.kbs \
+ ./Examples/imgload/*.png \
+ ./Examples/imgload/*.bmp
+- examplesImgloadFiles.path = /usr/share/basic256/Examples/imgload
++ examplesImgloadFiles.path = $$PREFIX/share/basic256/Examples/imgload
+ INSTALLS += examplesImgloadFiles
+ examplesNetworkingFiles.files = ./Examples/networking/*.kbs
+- examplesNetworkingFiles.path = /usr/share/basic256/Examples/networking
++ examplesNetworkingFiles.path = $$PREFIX/share/basic256/Examples/networking
+ INSTALLS += examplesNetworkingFiles
+ examplesSpritesFiles.files = ./Examples/sprites/*.kbs \
+ ./Examples/sprites/*.wav \
+ ./Examples/sprites/*.png \
+ ./Examples/sprites/*.bmp
+- examplesSpritesFiles.path = /usr/share/basic256/Examples/sprites
++ examplesSpritesFiles.path = $$PREFIX/share/basic256/Examples/sprites
+ INSTALLS += examplesSpritesFiles
+ examplesTestingFiles.files = ./Examples/testing/*.kbs
+- examplesTestingFiles.path = /usr/share/basic256/Examples/testing
++ examplesTestingFiles.path = $$PREFIX/share/basic256/Examples/testing
+ INSTALLS += examplesTestingFiles
+ examplesFiles.files = ./Examples/*.kbs
+- examplesFiles.path = /usr/share/basic256/Examples
++ examplesFiles.path = $$PREFIX/share/basic256/Examples
+ INSTALLS += examplesFiles
+ transFiles.files = ./Translations/*.qm
+- transFiles.path = /usr/share/basic256
++ transFiles.path = $$PREFIX/share/basic256
+ INSTALLS += transFiles
+ # EN - english help files
+ helpENFiles.files = ../doc/help/en/*.html \
+ ./help/en/*.css \
+ ./help/en/*.png \
+ ./help/en/*.jpg
+- helpENFiles.path = /usr/share/basic256/help/en
++ helpENFiles.path = $$PREFIX/share/basic256/help/en
+ INSTALLS += helpENFiles
+ # DE - german help files
+ helpDEFiles.files = ../doc/help/de/*.html \
+ ./help/de/*.css \
+ ./help/de/*.png \
+ ./help/de/*.jpg
+- helpDEFiles.path = /usr/share/basic256/help/de
++ helpDEFiles.path = $$PREFIX/share/basic256/help/de
+ INSTALLS += helpDEFiles
+ # ES - spanish help files
+ helpESFiles.files = ../doc/help/es/*.html \
+ ./help/es/*.css \
+ ./help/es/*.png \
+ ./help/es/*.jpg
+- helpESFiles.path = /usr/share/basic256/help/es
++ helpESFiles.path = $$PREFIX/share/basic256/help/es
+ INSTALLS += helpESFiles
+ # FR - french help files
+ helpFRFiles.files = ../doc/help/fr/*.html \
+ ./help/fr/*.css \
+ ./help/fr/*.png \
+ ./help/fr/*.jpg
+- helpFRFiles.path = /usr/share/basic256/help/fr
++ helpFRFiles.path = $$PREFIX/share/basic256/help/fr
+ INSTALLS += helpFRFiles
+ # RU - russian help files
+ helpRUFiles.files = ../doc/help/ru/*.html \
+ ./help/ru/*.css \
+ ./help/ru/*.png \
+ ./help/ru/*.jpg
+- helpRUFiles.path = /usr/share/basic256/help/ru
++ helpRUFiles.path = $$PREFIX/share/basic256/help/ru
+ INSTALLS += helpRUFiles
+ # all language translation files
+ transFiles.files = ./Translations/*.qm
+- transFiles.path = /usr/share/basic256
++ transFiles.path = $$PREFIX/share/basic256
+ INSTALLS += transFiles
+ # main program executable
+- target.path = /usr/local/bin
++ target.path = $$PREFIX/bin
+ INSTALLS += target
+
+ }
diff --git a/lang/basic256/files/patch-RunController.cpp b/lang/basic256/files/patch-RunController.cpp
new file mode 100644
index 000000000000..441fb262ec32
--- /dev/null
+++ b/lang/basic256/files/patch-RunController.cpp
@@ -0,0 +1,11 @@
+--- RunController.cpp.orig 2011-08-28 20:02:12.000000000 +0200
++++ RunController.cpp 2011-08-28 20:02:22.000000000 +0200
+@@ -56,7 +56,7 @@
+
+
+ #ifdef LINUX_ESPEAK
+- #include <speak_lib.h>
++ #include <espeak/speak_lib.h>
+ #endif
+
+ #ifdef LINUX_FLITE
diff --git a/lang/basic256/pkg-descr b/lang/basic256/pkg-descr
new file mode 100644
index 000000000000..2ac3aaac3c03
--- /dev/null
+++ b/lang/basic256/pkg-descr
@@ -0,0 +1,11 @@
+BASIC-256 is an easy to use version of BASIC designed to teach anybody
+(especially middle and high-school students) the basics of computer
+programming.
+
+It uses traditional control structures like gosub, for/next, and goto,
+which helps kids easily see how program flow-control works. It has a
+built-in graphics mode which lets them draw pictures on screen in
+minutes, and a set of detailed, easy-to-follow tutorials that
+introduce programming concepts through fun exercises.
+
+WWW: http://http://www.basic256.org
diff --git a/lang/basic256/pkg-plist b/lang/basic256/pkg-plist
new file mode 100644
index 000000000000..7aa639000900
--- /dev/null
+++ b/lang/basic256/pkg-plist
@@ -0,0 +1,148 @@
+bin/BASIC256
+share/basic256/Examples/dice/dice.kbs
+share/basic256/Examples/dice/dicewood.wav
+share/basic256/Examples/imgload/animatedhelp.kbs
+share/basic256/Examples/imgload/imgload.kbs
+share/basic256/Examples/imgload/rotate.kbs
+share/basic256/Examples/imgload/help.png
+share/basic256/Examples/imgload/test.bmp
+share/basic256/Examples/networking/netclient.kbs
+share/basic256/Examples/networking/netgethomepage.kbs
+share/basic256/Examples/networking/netgetmany.kbs
+share/basic256/Examples/networking/netgoogle.kbs
+share/basic256/Examples/networking/netserver.kbs
+share/basic256/Examples/sprites/bounce.kbs
+share/basic256/Examples/sprites/breakout.kbs
+share/basic256/Examples/sprites/spriteslice.kbs
+share/basic256/Examples/sprites/spritetest1.kbs
+share/basic256/Examples/sprites/spritetest2.kbs
+share/basic256/Examples/sprites/spritetest3.kbs
+share/basic256/Examples/sprites/3062__SpeedY__bleep.wav
+share/basic256/Examples/sprites/4359__NoiseCollector__PongBlipF4.wav
+share/basic256/Examples/sprites/4361__NoiseCollector__pongblipA_3.wav
+share/basic256/Examples/sprites/ball.png
+share/basic256/Examples/sprites/block.png
+share/basic256/Examples/sprites/help.png
+share/basic256/Examples/sprites/paddle.png
+share/basic256/Examples/sprites/test.bmp
+share/basic256/Examples/testing/2darraytest.kbs
+share/basic256/Examples/testing/2dstrarraytest.kbs
+share/basic256/Examples/testing/arraylistassign.kbs
+share/basic256/Examples/testing/beautifytest.kbs
+share/basic256/Examples/testing/counttest.kbs
+share/basic256/Examples/testing/explodetest.kbs
+share/basic256/Examples/testing/fontdemo.kbs
+share/basic256/Examples/testing/input_numeric_test.kbs
+share/basic256/Examples/testing/input_string_test.kbs
+share/basic256/Examples/testing/instrtest.kbs
+share/basic256/Examples/testing/KalRGB.kbs
+share/basic256/Examples/testing/random_one.kbs
+share/basic256/Examples/testing/replacetest.kbs
+share/basic256/Examples/testing/tes_oo.kbs
+share/basic256/Examples/testing/test_dountil.kbs
+share/basic256/Examples/testing/test_logicalops.kbs
+share/basic256/Examples/testing/test_multiline_if.kbs
+share/basic256/Examples/testing/test_slice.kbs
+share/basic256/Examples/testing/test_while_loops.kbs
+share/basic256/Examples/testing/testchr.kbs
+share/basic256/Examples/testing/testimagesave.kbs
+share/basic256/Examples/testing/testlineio.kbs
+share/basic256/Examples/testing/testmath.kbs
+share/basic256/Examples/testing/testmodulo.kbs
+share/basic256/Examples/testing/testtextfont.kbs
+share/basic256/Examples/testing/testtime.kbs
+share/basic256/Examples/testing/uaarray.kbs
+share/basic256/Examples/15puzzle.kbs
+share/basic256/Examples/arrays.kbs
+share/basic256/Examples/ballaccel.kbs
+share/basic256/Examples/ballanim.kbs
+share/basic256/Examples/basic256_icon.kbs
+share/basic256/Examples/BASICtest1.kbs
+share/basic256/Examples/card_suites.kbs
+share/basic256/Examples/cards_deal5.kbs
+share/basic256/Examples/checkerboard.kbs
+share/basic256/Examples/collision.kbs
+share/basic256/Examples/collision3.kbs
+share/basic256/Examples/databasefoo.kbs
+share/basic256/Examples/db_quote.kbs
+share/basic256/Examples/errortrapping.kbs
+share/basic256/Examples/hangman.kbs
+share/basic256/Examples/hello.kbs
+share/basic256/Examples/mandelbrot.kbs
+share/basic256/Examples/mousedoodle.kbs
+share/basic256/Examples/moving_squares.kbs
+share/basic256/Examples/paddle.kbs
+share/basic256/Examples/ping.kbs
+share/basic256/Examples/plot.kbs
+share/basic256/Examples/plot2.kbs
+share/basic256/Examples/poly.kbs
+share/basic256/Examples/polytest.kbs
+share/basic256/Examples/quotations.kbs
+share/basic256/Examples/rainbow.kbs
+share/basic256/Examples/ring_01.kbs
+share/basic256/Examples/rotating3dcube.kbs
+share/basic256/Examples/sliceanimation.kbs
+share/basic256/Examples/snowflakes.kbs
+share/basic256/Examples/sqrt.kbs
+share/basic256/Examples/stamp.kbs
+share/basic256/Examples/stamp_flower.kbs
+share/basic256/Examples/story.kbs
+share/basic256/Examples/tictactoe.kbs
+share/basic256/Examples/tictactoe_comp.kbs
+share/basic256/Examples/trig.kbs
+share/basic256/Examples/uniformRV.kbs
+share/basic256/basic256_de.qm
+share/basic256/basic256_en_US.qm
+share/basic256/basic256_es.qm
+share/basic256/basic256_nl.qm
+share/basic256/basic256_ru_RU.qm
+share/basic256/help/en/style.css
+share/basic256/help/en/cir.png
+share/basic256/help/en/color.png
+share/basic256/help/en/fonttext.png
+share/basic256/help/en/line.png
+share/basic256/help/en/poly.png
+share/basic256/help/en/rect.png
+share/basic256/help/en/stamp.png
+share/basic256/help/en/cos.jpg
+share/basic256/help/en/sin.jpg
+share/basic256/help/en/tan.jpg
+share/basic256/help/de/style.css
+share/basic256/help/de/fonttext.png
+share/basic256/help/de/stamp.png
+share/basic256/help/es/style.css
+share/basic256/help/es/cir.png
+share/basic256/help/es/color.png
+share/basic256/help/es/fonttext.png
+share/basic256/help/es/line.png
+share/basic256/help/es/poly.png
+share/basic256/help/es/rect.png
+share/basic256/help/es/stamp.png
+share/basic256/help/es/cos.jpg
+share/basic256/help/es/sin.jpg
+share/basic256/help/es/tan.jpg
+share/basic256/help/fr/style.css
+share/basic256/help/fr/cir.png
+share/basic256/help/fr/color.png
+share/basic256/help/fr/fonttext.png
+share/basic256/help/fr/line.png
+share/basic256/help/fr/poly.png
+share/basic256/help/fr/rect.png
+share/basic256/help/fr/stamp.png
+share/basic256/help/fr/cos.jpg
+share/basic256/help/fr/sin.jpg
+share/basic256/help/fr/tan.jpg
+share/basic256/help/ru/style.css
+@dirrm share/basic256/Examples/dice/
+@dirrm share/basic256/Examples/imgload/
+@dirrm share/basic256/Examples/networking/
+@dirrm share/basic256/Examples/sprites/
+@dirrm share/basic256/Examples/testing/
+@dirrm share/basic256/Examples/
+@dirrm share/basic256/help/en/
+@dirrm share/basic256/help/de/
+@dirrm share/basic256/help/es/
+@dirrm share/basic256/help/fr/
+@dirrm share/basic256/help/ru/
+@dirrm share/basic256/help/
+@dirrm share/basic256/