summaryrefslogtreecommitdiff
path: root/lang/basic256
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2011-11-23 01:19:00 +0000
committerryoon <ryoon@pkgsrc.org>2011-11-23 01:19:00 +0000
commit3caa7f7f731a4f140bd74d69d6d3d7447c9c5b1c (patch)
treedc14cc571c2b76e737e14c94ac04038212e4b177 /lang/basic256
parentf6726943c82d6b9bb23665ac86871d8bdca1a1a2 (diff)
downloadpkgsrc-3caa7f7f731a4f140bd74d69d6d3d7447c9c5b1c.tar.gz
Import basic256-0.9.6.66 as lang/basic256
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.
Diffstat (limited to 'lang/basic256')
-rw-r--r--lang/basic256/DESCR8
-rw-r--r--lang/basic256/Makefile48
-rw-r--r--lang/basic256/PLIST136
-rw-r--r--lang/basic256/distinfo5
4 files changed, 197 insertions, 0 deletions
diff --git a/lang/basic256/DESCR b/lang/basic256/DESCR
new file mode 100644
index 00000000000..448a0c339f1
--- /dev/null
+++ b/lang/basic256/DESCR
@@ -0,0 +1,8 @@
+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.
diff --git a/lang/basic256/Makefile b/lang/basic256/Makefile
new file mode 100644
index 00000000000..5da24f580ba
--- /dev/null
+++ b/lang/basic256/Makefile
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/11/23 01:19:00 ryoon Exp $
+#
+
+DISTNAME= basic256_0.9.6.66
+PKGNAME= ${DISTNAME:S/_/-/}
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kidbasic/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.basic256.org/
+COMMENT= TODO: Short description of the package
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+MAKE_JOBS_SAFE= no
+
+WRKSRC= ${WRKDIR}
+USE_LANGUAGES= c c++
+USE_TOOLS+= bison flex gmake
+
+SUBST_CLASSES+= fix-path
+SUBST_STAGE.fix-path= pre-configure
+SUBST_MESSAGE.fix-path= Fix hard coded pathes for qt4
+SUBST_FILES.fix-path= Makefile
+SUBST_FILES.fix-path+= Makefile.Release
+SUBST_SED.fix-path= -e 's,/usr/share,${PREFIX},g'
+SUBST_SED.fix-path+= -e 's,/usr/bin/qmake,${QTDIR}/bin/qmake,'
+SUBST_SED.fix-path+= -e 's,/usr/bin/moc-qt4,${QTDIR}/bin/moc,'
+SUBST_SED.fix-path+= -e 's,/usr/bin/rcc,${QTDIR}/bin/rcc,'
+SUBST_SED.fix-path+= -e 's,-I/usr/include/qt4,-I${QTDIR}/include,g'
+
+SUBST_CLASSES+= fix-path2
+SUBST_STAGE.fix-path2= pre-configure
+SUBST_MESSAGE.fix-path2= Fix hard coded pathes
+SUBST_FILES.fix-path2+= BASIC256.pro
+SUBST_SED.fix-path2= -e 's,/usr/share,${PREFIX}/share,g'
+SUBST_SED.fix-path2+= -e 's,/usr/local,${PREFIX},g'
+
+MAKE_ENV+= INSTALL_ROOT=${DESTDIR}
+
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../audio/espeak/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/basic256/PLIST b/lang/basic256/PLIST
new file mode 100644
index 00000000000..5e37314049b
--- /dev/null
+++ b/lang/basic256/PLIST
@@ -0,0 +1,136 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/11/23 01:19:00 ryoon Exp $
+bin/BASIC256
+share/basic256/Examples/15puzzle.kbs
+share/basic256/Examples/BASICtest1.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/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/dice/dice.kbs
+share/basic256/Examples/dice/dicewood.wav
+share/basic256/Examples/errortrapping.kbs
+share/basic256/Examples/hangman.kbs
+share/basic256/Examples/hello.kbs
+share/basic256/Examples/imgload/animatedhelp.kbs
+share/basic256/Examples/imgload/help.png
+share/basic256/Examples/imgload/imgload.kbs
+share/basic256/Examples/imgload/rotate.kbs
+share/basic256/Examples/imgload/test.bmp
+share/basic256/Examples/mandelbrot.kbs
+share/basic256/Examples/mousedoodle.kbs
+share/basic256/Examples/moving_squares.kbs
+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/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/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/bounce.kbs
+share/basic256/Examples/sprites/breakout.kbs
+share/basic256/Examples/sprites/help.png
+share/basic256/Examples/sprites/paddle.png
+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/test.bmp
+share/basic256/Examples/sqrt.kbs
+share/basic256/Examples/stamp.kbs
+share/basic256/Examples/stamp_flower.kbs
+share/basic256/Examples/story.kbs
+share/basic256/Examples/testing/2darraytest.kbs
+share/basic256/Examples/testing/2dstrarraytest.kbs
+share/basic256/Examples/testing/KalRGB.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/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/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/de/fonttext.png
+share/basic256/help/de/stamp.png
+share/basic256/help/de/style.css
+share/basic256/help/en/cir.png
+share/basic256/help/en/color.png
+share/basic256/help/en/cos.jpg
+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/sin.jpg
+share/basic256/help/en/stamp.png
+share/basic256/help/en/style.css
+share/basic256/help/en/tan.jpg
+share/basic256/help/es/cir.png
+share/basic256/help/es/color.png
+share/basic256/help/es/cos.jpg
+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/sin.jpg
+share/basic256/help/es/stamp.png
+share/basic256/help/es/style.css
+share/basic256/help/es/tan.jpg
+share/basic256/help/fr/cir.png
+share/basic256/help/fr/color.png
+share/basic256/help/fr/cos.jpg
+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/sin.jpg
+share/basic256/help/fr/stamp.png
+share/basic256/help/fr/style.css
+share/basic256/help/fr/tan.jpg
+share/basic256/help/ru/style.css
diff --git a/lang/basic256/distinfo b/lang/basic256/distinfo
new file mode 100644
index 00000000000..4c9f562831b
--- /dev/null
+++ b/lang/basic256/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/11/23 01:19:00 ryoon Exp $
+
+SHA1 (basic256_0.9.6.66.tgz) = 76234f3e38a636d17699af4bbfda6383238162af
+RMD160 (basic256_0.9.6.66.tgz) = ec64861ec287d848d48d924d68caee24fbd031bf
+Size (basic256_0.9.6.66.tgz) = 7644597 bytes