Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2012 17:36:21 +0000 (UTC)
From:      Ruslan Mahmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305734 - in head/lang/basic256: . files
Message-ID:  <201210111736.q9BHaLN9059623@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Thu Oct 11 17:36:21 2012
New Revision: 305734
URL: http://svn.freebsd.org/changeset/ports/305734

Log:
  - update to 0.9.9.1
  - add build dependencies on bison and flex
  
  while here:
  - trim Makefile header
  - remove redundant tabs in Makefile
  - use SF shortcut in MASTER_SITES
  - remove indefinite article from COMMENT
  - remove exclicit dependency on qmake, since it is already defined in USE_QT4
  - change BUILD_DEPENDS usage to more common
  - remove trailing whitespace in pkg-descr
  
  PR:		172583
  Submitted by:	Fernando <fernando.apesteguia at gmail dot com> (maintainer)
  Feature safe:	yes

Added:
  head/lang/basic256/files/patch-Stack.cpp   (contents, props changed)
Modified:
  head/lang/basic256/Makefile
  head/lang/basic256/distinfo
  head/lang/basic256/pkg-descr
  head/lang/basic256/pkg-plist

Modified: head/lang/basic256/Makefile
==============================================================================
--- head/lang/basic256/Makefile	Thu Oct 11 16:42:58 2012	(r305733)
+++ head/lang/basic256/Makefile	Thu Oct 11 17:36:21 2012	(r305734)
@@ -1,33 +1,28 @@
-# New ports collection makefile for:	BASIC256
-# Date created:                Aug 17 2011
-# Whom:                        Fernando Apesteguia <fernando.apesteguia@gmail.com>
-#
+# Created by: Fernando Apesteguia <fernando.apesteguia@gmail.com>
 # $FreeBSD$
 
-PORTNAME=		basic256
-PORTVERSION=		0.9.6.69a
-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_QT4=		corelib gui network xml webkit moc_build qmake_build rcc_build uic_build
-
-USE_DOS2UNIX=		yes
-
-HAS_CONFIGURE=		yes
+PORTNAME=	basic256
+PORTVERSION=	0.9.9.1
+CATEGORIES=	lang
+MASTER_SITES=	SF
+MASTER_SITE_SUBDIR=	kidbasic/${PORTNAME}
+DISTNAME=	${PORTNAME}_${PORTVERSION}
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	fernando.apesteguia@gmail.com
+COMMENT=	Easy to use BASIC language and IDE for education
+
+BUILD_DEPENDS=	espeak:${PORTSDIR}/audio/espeak \
+		sqlite3:${PORTSDIR}/databases/sqlite3 \
+		flex:${PORTSDIR}/textproc/flex
+
+WRKSRC=		${WRKDIR}
+
+USE_BISON=	build
+USE_SDL=	sdl mixer
+USE_QT4=	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} \

Modified: head/lang/basic256/distinfo
==============================================================================
--- head/lang/basic256/distinfo	Thu Oct 11 16:42:58 2012	(r305733)
+++ head/lang/basic256/distinfo	Thu Oct 11 17:36:21 2012	(r305734)
@@ -1,2 +1,2 @@
-SHA256 (basic256_0.9.6.69a.tgz) = 38a2246081d6d5572aeffe737ac4db4575f656705ee4479d4322e8bdd45f9140
-SIZE (basic256_0.9.6.69a.tgz) = 15708072
+SHA256 (basic256_0.9.9.1.tgz) = cb959497b8576c790731eea0898855612f444f7a84bc743a9aae14680f40e372
+SIZE (basic256_0.9.9.1.tgz) = 7938684

Added: head/lang/basic256/files/patch-Stack.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/basic256/files/patch-Stack.cpp	Thu Oct 11 17:36:21 2012	(r305734)
@@ -0,0 +1,12 @@
+--- Stack.cpp.orig	2012-10-09 17:42:07.000000000 +0200
++++ Stack.cpp	2012-10-09 17:42:30.000000000 +0200
+@@ -53,7 +53,8 @@
+ int Stack::height()
+ {
+ 	// return the height of the stack in elements
+-	return ((unsigned int) top - (unsigned int) bottom)/sizeof(stackval);
++       // magic of pointer math returns number of elements
++       return ((int) (top - bottom));
+ }
+ 
+ void

Modified: head/lang/basic256/pkg-descr
==============================================================================
--- head/lang/basic256/pkg-descr	Thu Oct 11 16:42:58 2012	(r305733)
+++ head/lang/basic256/pkg-descr	Thu Oct 11 17:36:21 2012	(r305734)
@@ -1,11 +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 
+(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 
+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://www.basic256.org

Modified: head/lang/basic256/pkg-plist
==============================================================================
--- head/lang/basic256/pkg-plist	Thu Oct 11 16:42:58 2012	(r305733)
+++ head/lang/basic256/pkg-plist	Thu Oct 11 17:36:21 2012	(r305734)
@@ -1,10 +1,13 @@
 bin/BASIC256
 share/basic256/Examples/15puzzle.kbs
+share/basic256/Examples/15puzzle_new.kbs
 share/basic256/Examples/BASICtest1.kbs
 share/basic256/Examples/arrays.kbs
 share/basic256/Examples/ballaccel.kbs
+share/basic256/Examples/ballaccel_2.kbs
 share/basic256/Examples/ballanim.kbs
 share/basic256/Examples/basic256_icon.kbs
+share/basic256/Examples/basic256_icon_V1.kbs
 share/basic256/Examples/card_suites.kbs
 share/basic256/Examples/cards_deal5.kbs
 share/basic256/Examples/checkerboard.kbs
@@ -13,8 +16,11 @@ 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/dice_2.kbs
 share/basic256/Examples/dice/dicewood.wav
 share/basic256/Examples/errortrapping.kbs
+share/basic256/Examples/function_factorial.kbs
+share/basic256/Examples/function_randint.kbs
 share/basic256/Examples/hangman.kbs
 share/basic256/Examples/hello.kbs
 share/basic256/Examples/imgload/animatedhelp.kbs
@@ -60,6 +66,8 @@ share/basic256/Examples/sqrt.kbs
 share/basic256/Examples/stamp.kbs
 share/basic256/Examples/stamp_flower.kbs
 share/basic256/Examples/story.kbs
+share/basic256/Examples/subroutine_global.kbs
+share/basic256/Examples/subroutine_squares.kbs
 share/basic256/Examples/testing/2darraytest.kbs
 share/basic256/Examples/testing/2dstrarraytest.kbs
 share/basic256/Examples/testing/KalRGB.kbs
@@ -132,12 +140,6 @@ 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/cir.png
-share/basic256/help/ru/color.png
-share/basic256/help/ru/fonttext.png
-share/basic256/help/ru/poly.png
-share/basic256/help/ru/radians.png
-share/basic256/help/ru/stamp.png
 share/basic256/help/ru/style.css
 @dirrm share/basic256/help/ru
 @dirrm share/basic256/help/fr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210111736.q9BHaLN9059623>