pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/wsbasic Import wsbasic from pkgsrc-wip. Packaged...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f28cfc824484
branches: trunk
changeset: 501219:f28cfc824484
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Oct 19 03:36:03 2005 +0000
description:
Import wsbasic from pkgsrc-wip. Packaged by Geert Hendrickx.
WSBasic is a BASIC interpreter written entirely in C++ without the use
of lex or yacc.
diffstat:
lang/wsbasic/DESCR | 7 +++++++
lang/wsbasic/Makefile | 23 +++++++++++++++++++++++
lang/wsbasic/PLIST | 25 +++++++++++++++++++++++++
lang/wsbasic/distinfo | 6 ++++++
lang/wsbasic/patches/patch-aa | 12 ++++++++++++
5 files changed, 73 insertions(+), 0 deletions(-)
diffs (93 lines):
diff -r 6bdc7114616d -r f28cfc824484 lang/wsbasic/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/wsbasic/DESCR Wed Oct 19 03:36:03 2005 +0000
@@ -0,0 +1,7 @@
+WSBasic is a BASIC interpreter written entirely in C++ without the use
+of lex or yacc. It shows how one can create a compiler or interpreter
+using some simple classes to parse and/or execute script code. It is
+a good way to fully understand how a parser/compiler actually works,
+at least that was the original purpose of this project. Later the
+ability to run shell commands was added just like in bash scripting
+and this gives the project also some nice practical use.
diff -r 6bdc7114616d -r f28cfc824484 lang/wsbasic/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/wsbasic/Makefile Wed Oct 19 03:36:03 2005 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/19 03:36:03 minskim Exp $
+
+DISTNAME= wsbasic-1_2_4
+PKGNAME= ${DISTNAME:S/_/./g}
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wsbasic/}
+
+MAINTAINER= geert.hendrickx%ua.ac.be@localhost
+HOMEPAGE= http://wsbasic.sourceforge.net/
+COMMENT= Simple BASIC interpreter
+
+SUBST_CLASSES+= interpreter
+SUBST_STAGE.interpreter= pre-install
+SUBST_FILES.interpreter= scripts/*.b
+SUBST_SED.interpreter= -e 's,^\#!\.\./wsbasic,\#!${PREFIX}/bin/wsbasic,'
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wsbasic ${PREFIX}/bin/
+ ${INSTALL_SCRIPT_DIR} ${PREFIX}/share/wsbasic
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.b ${PREFIX}/share/wsbasic/
+ ${INSTALL_DATA} ${WRKSRC}/scripts/*.txt ${PREFIX}/share/wsbasic/
+
+.include "../../mk/bsd.pkg.mk"
diff -r 6bdc7114616d -r f28cfc824484 lang/wsbasic/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/wsbasic/PLIST Wed Oct 19 03:36:03 2005 +0000
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/19 03:36:03 minskim Exp $
+bin/wsbasic
+share/wsbasic/add.b
+share/wsbasic/argtest.b
+share/wsbasic/assigns.b
+share/wsbasic/changepath.b
+share/wsbasic/datatest.b
+share/wsbasic/dir-foreach.b
+share/wsbasic/dir.b
+share/wsbasic/foreach.b
+share/wsbasic/forloops.b
+share/wsbasic/functions.b
+share/wsbasic/ifs.b
+share/wsbasic/input.b
+share/wsbasic/mail-content.txt
+share/wsbasic/mail-list.txt
+share/wsbasic/mailto.b
+share/wsbasic/modtest.b
+share/wsbasic/post_ip.b
+share/wsbasic/rantest.b
+share/wsbasic/runtest.b
+share/wsbasic/speed2.b
+share/wsbasic/strings.b
+share/wsbasic/while.b
+@dirrm share/wsbasic
diff -r 6bdc7114616d -r f28cfc824484 lang/wsbasic/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/wsbasic/distinfo Wed Oct 19 03:36:03 2005 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/19 03:36:03 minskim Exp $
+
+SHA1 (wsbasic-1_2_4.tar.gz) = 5470c247fcdf7d3940d51f824d549c40495b60a5
+RMD160 (wsbasic-1_2_4.tar.gz) = 022c80019a5f6c85073d3a7386b51b41ff9285fe
+Size (wsbasic-1_2_4.tar.gz) = 20850 bytes
+SHA1 (patch-aa) = 0758724f05585c357a530b8979e56f6e15584493
diff -r 6bdc7114616d -r f28cfc824484 lang/wsbasic/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/wsbasic/patches/patch-aa Wed Oct 19 03:36:03 2005 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/10/19 03:36:03 minskim Exp $
+
+--- Makefile.orig 2005-01-28 02:40:58.000000000 +0100
++++ Makefile
+@@ -1,5 +1,6 @@
+-CXX = g++
++CXX ?= g++
+ FLAGS = -O2 -Wall #-D_DEBUG_
++FLAGS += $(CXXFLAGS)
+ INSTALL_DIR = /usr/local/bin/
+ RELEASE = 1_2_4
+
Home |
Main Index |
Thread Index |
Old Index